Routing Protocols
Chapter 10 — Routing Protocols
Follow the logic routers use to learn, compare, advertise, and protect routes—from RIP and EIGRP to OSPF, BGP, FHRP, and IPv6 transition technologies.
Routing Protocol Foundations
Static routes are entered manually. Dynamic protocols discover networks, exchange reachability, calculate paths, and reconverge after change.
Static route
Predictable and low-overhead, but the administrator owns updates and recovery.
Dynamic route
Protocols share reachability and recalculate when topology changes.
Prefix length
The longest matching destination prefix is considered before source trust or metric.
Convergence
Routers agree on current reachable paths after updates and calculations complete.
Administrative Distance Explorer
AD compares different route sources advertising the same prefix. Select a source to inspect its default value.
Routing Algorithm Families
Distance-vector
Learns direction and distance from neighbors; RIP uses hop count.
Link-state
Floods link information, builds a topology database, and runs SPF.
Advanced distance-vector
Uses DUAL, neighbor relationships, and prequalified backup paths.
Path-vector
Uses path attributes and routing policy between autonomous systems.
RIP Essentials
Hop count
15 is the maximum usable distance; 16 means unreachable.
Every 30 seconds
Periodic full-table advertisements make RIP simple but less scalable.
UDP 520
RIPv2 multicasts updates to 224.0.0.9 and has AD 120.
| Feature | RIPv1 | RIPv2 |
|---|---|---|
| Addressing model | Classful | Classless |
| Updates | Broadcast | 224.0.0.9 multicast |
| Subnet masks | Not included | Included |
| VLSM / discontiguous | Unsupported | Supported |
| Authentication | No | Supported |
EIGRP: DUAL and Three Tables
Successor
The best loop-free path placed in the routing table.
Feasible successor
A prequalified loop-free backup path that satisfies the feasibility condition.
Feasible distance
The current router’s best total metric to the destination.
Reported distance
The neighbor’s advertised metric from itself to the destination.
BGP: Policy Between Autonomous Systems
eBGP
Exchanges routes between different autonomous systems; default AD 20.
iBGP
Distributes externally learned BGP reachability internally; default AD 200.
AS path
Lists traversed autonomous systems and supports policy and loop prevention.
Attributes
Higher local preference is preferred; lower MED is commonly preferred; prefix filters control exchange.
Link-State Learning Sequence
Advance through the common link-state process used to build a consistent topology view.
OSPF Areas and Router Roles
Area 0
All other OSPF areas must connect to the backbone directly or logically.
Internal router
All OSPF interfaces belong to the same non-backbone or backbone area.
ABR
Connects Area 0 to another area and maintains information for each.
ASBR
Redistributes routes from another routing domain into OSPF.
OSPF versus IS-IS
| Dimension | OSPF | IS-IS |
|---|---|---|
| Family | Link-state IGP | Link-state IGP |
| Hierarchy | Area 0 backbone plus other areas | Level 1 inside areas; Level 2 between areas |
| Control plane | Runs directly over IP | Uses CLNS for control traffic |
| Common association | Enterprise and service-provider networks | Large provider cores |
| Area 0 | Required backbone | No Area 0 concept |
First-Hop Redundancy
VRRP
Uses master and backup roles to protect a virtual default gateway.
HSRP
Uses active and standby roles with a shared virtual IP and MAC.
GLBP
Can use multiple active forwarders to provide redundancy and load distribution.
Subinterfaces and Router-on-a-Stick
802.1Q trunk
A trunk carries frames for several VLANs between the switch and router.
G0/0.10 ~ G0/0.20
Each subinterface uses VLAN encapsulation and an IP address serving as that VLAN’s gateway.
Native VLAN
The native VLAN must match on both ends or untagged traffic can be misdirected.
IPv6 Router Discovery and NDP
| IPv6 value | Meaning |
|---|---|
| FE80::/10 | Link-local unicast |
| FF02::1 | All nodes on the link |
| FF02::2 | All routers on the link |
| FF02::1:FF00:0/104 | Solicited-node multicast range |
| ::1 | Loopback |
| :: | Unspecified address |
IPv6 Transition Explorer
IPv6 Routing and PowerShell 7
| Protocol | Transport / multicast | Association |
|---|---|---|
| RIPng | UDP 521 ~ FF02::9 | RIP for IPv6 |
| EIGRPv6 | FF02::A | DUAL for IPv6 |
| OSPFv3 | FF02::5 / FF02::6 | All OSPF routers / designated routers |
Get-NetRoute -AddressFamily IPv4IPv4 routesGet-NetRoute -AddressFamily IPv6IPv6 routesGet-NetRoute | Sort-Object AddressFamily,DestinationPrefixSorted route viewGet-NetRoute -DestinationPrefix 0.0.0.0/0IPv4 defaultGet-NetRoute -DestinationPrefix ::/0IPv6 defaultGet-NetNeighborARP and NDP neighborsGet-NetIPConfigurationInterface configurationTest-NetConnection 1.1.1.1 -TraceRouteTrace routed pathnetsh interface ipv6 show neighborsIPv6 neighbor cachenetsh interface ipv6 show routeIPv6 routing tableExam Check
Fifteen review questions drawn from the Chapter 10 study manual.