07-30-2018 05:46 AM - edited 03-08-2019 03:46 PM
I have a Core Switch cat4000
I want to assign a specific IP to a specific host by MAC, i add the following but Host still take different IP Address:
ip dhcp pool F3
network 10.13.0.0 255.255.0.0
default-router 10.13.0.1
domain-name *****
dns-server x.x.x.x x.x.x.x
ip dhcp pool static
host 10.13.0.165 255.255.0.0
hardware-address xxxx.xxxx.xxxx.xx
also i make release IP address on client and clear ip dhcp binding and renew ip address
Solved! Go to Solution.
07-30-2018 07:11 AM
Whenever a DHCP client sends a DHCP discover message it will send its client identifier or MAC address. You can find what the switch has as the address by using a debug. Use ”debug ip dhcp server packet” and once you find the host’s discovery packet. It will have the a client-identifier. You can take that identifier of the host and configure it in the static pool.
ip dhcp pool static
host 10.13.0.165 255.255.0.0
client-identifier xxxx.xxxx.xxxx.xx
07-30-2018 07:11 AM
Whenever a DHCP client sends a DHCP discover message it will send its client identifier or MAC address. You can find what the switch has as the address by using a debug. Use ”debug ip dhcp server packet” and once you find the host’s discovery packet. It will have the a client-identifier. You can take that identifier of the host and configure it in the static pool.
ip dhcp pool static
host 10.13.0.165 255.255.0.0
client-identifier xxxx.xxxx.xxxx.xx
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