I have two routers in the same subnet that have a HSRP configuration in order to take over, if one of the device fails. There is the same DHCP configuration on both devices:
ip dhcp pool LAN
network 172.16.220.0 255.255.255.0
default-router 172.16.220.1
dns-server 8.8.8.8 8.8.4.4
how can i make sure, that devices get only IPs from the HSRP active device? Usually, this is done via a small delay on the standby device. How can i configure this in IOS/IOS-XE?
ip helper-address
) on your routers. That way, the active router forwards the DHCP request between the host and the DHCP server.