Can i just have two routers working as DHCP server in one LAN scenario, such that one router acting as primary and second one as failover to the primary router? Just wondering if i can have redundancy in dhcp server as well.
Moreover, if I have a windows server acting as DHCP server, can i have router acting as dhcp server(secondary) as well. just in case primary is down router can act as dhcp server.
If they both respond to hosts, the hosts will decide which dhcp offer to accept.
When your dhcp servers are located more than 1 hop away, then you can configure several "ip helper address" commands in the dhcp relay agent, the 1st command pointing to the 1st dhcp server, the 2nd command pointing to the backup dhcp server.
Redundancy with DHCP servers are generally done in the following way
create two scopes on two seperate servers. On one server say A, create an exclusion that covers the first half of the scope. On the second server exclude the second half of the scope. This prevents one server from allocating addresses from the other server; and also stops one server from sending out NAKs to DHCP requests/renews intended for the other server.
Both Istvan and Narayan have focused their answers on the part of your question about having 2 DHCP servers (whether it is 2 routers or 1 router and 1 external server). Let me focus on the other part of your question which is about having 1 server as primary and the other server as backup. You can not really do this. Both servers will be active. Both servers will receive the DHCP request and both servers will offer addresses. As mentioned by Istvan the client will choose which address to accept.
So yes you can have 2 DHCP servers to provide redundancy. But no you can not really have one as backup to function only if the primary fails. They will both be active all the time.
This document gives several answers on frequently asked questions for PFRv3 channel state behavior.
Q1: What are all the channel operational states from a BR (border role) perspective and what are the rules/conditions to be in each st...
The need was to reach an host inside a LAN through a VPN connection managed by the LAN gateway (Cisco 1921).
The LAN gateway performs NAT and there was a dedicate nat rule for the host i wanted to reach through VPN.
I couldn't connect to the hos...
We have 3 identical switches configured by someone else and would like to claim some of the Gigabit ports(G1/G2/G3/G4) for use on servers. When we try to change the wiring and configuration, we run in to connectivity issues. Attached is a des...