[Dnsmasq-discuss] Getting a DHCP address takes 1 minute

Simon Kelley simon@thekelleys.org.uk
Sat, 22 Jan 2005 13:59:37 +0000


Greg Greenway wrote:
> Hi,
> 
> I just started using dnsmasq, and it works great except for one thing:
> when my other linux box tries to get a dhcp lease, it takes almost
> exactly 1 minute.  There doesn't seem to be a problem when my windows
> boxes are getting their addresses, just my linux box.  I attached an
> ethereal log of what is going on, but it doesn't make much sense to me
> because the outgoing dhcp requests show up as protocol "SLL" which
> doesn't give much information about the packet.  But if anyone out
> there can shed some light on this, I'd appreciate it.
> 
> thanks,
> greg

If your other linux box is running Gentoo, then this due to a issue with 
the Gentoo version of dhcpcd. Last I heard, Gentoo were planning a new 
release which fixed the problem but I haven't checked to see if that's 
the case.

A dnsmasq-only solution to the problem is to set the 
"dhcp-authoritative" flag in /etc/dnsmasq.conf


HTH

Simon.