[Network] 라우팅 선호도/우선순위(Routing Preference) 규칙
라우팅 선호도/우선순위를 결정하는 순서는 ① Prefix Length/Route Speciticity, ② Administrative Distance, ③ Metric/Cost 입니다.
- Prefix Length/Route Speciticity
- The longest-matching route is preferred first. Prefix length trumps all other route attributes.
- Administrative Distance
- In the event there are multiple routes to a destination with the same prefix length, the route learned by the protocol with the lowest administrative distance is preferred.
- Administrative Distance는 여러 라우팅 프로토콜이 함께 동작하면서 다른 정보를 줄 때 신뢰도(선호도, 우선순위)를 나타내는 수치입니다. 아래 테이블은 Cisco 장치들에서 사용되는 값이며, 다른 벤더들은 상이한 값을 사용합니다.
- Metric/Cost
- In the event there are multiple routes learned by the same protocol with same prefix length, the route with the lowest metric is preferred. (If two or more of these routes have equal metrics, load balancing across them may occur.)
- In the event there are multiple routes learned by the same protocol with same prefix length, the route with the lowest metric is preferred. (If two or more of these routes have equal metrics, load balancing across them may occur.)