how to change listening port

Jim Watt jim at watt.com
Wed Aug 2 03:59:52 UTC 2006


On 8/1/2006 7:45 PM, Joey S. Eisma wrote:
> 
> on ubuntu, how do you change dhcp server listening port and the 
> clients's dhcp (doing etherboot) connection port?

Quoting from the dhcpd manual page...

       If  dhcpd  should listen on a port other than the standard
       (port 67), the -p flag may used.  It should be followed by
       the udp port number on which dhcpd should listen.  This is
       mostly useful for debugging purposes.

If Ubuntu uses "dhclient" from the ISC, then this section of the
dhclient manual page applies:

       If  the DHCP  client should listen and transmit on a port
       other than the standard (port 68), the -p flag  may  used.
       It should be followed by the udp port number that dhclient
       should use.  This is mostly useful for debugging purposes.
       If  a different port is specified for the client to listen
       on and transmit on, the client will also use  a   different
       destination port - one greater than the specified destina-
       tion port.

If you're using another dhcp client, you should consult the documentation
for it.

Jim
-- 
Jim Watt                           EMAIL: jim @ Watt.COM
1044 Belvedere Lane                Voice: +1 408 446 9677
San Jose, CA 95129-2901            Fax:   +1 408 446 4907



More information about the dhcp-users mailing list