LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IP address conflict handling (https://www.linuxquestions.org/questions/linux-networking-3/ip-address-conflict-handling-64500/)

P_Shep 06-09-2003 06:36 AM

IP address conflict handling
 
Hi all,

I'm tring to make an automatic fail-over setup with two machines, and my idea so far if to have both machine attempt to get the same IP on start-up, and if they fail, to change thier IP to the stand-by machine and serve as the back up. It will monitor the primary, and if it disappears for a certain length of time (10mins i'm thinking) it re-takes the IP and does it's stuff.

So the question is, what happens on start-up when a machine attempts to aquire an IP address that has already been taken. What do I look for? My guess is that the address goes to 0.0.0.0, but is there a specific error which thrown up?

Many thanks,

Paul.

jharris 06-09-2003 08:43 AM

You might want to look at some of the links on http://www.tldp.org/HOWTO/Adv-Routin...rtc.other.html especially the Virtual Router Redundancy Protocol and the Linux Virtual Server project.

cheers

Jamie...

P_Shep 06-09-2003 09:17 AM

That vrrp looks perfect, thanks for that :)


All times are GMT -5. The time now is 04:15 PM.