Education & Development
IT & Security Boot Camps
Security Awareness Training
what is the different between a candidate default route and gateway of last resort
I am referring to ccnp route ocg pg 130
A candidate default route is a prefix that
be used as a default route, but doesn't have to. With a gateway of last resort, mainly used with the
command you set a network and a next-hop router as a last resort (default gateway). As you can see in the OCG, the I1 router has a candidate default route to network 22.214.171.124/24 because of the
ip default-network 126.96.36.199
(mind the classful nature).
By advertising the candidate default 188.8.131.52 0.0.0.255 network in EIGRP AS 1 other EIGRP routers in AS 1 see the network as a candidate default, and can have this network set as a gateway of last resort. Because the 184.108.40.206/24 prefix is the only candidate default in the IP routing table of B1, it set's the gateway of last resort to the next hop for the 220.127.116.11/24 prefix, which is L1's interface.
So they really work together in providing a default route.