Administrative Distance (AD) is used to rate the trustworthiness of routing information received from the neighbour router. The route with the least AD will be selected as the best route to reach the destination remote network and that route will be placed in the routing table. It defines how much reliable a routing protocol is. It is an integer value ranging from 0 to 255 where 0 shows that the route is most trusted and 255 means that no traffic will be passed through that route or that route is never installed in the routing table.
|Route sources||Default AD|
|Unknown||255 (This route is not used)|
- Example –
The smaller the value of AD, the more reliable routing protocol is. For example if a router receives an advertised route to a remote destination network from OSPF and EIGRP, then the advertised route of EIGRP will be considered as best route and will be placed in the routing table as EIGRP has lower AD.
- Best path selection process by dynamic protocol –
If a router receives same advertised routes from more than one source for a remote network, then first AD value is check. The advertised route having least AD value will get preference. If the AD value of the advertised routes are same, then metrics of advertised routes is check. The advertised route with the least metric will be placed in the routing table. If both AD and metric are same then load balancing is done i.e the traffic will traverse through different routes. The load balancing can be equal or unequal. In equal load balancing, the same amount of traffic will traverse through both routes one at a time while different amount of traffic will traverse in unequal load balancing.
Autonomous System (AS) is a group of routers and networks working under a single administrative domain. It is a 16 bit value which defines the routing domain of the routers. These numbers range from 1 to 65535.
- Public Autonomous System Number –
These are 16 bit values which range from 1 to 64511.The service provider will provide a public AS if the customer is connected to more than one ISPs such as multihoming. A global autonomous number, which will be unique, is provided when the customer wants to propagate it’s BGP routes through 2 ISPs.
- Private Autonomous system Number –
Private Autonomous System Number are 16 bit values which range from 64512 to 65535.The service provider will provide a private autonomous system number to the customer when the customer wants multi connection to a single ISP (single home or dual home network) but not to more than one ISPs. These are provided in order to conserve the autonomous system numbers.
- Assigning of AS numbers –
The Autonomous numbers are first assigned by IANA (Internet Assign Number Authority) to the respective regional registries. Further, the regional registry distribute these autonomous numbers (from the block of autonomous numbers provided by IANA) to entities within their designated area.
- Computer Networks | Set 1
- Computer Networks | Set 2
- Computer Networks | Set 5
- Computer Networks | Set 3
- Computer Networks | Set 4
- Computer Networks | Set 12
- Computer Networks | Set 6
- Computer Networks | Set 7
- Computer Networks | Set 8
- Computer Networks | Set 9
- Computer Networks | Set 10
- Computer Networks | Set 11
- Last Minute Notes - Computer Networks
- Internet Control Message Protocol (ICMP) | Computer Networks
- Commonly asked Computer Networks Interview Questions | Set 1
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.