Menu

#9 Add ipv4LL (link-local/zeroconf) to DHCP client code

open
nobody
None
3
2011-11-22
2011-11-21
Ned Konz
No

It should be pretty easy to add link-local addressing (RFC3927) to the DHCP client. To do this in the "quick and dirty" way, just respond to a timeout while waiting for DHCP offers (the SELECTING state) by picking a random address in the 169.254.x.x range and pretending that you got a DHCP ACK for that address.

see http://www.zeroconf.org/QDIPv4LL.html

http://www.ietf.org/rfc/rfc3927.txt

Ideally, you'd also add ACD (automatic conflict detection) to both DHCP and IPv4LL
(see http://files.stuartcheshire.org/draft-cheshire-ipv4-acd.txt )

Discussion

  • Andrej Butok

    Andrej Butok - 2011-11-22
    • priority: 5 --> 3
     
  • Andrej Butok

    Andrej Butok - 2011-11-22

    Hi Ned Konz

    Very nice features (ACD and Zero Configuration Networking). I will add it to my task list.
    But they will get lower priority, after IPv6 support ;).

    BTW: Any contribution (features, protocols, fixes etc.) to the FNET project is appreciated.

    Thank you very much,
    Andrey Butok