The second gateway will work in the event the first gateway is unreachable.
The IP address of the default router should be on the same subnet as the client subnet. You can specify up to eight routers in the list. Routers are listed in order of preference (address1 is the most preferred router, address2 is the next most preferred router, and so on).
The following link provides more information on this command:
Actually, I knew that. But I still have problem with it.
It seems easy, but not.
I give you my topology.
R2 and R3 connect to R1, between them, it is a WAN, maybe ATM,ISDN,DDN, or OSPF, eigrp, rip, etc.
and R2,R3 can ping R1
I configure "ip helper-address IPofR1" on R2 and R3.
E0 of R2 and E0 of R3 on the same subnet.
E0 R2, 192.168.0.2
E0 R3, 192.168.0.3
for the DHCP configuration of R1, I set the default-router like below
default-router 192.168.0.2 192.168.0.3
now, the PC in the subnet of 192.168.0.0 can get IP from DHCP server and the default-gateway is 192.168.0.2. everything is fine now.
I release the IP of PC and shutdown the E0 of R2.
Then I renew the IP of PC and the PC can still get the IP from dhcp server, but the default-gateway is 192.168.0.2 too, and the PC can not ping the 192.168.0.2, of course, can not ping the dhcp server, but the pc can ping 192.168.0.3
That is what I was confused.
Meanwhile, I am still confused if the second gateway work, what is the diffirent between HSRP and the DHCP? I think we don't need the HSRP, right?
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...