DHCP Address Assignment Doubt

From: Shanky (shankyz@gmail.com)
Date: Wed Jul 13 2005 - 02:20:06 GMT-3


 Hi,
 In the following example from IOS IP Config Guide ... They have configured
3 address pools, namely Pool0,Pool1 & Pool2.
Pool 0 address range is 172.16.0.0/16 <http://172.16.0.0/16>
Pool 1 address range is 172.16.1.0/24 <http://172.16.1.0/24>
Pool 2 address range is 172.16.2.0/24 <http://172.16.2.0/24>
 My Doubt is when Pool0 172.16.0.0/16 <http://172.16.0.0/16> already
includes all the subnets like 172.16.1.0/24 <http://172.16.1.0/24> -
172.16.255.0/24 <http://172.16.255.0/24> .. How is it gonna work ? I mean
there is clearly an address overlap here...shouldnt all the pools be distict
and have seperate subnets assigned ?
  *Example from CCO:*
**
ip dhcp database ftp://user:password@172.16.4.253/router-dhcp write-delay
120

ip dhcp excluded-address 172.16.1.100 <http://172.16.1.100>
172.16.1.103<http://172.16.1.103>

ip dhcp excluded-address 172.16.2.100 <http://172.16.2.100>
172.16.2.103<http://172.16.2.103>

!

*ip dhcp pool 0*

*network 172.16.0.0 <http://172.16.0.0> /16*

domain-name cisco.com <http://cisco.com>

dns-server 172.16.1.102 <http://172.16.1.102>
172.16.2.102<http://172.16.2.102>

netbios-name-server 172.16.1.103 <http://172.16.1.103>
172.16.2.103<http://172.16.2.103>

netbios-node-type h-node

!

*ip dhcp pool 1*

*network 172.16.1.0 <http://172.16.1.0> /24*

default-router 172.16.1.100 <http://172.16.1.100>
172.16.1.101<http://172.16.1.101>

lease 30

!

*ip dhcp pool 2*

*network 172.16.2.0 <http://172.16.2.0> /24*

default-router 172.16.2.100 <http://172.16.2.100>
172.16.2.101<http://172.16.2.101>

lease 30



This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:00:29 GMT-3