[BUG?] dhclient sends packets with source IP address that has been deleted

Yuri yuri at rawbw.com
Wed Apr 8 22:38:51 UTC 2015


On 04/08/2015 01:03, J.R. Oldroyd wrote:
>  From RFC2131, section 4.1:
>
>     DHCP messages broadcast by a client prior to that client obtaining
>     its IP address must have the source address field in the IP header
>     set to 0.
>
> Note the "must" there.
>
> So the current behavior looks like an error, to me.


I suspected that this is the violation of DHCP specs.

Many times I saw how FreeBSD to FreeBSD DHCP handshake is delayed 
without an apparent reason. I  think this bug combined with another one 
when broadcast UDP packet isn't received when source IP is set is the 
cause of such DHCP delays.

Yuri


More information about the freebsd-net mailing list