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

Thomas Kernen thomas at ip-man.net
Tue Feb 10 01:53:17 EST 2004


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

I've actually tried both scenarios and neither work, the IP address
allocated is still part of the dynamic pool. Even after multiple "clear
ip dhcp bindings *"

Thomas



More information about the cisco-nsp mailing list