Created on
04-28-2024
11:41 PM
Edited on
11-26-2024
10:52 PM
By
Jean-Philippe_P
Description |
This article describes the OSPF redistribution routes related to the route metrics types. |
Scope | FortiGate. |
Solution |
Considered close to the AS. Metric is based on the sum of the internal and external costs.
Considered far away from the AS. Metric is based on the external cost only.
Each external route is assigned a metric. There are two types of external-route metrics. A type 1 metric is the sum of the external cost plus the internal cost to reach the ASBR. A type 2 metric is only the external cost (the internal cost is not considered). If there are two external routes to the same destination, one type 1 and one type 2, an OSPF router selects the type 1 route over the type 2 route. That is represented in E1 and E2.
E1 routes are useful in networks where internal cost (within the OSPF domain) is relevant to determining the best route to the destination.
E2 routes are useful when internal cost is not important or when it is preferred to maintain a fixed cost for all external routes, regardless of the receiver's location. |