Should Destination udp port be the source in the request or listen + 1?

Ted Lemon Ted.Lemon at nominum.com
Mon Nov 15 18:01:13 UTC 2004


On Nov 15, 2004, at 11:51 AM, Robert Pinter wrote:
> My philosophical question is this: Shouldn't the dhcp response packet 
> be
> sent back to the source port of the dhcp request, not fixed to one more
> then the listen port?

No, this is expressly forbidden in the spec.   You have to send back to 
the DHCP client port, normally 68, regardless of the source port from 
which the packet came.   Now if your question is "is the spec wrong?" I 
think there could be some debate about it, but that's the spec, and if 
we want to interoperate with the spec, this is how the server has to 
work.



More information about the dhcp-hackers mailing list