Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP reservation not working for Aironet AP (Stand Alone) 1

Status
Not open for further replies.

daniel2002p

IS-IT--Management
Aug 22, 2014
15
0
0
US
I am trying to add a reservation to my IP Pool on a 3750 switch. From what I can tell I have the setup correctly with the client ID but for some reason it get an IP from the DATA pool and not the WIFI pool.



Here is my config:



no ip dhcp use vrf connected

ip dhcp excluded-address 10.5.44.1 10.5.44.30

!

ip dhcp pool DATA

network 10.5.44.0 255.255.252.0

default-router 10.5.44.1

domain-name mydomain.com

dns-server 10.1.1.7 10.1.1.8

!

ip dhcp pool WIFI

host 10.5.44.100 255.255.252.0

client-identification 0100.21a0.d626.82

!



Basically I turned on DHCP logging and it gives the following:

00:09:31: DHCPD: checking for expired leases.

00:10:23: DHCPD: Sending notification of DISCOVER:

00:10:23: DHCPD: htype 1 chaddr 0021.a0d6.2882

00:10:23: DHCPD: interface = Vlan1

00:10:23: DHCPD: class id 436973636f204150206331313330

00:10:23: DHCPD: out_vlan_id 0

00:10:23: DHCPD: Sending notification of DISCOVER:

00:10:23: DHCPD: htype 1 chaddr 0021.a0d6.2882

00:10:23: DHCPD: interface = Vlan1

00:10:23: DHCPD: class id 436973636f204150206331313330

00:10:23: DHCPD: out_vlan_id 0

19:10:24 EST: %DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 10.5.44.31.

00:10:26: DHCPD: Adding binding to radix tree (10.5.44.32)

00:10:26: DHCPD: Adding binding to hash tree

00:10:26: DHCPD: assigned IP address 10.5.44.32 to client 0100.21a0.d628.82. (2069 0)

00:10:26: DHCPD: DHCPOFFER notify setup address 10.5.44.32 mask 255.255.252.0

00:10:26: DHCPD: Sending notification of ASSIGNMENT:

00:10:26: DHCPD: address 10.5.44.32 mask 255.255.252.0

00:10:26: DHCPD: htype 1 chaddr 0021.a0d6.2882

00:10:26: DHCPD: lease time remaining (secs) = 86400

00:10:26: DHCPD: interface = Vlan1

00:10:26: DHCPD: out_vlan_id 0



When I show the binding I get this. It is getting the 10.5.44.33 address instead of 100.

San_Diego_SW1#sh ip d b

Bindings from all pools not associated with VRF:

IP address Client-ID/ Lease expiration Type

Hardware address/

User name

10.5.44.33 0100.21a0.d628.82 Mar 01 1993 07:10 PM Automatic

10.5.44.100 0100.21a0.d626.82 Infinite Manual



What in the world am I doing wrong here so that the reservation does not get used?

Thanks in advance,

--Dan
 
not sure why the client-id doesn't work for reservations,... if anyone knows the answer i would like to know as well..

but i've used hardware address for reservation and that seems to work well..
so give that a try ...


We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
I probably should have added this but I tried both client-id and hardware-addy with no success.

--Dan
 
The config looks correct but I think you may have a typo.
You set: client-identification 0100.21a0.d6[highlight #FCE94F]26[/highlight].82
While your debug output shows: 00:10:23: DHCPD: htype 1 chaddr 0021.a0d6.[highlight #FCE94F]28[/highlight]82
Hence it fails to match.

Hope this helps.
 
Holy crud, you are completely right sir. Iggsterman thank you so much, I've been looking at it so long my brain just told me the macs matched. Sometimes it helps to have a second set of eyes look at it. Thank you again sir!

--Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top