cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
473
Views
0
Helpful
2
Replies

IP Address Binding with MAC

Imran Irshad
Level 1
Level 1

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

2 Replies 2

Dennis Mink
VIP Alumni
VIP Alumni

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

Please remember to rate useful posts, by clicking on the stars below.

Philip D'Ath
VIP Alumni
VIP Alumni

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.

Review Cisco Networking products for a $25 gift card