350-501 · Question #261
Refer to the exhibit. If RC is a stub router, which entry must be injected so that it will send traffic outside the OSPF domain?
The correct answer is D. default route. If RC is a stub router, it needs a default route injected into its OSPF area to enable it to send traffic destined for networks outside its OSPF domain. Stub areas do not allow external routes, so a default route serves as the gateway to the rest of the network.
Question
Refer to the exhibit. If RC is a stub router, which entry must be injected so that it will send traffic outside the OSPF domain?
Exhibit
Options
- Avirtual link between RB and RC
- Bsham link
- Cmore specific route
- Ddefault route
How the community answered
(47 responses)- A6% (3)
- B13% (6)
- C4% (2)
- D77% (36)
Why each option
If RC is a stub router, it needs a default route injected into its OSPF area to enable it to send traffic destined for networks outside its OSPF domain. Stub areas do not allow external routes, so a default route serves as the gateway to the rest of the network.
A virtual link is used to connect a disconnected OSPF area to the backbone area (Area 0), not for providing a default route to a stub router.
A sham link is used in MPLS VPNs to connect two PE routers belonging to the same VPN that have a common site via a backdoor link, to prevent routing loops and ensure optimal forwarding, not to provide a default route to a stub router.
While more specific routes are always preferred, a stub area cannot receive external specific routes. Therefore, a default route is the only viable mechanism to exit the stub area for unknown destinations.
A stub area is an OSPF area that does not accept external routes (Type 5 LSAs) and sometimes even Type 4 LSAs. To allow routers within a stub area, like RC, to reach destinations outside the OSPF domain or other OSPF areas, the ABR (Area Border Router) connecting the stub area must inject a default route (0.0.0.0/0) into that stub area. This default route directs all traffic not matching more specific routes towards the ABR.
Concept tested: OSPF stub area default route injection
Source: https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/13689-53.html#stub
Topics
Community Discussion
No community discussion yet for this question.
