Rule of routing #4 Administrative Distance (AD)

Sponsored Link
Sponsored Link

About Administrative Distance (AD)

Administrative-Distance (hereinafter AD) is the value that determines a preference which route should be chosen if there are two or more routes which each has the same destination and different NextHop. Lower AD value takes precedence.

Depending on routing protocol, whether static route, or OSPF, or RIP, or EIGRP, or also Redistribution route, the default value of AD has been determined. This value can be changed by settings.

For example, consider the case of using the default AD value in the following NW configuration. AD value of RIP whereas a 120, for AD value of OSPF is 110, will determine that OSPF has precedence if the same NW address.

Sponsored Link

However, not exactly the same NW address, compared with a subnet mask is not the sole, is considered as a separate entry. So without being compared to the, will be adopted what has been learned in the RIP is in the routing table. After the Longest Match will be made is routed according to. In other words, the Longest Match rule has precedence over the AD value.

Here is an AD values ​​for each routing protocol below.

protocol AD value Remarks
Connected 0 Directly connected network
Static 1 Static route
EIGRP summary Five Aggregate route ( Null reasons )
eBGP 20 Route from the external AS
EIGRP Internal 90
IGRP 100
OSPF 110
IS-IS 115
RIP 120
EGP 140
ODR 160 On Demand Routing
EIGRP External 170 Redistributed routes
iBGP 200 Routes from the same AS
NHRP 250 Next Hop Resolution Protocol

It should be noted that, in OSPF and EIGRP, route to the Null on the router that the aggregate at the time of route summarization is automatically generated.This is to avoid a routing loop.Please refer here for details .

Floating static

Floating static is NW technique called which realizes the route redundancy using static route. It allows the route learned by dynamic routing protocols preferred to static route by setting the AD value of the static route to a higher value, means intentionally lower the priority. In case the distribution routes by dynamic routing protocols have failure, the router switch to static routes automatically.

Specifically, it could be configured as follows.

Point is, to deliberately set a static route, which is the original AD value = 1 to AD value = 130, and make RIP route preferred than static route.

As a result, the normal time to use the RIP of the route, to bypass route is floating to R2 by a static route in the event of a failure of the R1, it is possible to ensure the redundancy of the route.

Sponsored Link
Sponsored Link
Sponsored Link

To share

  • このエントリーをはてなブックマークに追加

To follow

Sponsored Link
Sponsored Link