09-26-2019 05:29 PM
Hello Cisco team,
I have a Cisco 881 Router and it is assigning an IP: 10.64.36.116 to a Cisco IP Phone. I dont want this IP to be assigned to be any device. I have written a command on the Router: ip dhcp excluded-address 10.64.36.116 but still the Router is assigning the same IP to the IP Phone. I have restarted the phone after typing the above command on the Router but it still got the same IP. Is this command correct or does it need to be corrected ?
Please advise accordingly at the earliest.
Thanks,
Vik.
09-27-2019 01:12 AM
Hi there,
Assuming the 881 is the DHCP server managing the scope for the subnet that 10.64.36.116 resides in, then yes, the ip dhcp exclude command is the correct one to use.
Does the IP address show up in the binding table?
sh ip dhcp server bind
...can you try and clear the binding:
clear ip dhcp binding 10.64.36.116
Now restart the phones network interface and see if it picks up the same address.
cheers,
Seb.
09-27-2019 12:20 PM
ok thanks for the update.
09-27-2019 01:30 AM
Hello,
you could also create a static client reservation bound to a non-existing MAC address, to make sure the IP address never gets assigned. Below are the reservations (both client-id and hardware address, you might want to configure both):
ip dhcp pool BLACKHOLE_IP_PHONE_1
host 10.64.36.116 255.255.255.0
client-identifier 0100.333c.444d.5f
!
ip dhcp pool BLACKHOLE_IP_PHONE_2
host 10.64.36.116 255.255.255.0
hardware-address 0033.3c44.4d5f
09-27-2019 12:21 PM
Ok thanks for the update.
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