Question about DHCP Bindings

Unanswered Question
Jul 19th, 2009
User Badges:

Hi All,

I'm seeing some strange DHCP bindings on our router.

core2#sh ip dhcp binding

IP address Client-ID/ Lease expiration Type

Hardware address 0065 Jul 21 2009 02:54 PM Automatic 0100.2608.e469.17 Jul 21 2009 02:06 PM Automatic 0021.e9a0.777c Infinite Automatic

DHCP config:

ip dhcp pool Wireless-512b





What I don't understand is:

1/ Why is one DHCP client able to obtain an "Infinite" lease? I haven't set the lease option in the dhcp config and it should default to just 1 day. But there's this one DHCP client that keeps getting an infinite lease.

2/ How can one set the Client-ID/Hardware address to something other than the mac address? In the example we're getting a DHCP request from a Client-ID with 0065 - how is this possible???



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
pidoshi Tue, 07/21/2009 - 00:06
User Badges:
  • Cisco Employee,

Hi Andy,

To answer for #1, it seems that you'r receiving a request from a BOOTP client, you might wanna check RFC1534 for the expected behavior of Infinite lease for a BOOTP client. As a solution you might wanna let the client use DHCP instead if that's possible or ignore BOOTP request on the router using "ip dhcp bootp ignore"

For #2 - Its Implementation specific, i mean it ideally depends whether the Client has the capability to insert DHCP Option 61 as part of the DHCP Discover/request packets..



asaykao73 Tue, 07/21/2009 - 00:10
User Badges:

Thanks Pinku.

1/ "ip dhcp bootp ignore" is not supported on the 7606, so will just have to live with this infinite lease for now.

2/ you are correct, looks to be implementation specific with the client being able to utilize option 61.



pidoshi Tue, 07/21/2009 - 00:17
User Badges:
  • Cisco Employee,

What code do you have on the 7606 ?



asaykao73 Tue, 07/21/2009 - 00:19
User Badges:

Running Version 12.2(18)SXF11

core2(config)#ip dhcp ?

conflict DHCP address conflict parameters

database Configure DHCP database agents

excluded-address Prevent DHCP from assigning certain addresses

limited-broadcast-address Use all 1's broadcast address

ping Specify ping parameters used by DHCP

pool Configure DHCP address pools

relay DHCP relay agent parameters

route Specify the type of routes for clients on unnumbered interfaces

smart-relay Enable Smart Relay feature

snooping DHCP Snooping

asaykao73 Tue, 07/21/2009 - 00:22
User Badges:

There is the option to use "no ip bootp server".

When I enable this command and clear the DHCP bindings, the client still gets on with an infinite lease. Seems to have no impact. 0021.e9a0.777c Infinite Automatic

pidoshi Tue, 07/21/2009 - 01:15
User Badges:
  • Cisco Employee,

I don't think so disabling "bootp server" will work. It seems the later 12.2SR codebase has the option for disabling BOOTP request via "ip dhcp bootp ignore" CLI..



asaykao73 Tue, 07/21/2009 - 21:36
User Badges:

Hi Pinku,

We'll live with it for now :)

Thanks for your help.




This Discussion