[c-nsp] DHCP Problems - Static

micko micko at micko.net
Fri Oct 29 08:51:11 EDT 2004


Check out: 

http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123newft/123t/123t_11/gtdhcpsm.htm

micko

On Fri, Oct 29, 2004 at 05:22:12AM -0500, Paul Stewart wrote:
> Hi there..
> 
> At one of our sites we use DHCP server from IOS.  Dynamically assigning IP's
> from a pool works fine.  Now, we have a need for some static customers so I'm
> trying to get it to work and running into problems... 
> 
> Our dynamic pool looks like this (public IP's translated to private to protect
> the innocent):
> 
> ip dhcp excluded-address 192.168.0.1 192.168.0.19
> !
> ip dhcp pool wireless
>    import all
>    network 192.168.0.0 255.255.255.0
>    default-router 192.168.0.5
>    dns-server 216.168.96.10 216.168.96.13
>    domain-name nexicom.net
>    lease 0 1
> 
> That works fine...:)
> 
> Now, we've added a static customer on this system and supplied them with a
> Cisco router etc.
> 
> >From their router I can see the following:
> 
> gw-nnr#sh interfaces e1
> Ethernet1 is up, line protocol is up
>   Hardware is PQUICC_FEC, address is 0002.1764.7add (bia 0002.1764.7add)
> 
> etc. etc...
> 
> So I created the following:
> 
> ip dhcp pool Nightingale
>    host 192.168.0.19 255.255.255.0
>    client-identifier 0002.1764.7add
>    default-router 192.168.0.5
>    dns-server 216.168.96.10 216.168.96.13
>    domain-name nexicom.net
> 
> I tried this with client-identifier and also hardware-address statements...
> 
> This static entry doesn't work and I"m confused why...
> 
> When I look at our existing dhcp leases I see:
> 
> gw-pop-bridgenorth#sh ip dhcp binding
> Bindings from all pools not associated with VRF:
> IP address          Client-ID/              Lease expiration        Type
>                     Hardware address/
>                     User name
> 192.168.0.19      0002.1764.7add          Infinite                Manual
> 192.168.0.24      0100.1195.0070.35       Oct 29 2004 06:50 AM    Automatic
> 192.168.0.90      0063.6973.636f.2d30.    Oct 29 2004 06:55 AM    Automatic
>                     3030.322e.3137.3634.
>                     2e37.6164.642d.4574.
>                     31
> 
> 
> The dynamic entry for .90 is actually the customer I"m trying to get on a
> static lease...  Do I copy the client-id, hardware address or username that is
> showing up into my static entry to make this work?
> 
> Confused..:)
> 
> Thanks for any help
> 
> Paul
> 
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list