dhcpcd-discuss

Re: Can dhcpcd run DISCOVER immeditaly instead of requesting the current IP

Roy Marples

Thu Apr 04 22:25:43 2013

On 04/04/2013 23:18, Kobi Cohen-Arazi wrote:
On Thu, Apr 4, 2013 at 3:10 PM, Roy Marples <roy@xxxxxxxxxxxx> wrote:

On 04/04/2013 22:20, Roy Marples wrote:

In this specific scenario, the target DHCPD server is not the same
one giving this IP to the client so it remains silent. (this is by the
spec IMO).
client backs off for 10 second and start again with DISCOVER. From
this point everything goes as it should be.

I would also point out that it's recommended these days that DHCP servers are authorative which means they should NAK any invalid address.
Only non authorative DHCP servers would remain silent.

Totally agree with you on this one. This would solve my issue. There
is a "but" :) here:
What I noticed is that if your client moved from one IP subnet config
network (say 192.168.1.0/24) to another network with a different
IP subnet config network (e.g. 10.10.1.0/24), then DHCP will
NAK immediately (well, I still needed to config "always-reply-rfc1048"
on the DHCP server).
But if the client moved from one network to another network and both
networks have the same IP subnet config (e.g. both has 192.168.1.0/24
[1]) then DHCP will *not* NAK despite always-reply-rfc1048 is on.
Simple googling shows that it is really the expected behavior.

I would not expect that behaviour.
Can you provide links where this is the case?

Also, I'm not clear how always-reply-rfc1048 would affect NAK?

Thanks

Roy

Follow-Ups:
Re: Can dhcpcd run DISCOVER immeditaly instead of requesting the current IPKobi Cohen-Arazi
References:
Can dhcpcd run DISCOVER immeditaly instead of requesting the current IPKobi Cohen-Arazi
Re: Can dhcpcd run DISCOVER immeditaly instead of requesting the current IPRoy Marples
Re: Can dhcpcd run DISCOVER immeditaly instead of requesting the current IPRoy Marples
Re: Can dhcpcd run DISCOVER immeditaly instead of requesting the current IPKobi Cohen-Arazi
Archive administrator: postmaster@marples.name