Operating System - Linux
1827822 Members
2196 Online
109969 Solutions
New Discussion

Linux bonding and Switch configuration

 
NIC bonding and switch
Occasional Contributor

Linux bonding and Switch configuration

have configured linux bonding using mode 0 (rr) and working fine.Trying to connect each port to two different cisco switches for switch redundancy. May i know is there anything i need to configure at the switch level cos i am getting Mac address flapping.

OS is RHEL3.0 AS3.0x86_64 U6.
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: Linux bonding and Switch configuration

As far I know, round robin requires switch link aggregation. I think that this is not possible on independen switches, you should use mode 1 (failover).
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
NIC bonding and switch
Occasional Contributor

Re: Linux bonding and Switch configuration

Thanks. What about for other modes ? like 4,5 or 6 ? can i connect them to 2 different switches for redundancy. As far as i know, don't think RHEL3.0 support mode 4,5 and 6. Please correct me if i am wrong.
Cheers,
rick jones
Honored Contributor

Re: Linux bonding and Switch configuration

can you define "fine" in this case? it has always been my understanding that round-robin apcket scheduling (on a packet by packet basis) is an invitation to getting TCP segments out of order.

TCP will "cope" but will not operate as efficiently. Particularly if the bond/trunk/aggregate starts to get above two links.

For official protocols, switches probably grok LACP. What mode number that happens to be escapes me presently - might be nice for thelinux bonding software to be enhanced to take human-meaningful names for the modes...

Ciscos also like Fast Etherchannel.

This last bit is stretching my dimm memory, but if you want "active-active" with multiple switches you need support for "meshing"
there is no rest for the wicked yet the virtuous have no pillows
Steven E. Protter
Exalted Contributor

Re: Linux bonding and Switch configuration

Shalom,

For full functionality in modes other than 0 you need to configure the switch. A lot of Cisco admin's don't know how to do this.

Active-Active configuration freaks out the switch, for lack of a better term and you lose networking altogether.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sergejs Svitnevs
Honored Contributor

Re: Linux bonding and Switch configuration

With the split-MLT in the Nortel switches, they appear as a single switch to the bond port and you configuration will be possible. AFAIK, Cisco switches do not have these features.

Regards