Re: Network Multipathing
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <[email protected]> |
> On Tue, 22 Apr 2003, t0m wrote: > > > I'm running one box with rh 7.2 with 2 network card inside. I'd like to have > > something like on Solaris is IP Multipathing. > > There are if1 and if2 (interfaces) connected to 2 different switches. > > if1 -> sw1 > > if2 -> sw2 > > All network traffic go through sw1 to if1 and back and if something will > > happen with (anything with cables, sw1 etc..) I'd like to change that traffic > > through if2 -> sw2? > > > > Does something like this exists or anything what could help? > > /sbin/ip does things like these, and tons more: > > gv /usr/share/doc/iproute-*/ip-cref.ps > > (you need to have the iproute rpm installed, of course) > > Btw, why _all_ the traffic should go through one interface when you have two? > Wouldn't it be more useful to have both cards active all the time, and route > traffic to the working one only in case the other had problems? > Just an idea... > > Ant9000 > Solved. The name for this under linux is bonding. You need to compile it like a module. More information you can find $KERNEL_SOURCE/Documentation/networking/bonding.txt you can find more information in section High Availability. On Sun LX-50, linux box, with Sun Linux 5.0 (Red Hat 7.2) modules bonding doesn't support miimon option which is a key thing to do this "multipathing". Kernel is 2.4.9-31enterprise. tomas