Re: dhcpd troubleshooting

Stephen Stuart <[email protected]> Mon, 24 Feb 2003 10:35:26 -0800
Newsgroups gmane.network.toolmakers
Message-ID <[email protected]>
> i try to telnet into port 67 and 68 to see if the server is 
> listening...but the connection is refused...my firewall is set to leave 
> these ports open.

Telnet makes TCP connections, and dhcpd is a UDP-based protocol. The
server listens on 67/udp; you can verify that this is true by doing
this:

    % netstat -naf inet | grep -F '*.67'

The output should look like this:

    udp4       0      0  *.67                   *.*

> Are there any other methods i could use to test the source of the problem?

You should run tcpdump on the interface on which you expect to see
requests to verify that they are making it to the server.

Stephen