LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-09-2003, 06:36 AM   #1
P_Shep
LQ Newbie
 
Registered: Jun 2003
Location: Reading, UK
Distribution: RH 7.2
Posts: 26

Rep: Reputation: 15
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.
 
Old 06-09-2003, 08:43 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
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...
 
Old 06-09-2003, 09:17 AM   #3
P_Shep
LQ Newbie
 
Registered: Jun 2003
Location: Reading, UK
Distribution: RH 7.2
Posts: 26

Original Poster
Rep: Reputation: 15
That vrrp looks perfect, thanks for that
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
API for mapping Physical Address to Virtual Address Lakshman_smt Linux - Software 2 10-15-2006 09:08 PM
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
dhcp no ip address and netmask dont match route address pengy666 Linux - Wireless Networking 1 05-08-2005 09:33 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration