What is the path this packet will take from RTB to reach RTG?

Refer to the exhibit.

A packet from RTD with destination RTG, is reaching RTB. What is the path this packet will take
from RTB to reach RTG?

Refer to the exhibit.

A packet from RTD with destination RTG, is reaching RTB. What is the path this packet will take
from RTB to reach RTG?

A.
RTB – RTA – RTG

B.
RTB – RTD – RTC – RTA – RTG

C.
RTB – RTF – RTE – RTA – RTG

D.
RTB will not be able to reach RTG since the OSPF configuration is wrong.

Explanation:
RTB takes the intra area route in Area 1, and RTA is directly connected.
RTB#sh ip cef exact-route 1.1.1.5 5.5.5.2
1.1.1.5 -> 5.5.5.2 (next hop 3.3.3.1)
RTA#sh ip cef exact-route 1.1.1.5 5.5.5.2
1.1.1.5 -> 5.5.5.2 : Fal0/0 (attached)



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Fe

Fe

network 3.3.3.3 on router A was not configured as part of OSPF

Intra-area routes are preferred over inter-area or external routes regardless of their cost; see Section 16.2 paragraph (6) of the OSPF RFC.
Inter-area routes are preferred over external routes; see Section 16.2 paragraph (5) of the OSPF RFC.
E1 routes are preferred over E2 routes; see Section 16.4 paragraph (6) of the OSPF RFC.
External routes received from an intra-area ASBR should be preferred over external routes received from ASBRs in other areas. Cisco IOS ignores this rule even after configuring no compatible rfc1583 (Section 16.4.1 of the OSPF RFC)
When comparing E1 routes, the route metric is the external cost added to the internal cost; see Section 16.4 paragraph (6.d) of the OSPF RFC.
The internal cost of an E1/E2 route is the cost between the current router and the forwarding address specified in the Type-5 LSA (or originating ASBR if the forwarding address is set to 0.0.0.0); see Section 16.4 paragraph (3) of the OSPF RFC.
When comparing E2 routes, only the external costs are compared; see Section 16.4 paragraph (6.b) of the OSPF RFC.
If multiple E2 routes have the same external cost, the internal cost (as above) is compared; see Section 16.4 paragraph (6.d) of the OSPF RFC.
NSSA (type-7 LSA) routes should be preferred over external (type-5 LSA) routes (paragraphs (6.c) and (6.e) of Section 2.5 of RFC 3101). Cisco IOS prefers external routes over NSSA routes; even if they have the same cost as the external routes (and maximum-path is configured), NSSA routes are not entered in the IP routing table.
It seems the final tie-breaker is the LSA stability (or its position in the topology database/SPF tree?). For example, if the router cannot enter all equal-cost external routes into the IP routing table (based on maximum-path value), it appears to select the more stable ones (described by LSAs that have been longer in the OSPF topology database).