External Routes
External routing information can be gained by OSPF through a number of means. The most common means is through redistribution from another routing protocol. This external route information must then be made available throughout the OSPF AS in order for it to be of use. The AS boundary routers (ASBRs) do not summarize the external routing information, but ASBRs flood the external route information throughout the AS. Every router receives this information, with the exception of stub areas.
NOTE Summarization at ASBR happens only when configured with an outbound distribute list or an OSPF Summary statement, but this not the default. By default, Cisco routers let all external routes in without summarization.
The types of external routes used in OSPF are as follows:
- E1 routes-E1 routes' costs are the sum of internal and external (remote AS) OSPF metrics. For example, if a packet is destined for another AS, an E1 route takes the remote AS metric and adds all internal OSPF costs. They are identified by the E1 designation within the OSPF routing table.
- E2 routes-E2 routes are the default external routes for OSPF. They do not add the internal OSPF metrics; they use the remote AS only, regardless of where they are in the AS. For example, if a packet is destined for another AS, E2 routes add only the metrics from the destination AS associated with reaching the destination.
TIP Multiple routes to the same destination use the following order of preference: intra-area, inter-area, E1, and E2.
In this tutorial:
- OSPF Basics
- What Is a Routing Protocol?
- Basic Routing Protocol Operation
- Link-State Versus Distance Vector Routing Protocols
- Link-State Routing Protocols
- OSPF Characteristics
- Integrated Intermediate System-to-Intermediate System
- Distance Vector Routing Protocols
- Selecting a Routing Protocol
- Operational Considerations
- Protocols Supported
- Routing Hierarchies
- IP Address Management
- IP Encapsulation Support
- Technical Considerations
- Routing Updates
- Scalability
- Business Considerations
- SPF Overview
- OSPF Routing Hierarchy
- Hierarchical Network Design Techniques
- Routing Types Within an OSPF Network
- External Routes
- OSPF Areas
- Characteristics of a Standard OSPF Area
- Stub Areas
- Not-So-Stubby Areas
- OSPF Operational Environment
- Types of OSPF Routers
- OSPF Network Types
- Router Identification
- Neighbors
- Adjacencies