02-20-2017 05:52 AM - edited 03-08-2019 09:25 AM
hello
i have cisco 860 router
i have an DHCP service working on it.
when i plug a two devices onto a Lan network it getting IP addresses from the DHCP
but if i replace a "broken" device with "another" device( so total devices on my LAN network remains always the same) the "another" device getting the IP address of a "broken" device. and that i don't want to be. I want a permanent IP address to a specific MAC address. I don't want my IP addresses will hang around in my network. because i am working on some project that i must make "restart" to all Devices on my network. and every restart a different device getting a different IP address.
ho can i configure it?
is not it called "remember" command??
conf t
ip dhcp pool poolname
remember
?
02-20-2017 06:34 AM
You have to configure exclusion for your Ip address:
Router(config)#ip dhcp excluded-address X.X.X.X (Your ip address)
and configure the address like a static IP in your PC.
PD: Remember rate the useful comments.
Regards,
02-20-2017 06:51 AM
well thank you but it does not that i want to do , running around the all network and configure static IP. i want to make it simlier. like i have already configured "infinite" to the pool. but may be i need to add also "remember" to the pool?
02-20-2017 07:40 AM
Well you can try to do this:
ip dhcp pool TReservation
host X.X.X.X (IP address)
hardware-address aaaa.bbbb.cccc (MAC address)
client-name Test_User
PD: Remember rate the useful comments.
Regards,
02-20-2017 11:07 PM
what does it means "client-name"? I don't need a names here. I am only talking about MAC and IP addresses. I want the device will keep it's IP address permanently even if the device is being reset.
02-21-2017 04:42 AM
"client-name" command is only for administration and organization. In my last answer I told you the commands you need to do what you want:
ip dhcp pool Reservation (Pool name)
host X.X.X.X (IP address)
hardware-address aaaa.bbbb.cccc (MAC address)
Regards,
02-20-2017 07:22 AM
DHCP reservations is what you are looking for.
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