Administrative distance, routing protocol classes, classful and classless
Sign in to read this lesson
A router can run several routing protocols at once. When two protocols report the same network, the router chooses with the administrative distance (AD): the lower the AD, the better. Connected 0, static 1, EIGRP 90, OSPF 110, RIP 120. Interior routing protocols fall into three classes: distance vector (RIP), hybrid/advanced distance vector (EIGRP) and link-state (OSPF). A classful routing protocol does not send the subnet mask with its updates; a classless protocol does.
What you will learn
- When two routing protocols report the same network, the router chooses by administrative distance (AD): the lower the AD, the better.
- Default AD: connected 0, static 1, EIGRP 90, OSPF 110, RIP 120. If EIGRP (90) and OSPF (110) report the same network, EIGRP goes into the routing table.
- In
show ip route, in brackets like[1/0]the first number is the AD, the second the metric. - Interior routing protocol classes: Distance Vector (RIP), Hybrid / Advanced Distance Vector (EIGRP), Link-State (OSPF).
- A classful protocol does not send the subnet mask with its updates (it advertises the classful network, e.g. 172.16.0.0); a classless protocol does send the mask (172.16.1.0 /24).
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.