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

Bruce Pinsky bep at whack.org
Mon Feb 9 14:58:45 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Kernen wrote:

| 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
|

Why are you including .11 in the excluded range?  It should be assigned by
DHCP, but through a manual binding rather than a dynamic binding.  Since
.11 is excluded, it won't be assigned to the station requesting it.

- --
=========
bep

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)

iD8DBQFAJ+Z0E1XcgMgrtyYRAvWUAJ9BWiAWNzCdY5cG6KRRsBlo9vjOjgCeO2lx
IgDJkrX5rsbO8w4e+Tsh1ks=
=yked
-----END PGP SIGNATURE-----


More information about the cisco-nsp mailing list