cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1558
Views
0
Helpful
3
Replies

dhcp binding shows same device twice

engineerongliss
Level 1
Level 1

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

Sandeep Sharma
Cisco Employee
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

View solution in original post

3 Replies 3

Walter Astori
Level 1
Level 1

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

Client-identifier solved my issue. Many thanks

Sandeep Sharma
Cisco Employee
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

Review Cisco Networking for a $25 gift card