RHEL4 ES, Is there a way to Bond two NICs for Redundancy for upstream connectivity?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
RHEL4 ES, Is there a way to Bond two NICs for Redundancy for upstream connectivity?
I have several servers that we have bonded some NICs for rundancy and they will of course switch from primary to secondary NIC if connection state is lost to the switches they are physically connected to, but is there any way to be able to sense upstream connectivity (off switch) for each NIC and failover even though the NIC itself has a connection state to the switch it is plugged into? We are using Dell managed switches on VLANs with trunking. Thanks for any input.
1. Keep failsafe disabled.
2. Have a script pull data from an upstream server periodically.
3. If data is unavailable then connection must be severed so switch on the failsafe nic and disable the downed nic.
4. Detect when new nic has an IP (with a timeout for obtaining an IP). When it gets an IP then attempt to pull the upstream data.
5. Repeat the process if failed to pull upstream data or if obtaining IP timeout is reached until one of the nics have connectivity.
I don't have time right now but I'll attempt to hack a script together in XYZ language which would be capable of doing that. You can use a number of any languages such as perl, python, or even shell to accomplish that process though.
I have some folks that could script this, I just thought there may be something within the driver module or possibly another package/protocol that was created for this very thing.
It seems this would not be an unusual requirement for redundancy.
Well you may be right but I am not very familiar with the network stacks of Linux. I just attempted to give you a pseudo solution. If I can come up with, or find something better then I'll certainly post it here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.