client port

Ted Lemon mellon at
Sun Jul 9 19:47:44 UTC 2006

Carl Karsten wrote:
> Why does the client use a static port?

This is what the standard requires.    When you consider that there is a
relay agent between the client and server in most cases, using the
source port from the client would have added unnecessary complexity to
the protocol, since the source port would have to have been remembered
somehow by the relay agent, or included in the exchange between the
relay agent and the server.   In modern times, with the relay agent
option, this sounds simple, but back in the days of BOOTP it would have
required an additional field in the fixed BOOTP headers.

More information about the dhcp-users mailing list