02-09-2013 01:13 AM - edited 03-07-2019 11:36 AM
Hi,
I am trying to bind Mac address manually to IP in Cisco 881 router so that if user wants to change the IP address also they should get the same IP.
I have configured as below but it is not working.
ip dhcp pool Test
host 192.168.0.10 255.255.255.0
hardware-address xxxx.xxxx.xxxx.xxxx
this IP was excluded from dhcp range
ip dhcp excluded-address 192.168.0.10
Can anyone tell where i am doing wrong.
Thanks in advance.
Regards,
Jeevan.
Solved! Go to Solution.
02-10-2013 04:41 AM
Hi,
client-identifier 08ed.b94d.8cfe this is not a valid client-identifier but a MAC address so the correct identifier is
0108.edb9.4d8c.fe and don't forget to clear the dynamic binding first if it exists:
-to see it type sh ip dhcp binding 192.168.111.120
-to clear it clear ip dhcp binding 192.168.111.120
Regards
Alain
Don't forget to rate helpful posts.
02-12-2013 01:53 AM
Hi Jeevan,
i'm also awaiting for your rating about the manual binding in dhcp which was your original post More seriously it is not a paid TAC here and people have also their work and life outside this forum so you should be a little bit more patient or if you want instantaneous answers get a TAC call.
anyway, concerning your second problem it could be solved by using DHCP snooping and IP Source guard if you have a switch supporting this feature between your clients and your router.
other solutions :
-you could configure a static arp entry for this address on the router and at least the guy taking this address wouldn't be able to communicate with the intenet and other subnets
-if you know the port where the dhcp client is connected and it is always the same then you could do an port acl on other ports debying this source ip address.
-another better solution is to prohibit users from changing their address with a windows local or AD GPO.
Regards
Alain
Don't forget to rate helpful posts.
02-09-2013 02:40 AM
Hi Jeevan,
As u have alreday excluded the ip address from DHCP pool this ip wont be relesed when the user trying to connect. The user can mannually configure this ip address.
02-09-2013 02:41 AM
Hi,
-don't exclude the ip address otherwise your dhcp server will never allocate it to clients
-remove the dynamic binding first with clear ip dhcp binding 192.168.0.10
- try client-identifier 01xx.xxxx.xxxx.xx instead of hardware-address in your host pool
Regards
Alain
Don't forget to rate helpful posts.
02-09-2013 02:50 AM
Hi,
sorry i typed it wrong i have excluded 192.168.0.1 192.168.0.9
and 192.168.0.11 192.168.0.254
but still not working.
02-09-2013 02:53 AM
Hi,
have you done point 2 then create the host pool with the client-identifier command ?
have you got a parent network pool ?
Regards
Alain
Don't forget to rate helpful posts.
02-09-2013 03:00 AM
Hi Cadet,
Thanks for the reply let me try that option.
Moreover can i am also trying peer to peer app using class-map but it is not working can you help me on this.
Regards,
Jeevan.
02-09-2013 03:06 AM
Hi,
let's solve the dhcp problem first, will you ?
post output from sh run | s ip dhcp and sh ip dhcp binding
Regards
Alain
Don't forget to rate helpful posts.
02-09-2013 04:57 AM
Hi,
Please check the config
ip dhcp excluded-address 192.168.111.1 192.168.111.119
ip dhcp excluded-address 192.168.111.160 192.168.111.254
!
ip dhcp pool Test
network 192.168.111.0 255.255.255.0
default-router 192.168.111.8
dns-server 192.168.111.1
update arp
!
ip dhcp pool jeevan
host 192.168.111.120 255.255.255.0
client-identifier 08ed.b94d.8cfe
But still no luck. please guide me where i am going wrong.
Regards,
Jeevan.
02-10-2013 04:41 AM
Hi,
client-identifier 08ed.b94d.8cfe this is not a valid client-identifier but a MAC address so the correct identifier is
0108.edb9.4d8c.fe and don't forget to clear the dynamic binding first if it exists:
-to see it type sh ip dhcp binding 192.168.111.120
-to clear it clear ip dhcp binding 192.168.111.120
Regards
Alain
Don't forget to rate helpful posts.
02-11-2013 06:01 AM
Hi,
Thanks for the support now it is working.
But if the particular system if offline i recognised that IP can be used by another user ( Static IP ) which i dont required.
Can u help me on this.
Thanks,
Jeevan.
02-12-2013 01:22 AM
Hi Alain,
I am awaiting for your reply on the above..
After binding IP to MAC for DHCP it is working, but if that particular user is offline then other user is able to use that IP.
Can u help me with that.
Thanks,
Jeevan.
02-12-2013 01:53 AM
Hi Jeevan,
i'm also awaiting for your rating about the manual binding in dhcp which was your original post More seriously it is not a paid TAC here and people have also their work and life outside this forum so you should be a little bit more patient or if you want instantaneous answers get a TAC call.
anyway, concerning your second problem it could be solved by using DHCP snooping and IP Source guard if you have a switch supporting this feature between your clients and your router.
other solutions :
-you could configure a static arp entry for this address on the router and at least the guy taking this address wouldn't be able to communicate with the intenet and other subnets
-if you know the port where the dhcp client is connected and it is always the same then you could do an port acl on other ports debying this source ip address.
-another better solution is to prohibit users from changing their address with a windows local or AD GPO.
Regards
Alain
Don't forget to rate helpful posts.
02-03-2021 03:43 AM
Hi,
I m sitting Cisco 9300 multilayer switch I m doing Manual binding with client identifier command and it is working fine but when I m trying to using hardware-address command then binding not working..can anybody help me what is the reason behind why hardware-aadress command not working.
Regards
Vipin
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