RE: Question on configuring DHCP using network and subnet

From: Scott Morris (swm@emanon.com)
Date: Mon Nov 14 2005 - 11:40:36 GMT-3


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



This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:06 GMT-3