Simple DHCP server question

From: Javier Tomé (fjtm@tid.es)
Date: Tue Oct 18 2005 - 03:23:04 GMT-3


Hi all,

Just a simple question regarding DHCP. On DocCD it is stated that
"service dhcp" is an optional step in order to configure the router as a
DHCP server. In fact that command is suppose to enable dhcp relay
function on the router. Nevertheless, I have notice that according to
"show ip sockets" command the router seems not to be listening to port
67 until "service dhcp" is issued.

This is the output from the router...

RSCbD#
RSCbD#sri service dhcp
no service dhcp
RSCbD#
RSCbD#show ip sockets
Proto Remote Port Local Port In Out Stat TTY OutputIF
 17 --listen-- 192.168.32.31 1985 0 0 1 0
 17 172.31.1.7 162 192.168.32.31 58617 0 0 0 0
 17 172.31.2.7 162 192.168.32.31 51358 0 0 0 0
 17 --listen-- 192.168.32.31 123 0 0 1 0
 17 --listen-- 192.168.32.31 520 0 0 1 0
 17 --listen-- 192.168.32.31 161 0 0 1 0
 17 --listen-- 192.168.32.31 162 0 0 11 0
 17 --listen-- 192.168.32.31 55835 0 0 11 0
 17 --listen-- 224.0.1.40 496 0 0 61 1
RSCbD#
RSCbD#
RSCbD#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RSCbD(config)#service dhcp
RSCbD(config)#exit
RSCbD#
RSCbD#show ip sockets
Proto Remote Port Local Port In Out Stat TTY OutputIF
 17 --listen-- 192.168.32.31 1985 0 0 1 0
 17 172.31.1.7 162 192.168.32.31 58617 0 0 0 0
 17 172.31.2.7 162 192.168.32.31 51358 0 0 0 0
 17 --listen-- 192.168.32.31 123 0 0 1 0
 17 --listen-- 192.168.32.31 520 0 0 1 0
 17 --listen-- 192.168.32.31 161 0 0 1 0
 17 --listen-- 192.168.32.31 162 0 0 11 0
 17 --listen-- 192.168.32.31 55835 0 0 11 0
 17 --listen-- 224.0.1.40 496 0 0 61 1
 17 0.0.0.0 0 192.168.32.31 67 0 0 2211 0
RSCbD#

How does the router receives the DHCP request if there is no socket
opened on port 67?...

Thank you in advance....

Javi



This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:51 GMT-3