In the event that I have a pair of HSRP routers that also act as DHCP servers, what is the best way to avoid an IP address conflict? I don't want the Active Router to give out an IP, fail and then have the Standby (now the Active) give out the same IP again to different device.
I am not aware of HSRP doing any kind of DHCP binding synchronization. My first though is to give each router half of the DHCP range. But this raises two concerns for me:
1. If the range on the Active is used up, will the Standby start to respond to DHCP discoveries?
2. In the DHCP configuration, when I use the network command I will use (for example) network 192.168.1.0 255.255.255.128 on the Active and network 192.168.1.128 255.255.255.128 on the Standby.
Won't this incorrectly give the hosts a /25 subnet masks? The LAN IP is just 192.168.1.1/24 - which is excluded of course, along with the Standby router and HSRP IP. From a quick CLI context sensitive help search it looks like the subnet prefix-length command might get around this but I'm not sure...