[nsp] IP DHCP issues with 12.2(5) & static host

Thomas Kernen thomas at ip-man.net
Sat Feb 7 11:25:43 EST 2004


I'm trying to setup in 12.2(5) 2 IP DHCP pools, one a workstation based
on the MAC address, the other for all other devices requesting an IP
address. The syntax looks okay and they appear to work individually but
not when both are configured together in the router.

I know this is a very basic config but I just can't figure out why on
earth the laptop always gets an IP from the dynamic pool even when
defined correctly in the config. Did I miss something?

Bindings from all pools not associated with VRF:
IP address          Client-ID/              Lease expiration        Type
                    Hardware address/
                    User name
192.168.100.11      0100.0874.e675.67       Infinite
Manual
192.168.100.16      0100.0874.e675.67       Infinite
Automatic

ip dhcp excluded-address 192.168.100.1 192.168.100.11
!
ip dhcp pool laptop
   host 192.168.100.11 255.255.255.0
   hardware-address 0100.0874.e675.67
   default-router 192.168.100.1
   lease infinite
!
ip dhcp pool workstations
   network 192.168.100.0 255.255.255.0
   default-router 192.168.100.1
   lease infinite

TIA
Thomas



More information about the cisco-nsp mailing list