Comment 3 for bug 1383384

Revision history for this message
Blake Rouse (blake-rouse) wrote :

According to the DHCP specification after the very first request the DHCP server has already reserved an address to the client. The client can either accept from that DHCP server or another DHCP server. If it is not accepted to that DHCP server then it is released, but a response still has to be sent, and the other DHCP server notices it accepted another servers address, so it releases it.

I think the best thing to do, is not get to complicated and just do a "dhclient -r" after the interface has an ip address, so it is released.

The only way to get dhcp information without making a lease, is just to listen passively and hope a DHCP response comes in using something like dhcpdump. Which I believe is not an option, as we need to know what network the interface belongs to.