Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

dhcp binding shows same device twice

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?

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Hi The best way is to first

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

3 REPLIES
New Member

Can you try to use client

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

New Member

Client-identifier solved my

Client-identifier solved my issue. Many thanks

Cisco Employee

Hi The best way is to first

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

227
Views
0
Helpful
3
Replies
CreatePlease to create content