RE: Question on configuring DHCP using network and subnet

From: steven richards (ccie_2005@hotmail.com)
Date: Fri Dec 02 2005 - 20:35:41 GMT-3


  One more question on this. You should remove the broadcast address from
the range of assigned addresses correct ? Like for a /25 I may want to make
the ending range at like .126 correct ?

   Thanks,

>From: "Scott Morris" <swm@emanon.com>
>Reply-To: <swm@emanon.com>
>To: "'steven richards'" <ccie_2005@hotmail.com>,<ccielab@groupstudy.com>
>Subject: RE: Question on configuring DHCP using network and subnet command
>Date: Mon, 14 Nov 2005 09:40:36 -0500
>
>You need to take a look at the "excluded address" concept to make your
>assigned pool smaller. If you mismatch masks like that, you may run into
>issues with reachability. If a host is in the same subnet as you, you arp
>for it. If it's not, you go through your default gateway.
>
>With mismatched masks, some devices will believe another host is in its
>network while the other side believes it has to go through a gateway to get
>there.
>
>Assigning addresses in a range is different than assigning them with a
>netmask to go with it.
>
>Scott
>
>-----Original Message-----
>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
>steven richards
>Sent: Monday, November 14, 2005 2:00 AM
>To: ccielab@groupstudy.com
>Subject: Question on configuring DHCP using network and subnet command
>
> Hello,
>
>Unfortunatly the lab I use is remote and I cannot test to features of DHCP
>that I am curiouse about.
>The two that I am questioning are using the network command and the subnet
>command under the DHCP pool. I believe the way that this would work is the
>network command and the mask designates the pool of addresses that get
>handed out. Say for instance I configured 1.1.1.0/27 the router would only
>asign addresses in the range of the /27. Now with the subnet prefix-length
>command is this for the subnet mask? Say for instance I configured the
>1.1.1.0/27 with the subnet prefix-length 25 command would that asign IP
>addresses in the 1.1.1.0/27 with a /25 sugnet mask ?
>
>
> Thanks,
>
>R6(config)#ip dhcp pool TEST
>R6(dhcp-config)#network ?
> A.B.C.D Network number in dotted-decimal notation
>
>R6(dhcp-config)#network 1.1.1.0 ?
> /nn or A.B.C.D Network mask or prefix length
> <cr>
>
>R6(dhcp-config)#network 1.1.1.0
>
>R6(dhcp-config)#subnet prefix-length ?
> <1-31> Specify the prefix length
>
>R6(dhcp-config)#subnet prefix-length
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today - it's FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
>



This archive was generated by hypermail 2.1.4 : Mon Jan 09 2006 - 07:07:50 GMT-3