12-03-2015 02:37 AM - edited 03-08-2019 02:56 AM
Hello,
I'm currently looking at this issue where I want to maintain my vlan but change IP Addresses (gradually). My vlan looks as follows and all works well, however I want to add a secondary IP Address for my new range with ip helper-address for that new network. Does anyone know how I can have hosts on the 10.217.4.1 subnet go to the 10.217.1.10 dhcp server and not the one of the primary address (10.218.1.10)?
interface Vlan10
ip address 10.218.4.1 255.255.254.0
ip helper-address 10.218.1.10
##ip address 10.217.4.1 255.255.254.0 secondary
##ip helper-address 10.217.1.10
Thanks,
Peter
Solved! Go to Solution.
12-03-2015 03:37 AM
Hi,
if you just deploy both helper-addresses, the router will forward the DHCP requests to both servers. I don't think there is a way to control that from the router. Your best option is to control it from the DHCP servers by filtering MAC addresses so you can select which server is going to assign the IP address to each host in your network.
Regards,
Julio
12-03-2015 03:37 AM
Hi,
if you just deploy both helper-addresses, the router will forward the DHCP requests to both servers. I don't think there is a way to control that from the router. Your best option is to control it from the DHCP servers by filtering MAC addresses so you can select which server is going to assign the IP address to each host in your network.
Regards,
Julio
12-04-2015 02:05 AM
Ah ok, I'd hoped there would be a way to do it at the router, different VLAN it is!
12-06-2015 07:45 PM
You could just enable forwarding to the new DHCP server. Remember that the older leases will still function, and will be able to RENEW existing leases, as they send the request directly to the DHCP server "they know about" as that's part of the lease information.
As they disconnect and reconnect, the old DHCP and address range will all expire, except for clients that never power down.
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