Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I noticed that all my Dell Power Edge 2950 servers running RHEL or CENTOS have dual Gigabit NIC's and I only have NIC #1 cabled and enabled to a switch for LAN connectivity. I was wondering if you guys recommend enabling the 2nd NIC as a fail over NIC in case NIC #1 dies. Is this possible? Anyone have any thoughts and or suggestions?
Only one NIC on the same subnet can have the same IP address. Given that, you would either need to set up round robin in your DNS with 2 A records pointing to the same domain name, but to different IP addresses.
This would also mean that all your inbound services need to listen on but ip addresses as well.
The major drawback of this system is that when one of the NIC goes down, users are still having a 50% chance of trying to reach the NIC that is down.
Another solution is to add another hop between the internet and both NIC. That other device must do some 'alive' tests on both NIC and only forward the request to a NIC that is up.
This functionality can be obtained by using a rather expensive hardware loadbalancer.
If you are running RH AS you can use bonding. This will give the same IP to both nic's. You may want to do a 'man bonding' to check if you have this on your machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.