08-28-2014 09:26 PM - edited 03-07-2019 08:34 PM
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?
Solved! Go to Solution.
08-29-2014 04:03 AM
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
08-29-2014 02:52 AM
Can you try to use client-identifier and remove the command hardware-address ?
08-31-2014 09:11 PM
Client-identifier solved my issue. Many thanks
08-29-2014 04:03 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide