Why divide a network?
A single flat routing system must distribute and process information about a large topology. Dividing it into routing domains or areas limits the detail each part needs, supports different administration, and can confine some changes. A routing domain here means a portion handled by one routing-protocol instance; it is not always identical to an Internet autonomous system.
Inside a link-state area, routers may maintain a detailed map of that area. For external destinations, they can instead learn reachability through a border router. The complete external topology need not be exposed. Summarization can combine suitable prefixes, reducing entries, but hierarchy does not require summarization and an aggregate must be handled carefully for unused address space.
Choosing an exit
In the slides’ simplified model, a router sends external traffic toward the closest suitable exit from its own domain. This is often called hot-potato routing. It can reduce the cost inside the current domain but need not minimize the complete end-to-end path: the apparently closest exit may lead to a long path in the next domain. In real networks, policy, route attributes and protocol rules can select a different exit. Return traffic may take a different route.
A domain partition can make a destination unreachable under the domain’s routing rules even when a physical path exists through another domain; whether transit is allowed depends on topology, routing and policy. Redundancy helps but does not guarantee connectivity under every failure.
Redistribution
A border router can redistribute selected routes learned by one routing process into another. For example, routes from a distance-vector domain can be announced into a link-state domain. The receiving domain learns reachability; it does not automatically acquire a complete, accurate map of the other domain. Redistribution may be one-way or selective. Filters, route tags and careful design help prevent feedback and loops when information can cross boundaries in both directions.
Metrics may use different units: a hop count cannot be directly converted into milliseconds of delay. The receiving protocol may require a configured or translated metric. Aggregation can also hide individual route costs. The choice affects which paths are preferred.
Administrative distance versus metric
When a router learns competing routes for the same prefix from different sources, it may use a source preference, called administrative distance on Cisco devices, before comparing applicable protocol metrics. Lower administrative distance is generally preferred in that implementation. This is a local preference, not a packet field or a universal cost shared across routers. Exact defaults and selection details depend on the platform.
A floating static route is configured with a less-preferred administrative distance than the primary route. It can become active when the primary is withdrawn, subject to next-hop reachability and platform behavior. It is not proof that a failed remote service is detectable without additional monitoring.
For an incoming packet, longest prefix matching still chooses between the installed entries: a /24 beats a /16 if both match, regardless of their administrative distances.
Related
Lecture 04 - Forwarding and Routing Algorithms · IPv4 Route Aggregation and Routing Loops · Routing Forwarding and Convergence
Continue to Lecture 05 - OSPF for areas and Lecture 06 - BGP for policy-based exchange between autonomous systems.