public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Ethernet NIC dual homing
@ 2001-10-28 17:23 Laurent Deniel
  2001-10-29 13:24 ` Martin Eriksson
  0 siblings, 1 reply; 21+ messages in thread
From: Laurent Deniel @ 2001-10-28 17:23 UTC (permalink / raw)
  To: linux-kernel


Hi,

Does someone know if there is some work in the area of NIC dual homing ?
By NIC dual homing, I mean two network devices (e.g. Ethernet) that are
connected to the same IP subnet but only one is active (at IP level) at a 
time. When a faulty condition is detected (e.g. link down or lack of I/O),
the kernel switches to the second NIC. Such a similar feature exists in
Tru64 UNIX (NetRAIN), HP-UX (APA) and Solaris (Sun Cluster pnmd).
What is the best way to handle that in Linux ? I thought about an IP virtual
device that could be mapped on two eternet NIC and some ioctl to switch from
one NIC to another or a generic virtual ethernet driver that could handle two
real ethernet drivers ?

Laurent

PS: please CC to me since I do not read lkml at a regular basis. TIA.

^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <Pine.LNX.4.10.10110281248320.5138-100000@coffee.psychology.mcmaster.ca>]
[parent not found: <Pine.LNX.4.10.10110281727070.5138-100000@coffee.psychology.mcmaster.ca>]
* Re: Ethernet NIC dual homing
@ 2001-10-29 13:39 willy tarreau
  2001-10-29 19:59 ` Laurent Deniel
  0 siblings, 1 reply; 21+ messages in thread
From: willy tarreau @ 2001-10-29 13:39 UTC (permalink / raw)
  To: Laurent Deniel; +Cc: linux-kernel

Hi Laurent,

> Does someone know if there is some work in the area
of NIC
> dual homing ?

I have implemented this for 2.2 kernel a while ago,
and Chad
Tindel has completed the port to 2.4. Some other
contributors
have added features such as XOR distribution. You can
take
a look at it, kernel 2.4 patches are on :

   http://sf.net/projects/bonding/

and 2.2 patches are on :

 
http://www-miaif.lip6.fr/willy/linux-patches/bonding/

Regards,
Willy


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Courrier : http://courrier.yahoo.fr

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Ethernet NIC dual homing
@ 2001-10-30 11:05 Chemolli Francesco (USI)
  2001-10-30 11:33 ` Alan Cox
  0 siblings, 1 reply; 21+ messages in thread
From: Chemolli Francesco (USI) @ 2001-10-30 11:05 UTC (permalink / raw)
  To: 'Laurent Deniel', linux-kernel

> Hi,
> 
> Does someone know if there is some work in the area of NIC 
> dual homing ?
> By NIC dual homing, I mean two network devices (e.g. 
> Ethernet) that are
> connected to the same IP subnet but only one is active (at IP 
> level) at a 
> time.
[...]

Intel eepro100 cards, using Intel drivers (e100) and the ANS subsystem
(all available from Intel for free - as in beer) allow this
at the kernel-level, using link-detection to determine whether
to fail over.
They allow for failover, dual-active (only when sending) and Fast
EtherChannel.


Generally speaking, it shouldn't be hard to do it.
A shell script would be inefficient computation-wise, but should be simple
and
quite reliable: arping your default gateway and if it fails more than
X times ifconfig down; ifconfig up.

-- 
	/kinkie 

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: Ethernet NIC dual homing
@ 2001-10-30 11:14 Chemolli Francesco (USI)
  0 siblings, 0 replies; 21+ messages in thread
From: Chemolli Francesco (USI) @ 2001-10-30 11:14 UTC (permalink / raw)
  To: 'Laurent Deniel', linux-kernel

> Intel eepro100 cards, using Intel drivers (e100) and the ANS subsystem
> (all available from Intel for free - as in beer) allow this

Sorry to follow myself up.
I've re-checked the license, it seems to be BSD-ish (with copyright
publicity requirement clause), so they're free or not depending on
whom you ask to.

-- 
	/kinkie

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2001-10-30 15:30 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-28 17:23 Ethernet NIC dual homing Laurent Deniel
2001-10-29 13:24 ` Martin Eriksson
     [not found] <Pine.LNX.4.10.10110281248320.5138-100000@coffee.psychology.mcmaster.ca>
2001-10-28 22:23 ` Laurent Deniel
     [not found] <Pine.LNX.4.10.10110281727070.5138-100000@coffee.psychology.mcmaster.ca>
2001-10-28 22:42 ` Laurent Deniel
  -- strict thread matches above, loose matches on Subject: below --
2001-10-29 13:39 willy tarreau
2001-10-29 19:59 ` Laurent Deniel
2001-10-29 22:17   ` Laurent Deniel
2001-10-29 22:32     ` willy tarreau
2001-10-29 22:26   ` willy tarreau
2001-10-29 22:59     ` Christopher Friesen
2001-10-29 23:07       ` willy tarreau
2001-10-30  2:33       ` Dan Hollis
2001-10-30  2:55         ` Jonathan Lundell
2001-10-30  3:15           ` H. Peter Anvin
2001-10-30  3:30             ` Jonathan Lundell
2001-10-30  4:57               ` Dan Hollis
2001-10-30 15:33               ` Christopher Friesen
2001-10-30  4:55           ` Dan Hollis
2001-10-30 11:05 Chemolli Francesco (USI)
2001-10-30 11:33 ` Alan Cox
2001-10-30 11:14 Chemolli Francesco (USI)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox