04-22-2018 02:34 AM - edited 03-08-2019 02:44 PM
Good Day,
i want to bind mac address with DHCP IP but client is getting different IP address on each joining.
i tried below
ip dhcp pool Static
host 192.168.1.4 255.255.255.0
hardware-address abcd.xxxx.xxxx
client-name user-Macbook
04-22-2018 04:22 AM - edited 04-22-2018 04:24 AM
TRy this syntax:
1- Router(config)# ip dhcp pool Test
2- Router(dhcp-config)# host 192.168.1.22 255.255.255.0
3-Router(dhcp-config)# client-identifier unique-identifier
verify this link: https://learningnetwork.cisco.com/thread/25168
04-22-2018 06:51 AM
The hardware-address command is only used when the client does not supply a client identifier. So if you client does specify a client identifier, you need to use the client-identifier command instead.
The trick is finding out what the client-identifier is. In this case, look a the DHCP bindings already allocated, and you should be able to find the client-identifier to use.
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