Subject: | Client should perform DAD and send Decline message when address is found to be in use on the link |
Date: | Fri, 30 Apr 2010 16:07:04 +0200 |
To: | dhcp-suggest@isc.org |
From: | Jiri Popelka <jpopelka@redhat.com> |
RFC 3315 says:
The client SHOULD perform duplicate address detection [17] on each of
the addresses in any IAs it receives in the Reply message before
using that address for traffic. If any of the addresses are found to
be in use on the link, the client sends a Decline message to the
server as described in section 18.1.7.
Attached is patch (dhcp-4.1.1-sendDecline.patch) that makes client send
Decline
message when dhclient-script returns value indicating that DAD failed.
Next part of this problem is how to make dhclient-script discover that
DAD failed.
I'm not skilled with other OS besides linux so my patch
(dhcp-4.1.1-dhclient-script-DAD.patch)
fixes only dhclient-script for linux.
It uses the fact that 'ip addr show' shows 'tentative' flag in address
info when DAD
is still not complete or failed.
Thanks
Jiri Popelka
Red Hat, inc.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.