04-16-2022 10:44 PM
Hey.
I am facing issue with releasing one reserved IP from dhcp pool.
I got "Address 172.***.***.*** is not reserved. Use the clear binding command" message when i wrote " no address 172.***.***.*** client-id ****.****.****.** " , however, if I write "clear ip dhcp bind 172.***.***.*** " it is showed "Address 172.***.***.*** is not in the database " to me.
sw version = 16.12.05b
model = WS-C3850-24T
04-17-2022 12:14 AM
Can you post the DHCP Config (Hope switch doing DHCP reservation here)
show dhcp IP binding - post here
04-17-2022 01:05 AM
04-18-2022 12:59 AM - edited 04-18-2022 01:00 AM
Post output rather screenshots here - so easy to read :
here is bold in my suggestions :
ip dhcp excluded-address 172.x.x.x (this is gateway IP and range for reserver IP Address to be here)
ip dhcp pool myPool network 172.x.x.x 255.255.255.128 default-router 172.x.x.x dns-server 192.168.x.x 192.168.x.x lease 7 23 59 address 172.x.x.x client-id x.x.x.x ( MAC address need to be add As it is connected using Ethernet media then you have to add 01 before the MAC Address as
04-18-2022 01:33 AM
I don't exclude any range of IP.
I had to reboot my switch and my problem is solved :))
04-18-2022 02:15 AM
that is a short-term fix,. but the Long term suggests to exclude, so it is not part of DHCP scope to allocate an IP address that is statically configured, which DHCP Sever is not aware of.
04-18-2022 06:31 AM
You are correct
04-17-2022 12:57 AM
Hello,
try and disable/enable the DHCP service, that sometimes helps"
3850#conf t
3850(config)#no service dhcp
3850(config)#service dhcp
04-17-2022 02:47 AM
what happens if I disable DHCP server? Dose it make trouble for another configuration or users who got ip ?
04-17-2022 02:25 AM
Posting the output of show run | sec dhcp would be helpful.
Is it possible that the 172.x.x.x subnet and the DHCP pool are associated with a VRF?
04-17-2022 02:38 AM
ip dhcp pool myPool
network 172.x.x.x 255.255.255.128
default-router 172.x.x.x
dns-server 192.168.x.x 192.168.x.x
lease 7 23 59
address 172.x.x.x client-id x.x.x.x
04-17-2022 05:23 AM
Your config is OK except
you must config the exclude for ip address for host with client-id
if you not config the exclude the DHCP try to assign IP to other host.
07-31-2022 10:07 PM - edited 07-31-2022 10:07 PM
Hey
I am facing this problem again.
I can't release an IP that i reserved for host. (DHCP doesn't assign the IP for host)
Could you help me?
08-01-2022 05:48 AM
Dont worry,
show the last dhcp config,
show ip dhcp binding
show ip dhcp conflict
show ip dhcp database
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