Re: Simple DHCP server question

From: Javier Tomé (fjtm@tid.es)
Date: Tue Oct 18 2005 - 17:40:48 GMT-3


Ok, from your responses (thank you all by the way) I understand the
following:

- It is default config
- It is not necessary to make it work (as Simon says)...
- but it is better to type "service dhcp" just in case (seems not me
make any harm at all)

simon hart wrote:

>Chuck et al,
>
>DHCP server and relay functions are enabled as default. I think the reason
>it is described as optional, is that you have to turn it on if you have ever
>deviated from the default
>
>Not sure why the router is not listening to port 67. However I can get my
>router to handout IP's without using the service dhcp command
>
>Simon
>
>-----Original Message-----
>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
>Church, Chuck
>Sent: 18 October 2005 14:26
>To: Javier Tomi
>Cc: Cisco certification
>Subject: RE: Simple DHCP server question
>
>
>Looks like a typo:
>
>"The tasks in the first three sections are required. The tasks in the
>remaining sections are optional.
>
>* Enabling the Cisco IOS DHCP Server and Relay Agent Features (Optional)
>
>* Configuring a DHCP Database Agent or Disabling DHCP Conflict Logging
>(Required)
>
>* Excluding IP Addresses (Required) "
>
>It says the first 3 steps are required, but then lists the first one as
>optional. It's not optional.
>
>
>Chuck Church
>Lead Design Engineer
>CCIE #8776, MCNE, MCSE
>Netco Government Services - Design & Implementation Team
>1210 N. Parker Rd.
>Greenville, SC 29609
>Home office: 864-335-9473
>Cell: 864-266-3978
>cchurch@netcogov.com
>PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4371A48D
>
>
>-----Original Message-----
>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
>Javier Tomi
>Sent: Tuesday, October 18, 2005 3: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/hiad_
>>
>>
>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
>>
>>
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.344 / Virus Database: 267.12.2/137 - Release Date: 16/10/2005
>
>--
>No virus found in this outgoing message.
>Checked by AVG Anti-Virus.
>Version: 7.0.344 / Virus Database: 267.12.2/137 - Release Date: 16/10/2005
>
>_______________________________________________________________________
>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