[CentOS] question on DHCP

Wed Apr 4 16:39:51 UTC 2012
Nataraj <incoming-centos at rjl.com>

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 at 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