INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

DHCP reservation not working for Aironet AP (Stand Alone)

DHCP reservation not working for Aironet AP (Stand Alone)

(OP)
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

RE: DHCP reservation not working for Aironet AP (Stand Alone)

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.

RE: DHCP reservation not working for Aironet AP (Stand Alone)

(OP)
I probably should have added this but I tried both client-id and hardware-addy with no success.

--Dan

RE: DHCP reservation not working for Aironet AP (Stand Alone)

The config looks correct but I think you may have a typo.
You set: client-identification 0100.21a0.d626.82
While your debug output shows: 00:10:23: DHCPD: htype 1 chaddr 0021.a0d6.2882
Hence it fails to match.

Hope this helps.

RE: DHCP reservation not working for Aironet AP (Stand Alone)

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close