DHCPREQUEST unicast conflicts with RFC 1122 (when USE_LPF)

David W. Hankins David_Hankins at isc.org
Wed Jun 14 17:56:11 UTC 2006


On Wed, Jun 14, 2006 at 04:24:41PM +0200, Kim F. Storm wrote:
> I talked to the collegue who had disabled the fallback interface in
> the first place, and his argument was that on Linux, if you send on a
> normal socket, the kernel will select any available local IP address
> as source in case you transmit on an interface which doesn't have its
> own address.

Sure...or the ip address of the exit interface in the event it does
have an address.

Which you would think by the time the fallback interface is used,
the system would have a route to the dhcp server pointing to an
addressed interface.

> So a DISCOVERY request may get a bogus source IP address.

That's true, but we never send a DISCOVER out the fallback interface.

And the source IP address really doesn't matter in DHCP.  It's never
looked at.

-- 
David W. Hankins		"If you don't do it right the first time,
Software Engineer			you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins


More information about the dhcp-hackers mailing list