If a machine with centos 6.2 is set for DHCP and it looses power and the switch looses power for a long time. lets say a day. so the switch really goes off even with batter backup.
Now power comes on, the machine asks for a DHCP address before the switch is read as its not back up yet. there is no response and the machine does not get an address. Finally the switch comes back up , the machine has already posted that it Network got an error as there was no DHCP server.
Does the machine ever ask again???? or do I have to manually do a server network restart or reboot the machine again.
It seems to never ask again.
jerry
On 04/04/2012 09:18 AM, Jerry Geis wrote:
If a machine with centos 6.2 is set for DHCP and it looses power and the switch looses power for a long time. lets say a day. so the switch really goes off even with batter backup.
Now power comes on, the machine asks for a DHCP address before the switch is read as its not back up yet. there is no response and the machine does not get an address. Finally the switch comes back up , the machine has already posted that it Network got an error as there was no DHCP server.
Does the machine ever ask again???? or do I have to manually do a server network restart or reboot the machine again.
It seems to never ask again.
jerry
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
There is a timeout and a retry parameter in the dhcp client configuration file (whatever it is called in CentOS 6). On the non-CentOS system where I am sending the email from it is /etc/dhcp3/dhclient.conf (but probably different in CentOS 6). Look for a man page for dhclient.conf. My CentOS 6 machine is turned off right now.
Nataraj
On 04/04/2012 12:18 PM, Jerry Geis wrote:
If a machine with centos 6.2 is set for DHCP and it looses power and the switch looses power for a long time. lets say a day. so the switch really goes off even with batter backup.
Now power comes on, the machine asks for a DHCP address before the switch is read as its not back up yet. there is no response and the machine does not get an address. Finally the switch comes back up , the machine has already posted that it Network got an error as there was no DHCP server.
Does the machine ever ask again???? or do I have to manually do a server network restart or reboot the machine again.
It seems to never ask again.
jerry
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Jerry,
I think what you are looking for can be found with: $man dhclient.conf
There is a retry option that specifically sets the delay between successive dhcp client broadcasts when a dhcp server can't be found.
paul