For testing purposes, let's say using Ubuntu 8.10 Desktop can I do something like the following?
I have two servers, Master and Slave.
When a server boots its assigned the IP address 192.168.0.1.
The server then pings 192.168.0.2.
If there is no reply it changes its IP address to 192.168.0.2
If there is a reply, it changes its IP address to 192.168.0.3
Now when a server has booted and its IP address is 192.168.0.3 it pings 192.168.0.2 every minute to see if it's available.
If it is, it does nothing.
If it isn't it changes its IP address to 192.168.0.2 and send a warning message to me.
Is that possible? Is there any reason why I shouldn't do the above? Per chance there is clash and an IP address conflict occurs, can I force the Slave server to go to 192.168.0.3.
Thanks