×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

dhcp binding shows same device twice

Endorsed Question
Aug 28th, 2014
User Badges:

I am trying to assign a static IP to a radar on my network. The mac address is 0100.08de.0000.00

I have the following in the running config:

ip dhcp pool radar

host 10.1.30.176 255.255.255.0

hardware-address 0100.08de.0000.00

 

when i enter show ip dhcp binding

the mac address shows up twice on the list

10.1.30.106  0100.08de.0000.00   aug 29 2014  automatic

10.1.30.176  0100.08de.0000.00  infinite         Manual

 

It appears the radar is receiving a dhcp lease rather than the static address I want it to take. I can ping the radar on 10.1.30.106 not 10.1.30.176.

Why won't the radar accept the  .176 ip?

 

 

 

Cisco Endorsed by educruz
Sandeep Sharma about 2 years 11 months ago

Hi

 

The best way is to first use exclude command and then try client identifier. You can use the steps below:

 

ip dhcp excluded-address <ip address you are trying to get rid of the lease from>

 

then instead of hardware-address, try using client-identifier 

 

ip dhcp pool STATIC

  host 10.1.130.176 /24

  Client-identifier xxxx.xxxx.xxxx

 

 

Do ipconfig /release then ipconfig /renew in command prompt and it will bind the IP to the computer's mac address. you can later do  "no ip dhcp excluded-address" to make sure the IP add held to the computer.

 

Or you can also try directly these commands:

 

ip dhcp pool STATIC

  host 10.1.130.176 /24

  Client-identifier xxxx.xxxx.xxxx

 

Thanks & Regards

Sandeep

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Walter Astori Fri, 08/29/2014 - 02:52
User Badges:

Can you try to use client-identifier and remove the command hardware-address ?

Sandeep Sharma Fri, 08/29/2014 - 04:03
User Badges:
  • Cisco Employee,

Hi

 

The best way is to first use exclude command and then try client identifier. You can use the steps below:

 

ip dhcp excluded-address <ip address you are trying to get rid of the lease from>

 

then instead of hardware-address, try using client-identifier 

 

ip dhcp pool STATIC

  host 10.1.130.176 /24

  Client-identifier xxxx.xxxx.xxxx

 

 

Do ipconfig /release then ipconfig /renew in command prompt and it will bind the IP to the computer's mac address. you can later do  "no ip dhcp excluded-address" to make sure the IP add held to the computer.

 

Or you can also try directly these commands:

 

ip dhcp pool STATIC

  host 10.1.130.176 /24

  Client-identifier xxxx.xxxx.xxxx

 

Thanks & Regards

Sandeep

Actions

This Discussion