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
Can i have 2 (live) ip enteries od the same server in the same name to the name server?
How should it be done so that if one is down th other second ip becomes active
Sanjib gupta
sorry, that makes little sense, you seem to jump from DNS cname's to hardware failover in a single sentence... you can use as many cnames in a dns record as you wish, and point many domain names to a single ip address. this has nothign to do with resilience though.
eth0 doesn't have a "name" other than "eth0", it has an ip address. if this is actually a question about network resilience, and nothign to do with cnames at all, you need to explain a lot more about your local topology.
well firstly are you confident that requests to the secondary ip will work? unless you're routing table and iptables whatnots are correctly configured then all traffic will still try to leave the box the original way, down the dead line.
as for failover itself, you would want to use DNS i guess, but the changes made on your dns providers servers can take up to 2 days to propagate round the internet, nothing can be instant due to the nature of DNS and record caching.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.