From: Kulcsár
Date: Tue Oct 18 2005 - 05:14:22 GMT-3
Hello Javi,
I think the docCD is a bit vague here.
Maybe it is "optional", because by default, the dhcp servive is enabled.
You use this command optionally if the service had been disabled before and you have to reenable it.
Although it's default, I always disable this service if it's not needed.
Best regards,
Andras Kulcsar
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Javier Tomi
Sent: Tuesday, October 18, 2005 9:56 AM
Cc: Cisco certification
Subject: Re: Simple DHCP server question
Hi Andras,
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt1/1cfdhcp.htm
(Doc from release 12.2). Under the DHCP configuration task list: "Enabling the Cisco IOS DHCP Server and Relay Agent Features
<1cfdhcp.htm#wp1018944> (Optional)"...
Regards
Javi
Kulcsar Andras Benjamin wrote:
>Hi,
>
>The IOS 12.4 command reference clearly states that using the "no
>service dhcp" disables the DHCP server and relay agent features.
>http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/h
>iad_r/adr_s1h.htm#wp1139885
>
>
>Which reference did you read?
>
>Best regards,
>Andras Kulcsar
>
>
>-----Original Message-----
>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
>Javier Tomi
>Sent: Tuesday, October 18, 2005 8:23 AM
>To: Cisco certification
>Subject: Simple DHCP server question
>
>
>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
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:51 GMT-3