-
OSPF Path Selection Process
- OSPF always chooses an intra-area route over an inter-area route.
- ABR-s ignore type 3 LSA-s learned in a non-backbone area during SPF calculations. That prevents the ABR from choosing routes to Backbone via non-backbone areas.
- The LSAs in the LSDB contain information to create a math equivalent of a figure of a network.
-
1. Router
- One per router, per area.
- Lists: RID, all interface IP addresses in that area.
- Flooded only within the area.
-
2. Network
- One per transit network.
- Created by DR on the subnet.
- Represents: the subnet and all interfaces in it.
- Flooded only within its area of origin.
-
3. Net Summary
- Created by ABR.
- Represents: networks in an area when being advertised into another area.
Defines the subnets in the origin area and their costs.
Does not define the topology of the origin area.
- Flooded only within its area of the origin.
Re-originated on ABRs.
-
4. ASBR Summary
- Created by ABR.
- Advertises a host route to reach an ASBR
Contains ASBR's RID and ABR's cost to reach it.
- Flooded only within its area of the origin.
Re-originated on ABRs.
-
5. AS External
- Created by ASBR for external routes injected in OSPF.
- Processed by other routers depending on the metric type:
E1 -> Cost = Cost to reach ASBR + E1 (cost of the external network).
E2 -> Cost = E2 (cost inside domain negligible when compared with E2).
E1 is always preferred to E2 when both available.
- Flooded to all regular areas.
- 6. Group membership - MOSPF
-
7. NSSA External
- Created by ASBR inside NSSA.
- External route information carried in this type LSAto distinguish from LSA type 5 which is still prohibited in NSSA.
- ABR with the highest RID will translate to LSA type 5 and inject the external routes to other area.