DHCP client state if rebooted when local DHCPD server is offline?

terrygalant.lists at fastest.cc terrygalant.lists at fastest.cc
Thu Aug 14 17:18:33 UTC 2014


Hi Greg

On Thu, Aug 14, 2014, at 10:01 AM, Gregory Sloop wrote:
> I think we need to be a bit more specific. Do you mean:

Not sure how exactly to ask, TBH :-/

I'm trying to get a handle on what happens if the server's not available, and the LAN client needs to get it's IP address.  Without an assigned/working IP address, bootup seems to choke somtimes, or at least stall for a very long time.  Not *entirely* sure yet if that's lack of IP or lack if intfc.

> A google search might be insightful too. [Or a search on the list archives.]

The problem there is NOT too-little info, but too-much noise.  Finding something relevant/clear is the current challenge.

> And on that note, what clients? Windows, Linux, Mac etc? And what versions?

Linux/64

One of (which was my immediately prior question)

 dhcpcd (dhcpcd 3.2.3)
 dhclient (isc-dhclient-4.2.5-P1)

> If you mean, the lease is expired before the station is brought back up again, then it will need a new lease from the DHCP server.

I *think* Simon's link-local solution *might* be the answer.

Atm, though, my problem's more basic.  My client can't seem to GET an IP address from the DHCP server even if the server IS up.

I keep getting lots of these:

...
Aug 14 10:04:31 tgdesktop dhclient[4335]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
Aug 14 10:04:33 tgdesktop dhclient[4335]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Aug 14 10:04:33 tgdesktop ifup-dhcp[4278]: .
Aug 14 10:04:36 tgdesktop ifup-dhcp[4278]: .
Aug 14 10:04:36 tgdesktop dhclient[4335]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Aug 14 10:04:38 tgdesktop ifup-dhcp[4278]: .
Aug 14 10:04:41 tgdesktop dhclient[4335]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
...

then it eventually times out.  Same whether I use dhcpcd or dhclient.

WIth static mode, rather than dhcp mode, on my interfaces, everything works perfectly.

Terry


More information about the dhcp-users mailing list