[PATCH] add IP check functionality to udhcpc
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Thu Nov 22 10:09:12 UTC 2007
On Thu, 22 Nov 2007, Jonas Danielsson wrote:
> About the -W seconds. I added it because of what was pointed out in the
> RFC2131:
>
> 5. The client receives the DHCPACK message with configuration
> parameters. The client SHOULD perform a final check on the
> parameters (e.g., ARP for allocated network address), and notes the
> duration of the lease specified in the DHCPACK message. At this
> point, the client is configured. If the client detects that the
> address is already in use (e.g., through the use of ARP), the
> client MUST send a DHCPDECLINE message to the server and restarts
> the configuration process. The client SHOULD wait a minimum of ten
> seconds before restarting the configuration process to avoid
> excessive network traffic in case of looping.
>
> It is the matter of the minimum of 10 seconds that made me include
> it. But maybe it is better to reuse the --tryagain flag and set a
> lower bound on it?
IMO, the two should not be mixed.
Cheers,
--
Cristian
More information about the busybox
mailing list