Scenario:
If the DHCP server (Pri_DHCP) at Site A fails, the clients must get IP address from DHCP server (Bck_DHCP) at Site B. The backup DHCP must only be used in case the primary fails.
Logic: To solve this puzzle, there must be some kind of monitoring mechanism to figure out if the primary DHCP is available. For example we could use IP SLA monitor operation to check if the DHCP Service is working at the Primary DHCP Server.
A static route is attached to a tracking object which installs a route to null accordingly. The router R1 will not sent the DHCP requests to the ‘ip helper-address’ because of the lack of route to it. Now let’s try implementing it.
First we configure the IP SLA rule
Continue reading »