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.
Hi all,
I have a basic question.
My two machines are connected back to back and each machine is having two Ethernet Adapters. Failover is enabled. Now when I unplug one of the nic, should failover work ?
Now, eth0 of machine A is connected with eth0 of Machine B
and eth1 of machine A is connected with eth1 of Machine B
Now, I am doing ping 10.10.10.1 from machine B. Then I am unplugging eth0 on Machine B. Then should failover work and ping can continue?
Practical result shows it working.
But, my theroy says that eth1 is in different network altogether and it should not work. For failover to work, everything should be in same subnet/network.
what is this "failover" you're talking about? where did you see it??
only way i'd expect that to work is if the client machine is using the peer as the default gateway, so when the 0 metric local route dissapears it'll go via the other machine as a last resort and get lucky.
I am talking about network card failover.
I have got two port network card from my vendor and manual says that port-2 is a friend of port-1...
So, in case, port-1 somehow fails, port-2 will be start working and to make it happen, I have to write some values to /sys/.../*/
well yes i understand what that would mean in layman's terms, but there's no way any technical manual would describe anything as a "friend". I was after a technical explanation of what protocols would be involved in doing this and such. there has to be some sort of mechanism to monitor port status and such, a bit of hardware won't just do it by itself.
so show us the state of the ifconfig output on each machine before and after your simulated failure, and ping and traceroute outputs to match.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.