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

Robert Pinter rfp at pinters.com
Mon Nov 15 18:16:36 UTC 2004


>From: Ted Lemon <Ted.Lemon at nominum.com>
>Date: Mon, 15 Nov 2004 12:01:13 -0600
>
>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.
>
OK, I'll except that, but then the question is how should the server
decide the DHCP client port.  Should it be 68 or listen port plus one?

Robert Pinter <rfp at pinters.com>
GPG 1024D/ABB41120: 1B47 0BF3 E7DE 8694 097C E69D A752 1090 ABB4 1120




More information about the dhcp-hackers mailing list