* How to use 2 ethernet interfaces ?
@ 1995-12-29 5:00 Alain Martineau
1996-01-03 5:00 ` Alain Martineau
0 siblings, 1 reply; 2+ messages in thread
From: Alain Martineau @ 1995-12-29 5:00 UTC (permalink / raw)
I am trying to set a server with two ethernet interfaces. Ideally the
clients would try one or the other to connect. Each is connected to a
different IP subnet, and the clients are on yet another one subnet. My
problem is that when I disconnect one, the other is not reacheable from
the clients, whether or not I run gated or routed or nothing. Also the
disconnected interface never seems to be marked down. Anybody could give
me a lead on this ? Thanks.
--
--
Alain Martineau
Hydro Quebec
amartineau@ccr.hydro.qc.ca
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to use 2 ethernet interfaces ?
1995-12-29 5:00 How to use 2 ethernet interfaces ? Alain Martineau
@ 1996-01-03 5:00 ` Alain Martineau
0 siblings, 0 replies; 2+ messages in thread
From: Alain Martineau @ 1996-01-03 5:00 UTC (permalink / raw)
In article <amartineau-2912951412570001@macmartineau.ccr.hydro.qc.ca>,
amartineau@ccr.hydro.qc.ca (Alain Martineau) wrote:
> I am trying to set a server with two ethernet interfaces. Ideally the
> clients would try one or the other to connect. Each is connected to a
> different IP subnet, and the clients are on yet another one subnet. My
> problem is that when I disconnect one, the other is not reacheable from
> the clients, whether or not I run gated or routed or nothing. Also the
> disconnected interface never seems to be marked down. Anybody could give
> me a lead on this ? Thanks.
I realize this is not clear enough, so, more details:
host1 host2
| | | |
|-+-|--+------+---+-|--| network 201.102.21.0
|---+--|-+----|-+---+--| network 201.102.22.0
| | | |
routera routerb
| |
|-------+------+----+---| network 131.195.0.0, subnet 131.195.141.0
| subnet mask 255.255.255.0
hosta
On host1, the interfaces are configured as follows:
# ifconfig ln0
ln0: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING>
inet 201.102.21.11 netmask ffffff00 broadcast 201.102.21.255 ipmtu 1500
# ifconfig ln1
ln1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING>
inet 201.102.22.11 netmask ffffff00 broadcast 201.102.22.255 ipmtu 1500
(Don't try, they are not reachable from the Internet)
When both interfaces on host1 are connected, anyone can ping anyone. When
I unplug
let's say ln1, ln0 can't be pinged ( or connected to in any sort of way ) from
the same net ( host2 for instance, or the routers ), but not from any
outsider, i.e. hosta. Even a connection that was opened before freezes. I
tried to run gated to implement some kind of routing inside the host1 and
host2 servers but the unplugged interface never comes down. I have seen it
starting to work once about 7 minutes after the unplugging. But I cannot
repeat even this poor achievement consistently. Most of the time a netstat
-rn will freeze and never return anything when one interface is unplugged.
What I try to do is have some sort of redundancy over network failures. It
should be quick to be useful.
DECnet used to do this naturally, moving to TCP/IP is no progress in this
situation.
Another way to achieve this might be to open the connections from host1
and host2 by specifying the local interface in the opening call, but I
can't find a way to do this. Anyone knows how ?
--
Alain Martineau
Hydro Quebec
amartineau@ccr.hydro.qc.ca
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-01-03 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-29 5:00 How to use 2 ethernet interfaces ? Alain Martineau
1996-01-03 5:00 ` Alain Martineau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox