[c-nsp] Static DHCP mapping

David Coulson david at davidcoulson.net
Thu Sep 21 12:24:10 EDT 2006


I've done this before, but it doesn't want to work for me now.

ip dhcp pool WirelessAPool
   import all
   network 10.2.0.0 255.255.0.0
   dns-server 66.181.106.6 66.181.100.36
   default-router 10.2.0.1
!
ip dhcp pool STATIC-1
   host 10.2.0.59 255.255.0.0
   hardware-address 0100.166f.b5ef.af

However, in the DHCP binding info, I get this.


Cisco1800#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address          Client-ID/              Lease expiration        Type
                    Hardware address/
                    User name
10.2.0.50           0100.166f.b5ef.af       Sep 22 2006 03:43 PM
Automatic
10.2.0.59           0100.166f.b5ef.af       Infinite                Manual
Cisco1800#

The MAC addresses match (although why they've got 01 at the front is
anyone's guess), but I can't figure out how to make it static the
correct address rather than pull from the pool.

I know it's something stupid and obvious, but I can't put my finger on it.

David




More information about the cisco-nsp mailing list