Introduction to IP Routing
Chapter 9 — Introduction to IP Routing
Packets keep their destination; frames change their clothes. This study map follows routing-table entries, route selection, ARP, TTL, static and dynamic routes, convergence, and protocol families one hop at a time.
Routing Foundations
IP routing forwards a Layer 3 packet from its source network toward a destination network. Each router uses the destination IP and its own routing table.
Routing protocol
OSPF, EIGRP, BGP, and RIP exchange reachability information and calculate paths.
Routed protocol
IPv4 and IPv6 carry application data through the routed network.
Routing table
Contains prefixes, next hops, interfaces, sources, administrative distances, and metrics.
How Routes Enter the Table
Connected
Appears when an interface is up/up with an assigned prefix; disappears when the link fails.
Local
A host route for the address assigned directly to a router interface.
Static
An administrator configures the destination and next hop or exit interface.
Default
0.0.0.0/0 is used when no more-specific route matches.
Dynamic
A routing protocol advertises and calculates reachability, adapting after convergence.
Routing-Table Anatomy
Select a field to see the question it answers.
Route-Selection Order
Longest-Prefix Route Selector
Enter a destination and let the router choose the most-specific matching prefix.
| Candidate | Matches? | Result |
|---|
Administrative Distance Explorer
Metrics by Protocol
| Protocol | Main path measure | Association |
|---|---|---|
| RIP | Hop count | Distance-vector |
| OSPF | Cost, commonly bandwidth-derived | Link-state |
| EIGRP | Composite: mainly bandwidth and delay | Advanced distance-vector |
| BGP | Path attributes and policy | Path-vector |
Local or Remote?
Direct delivery
Packet destination IP is the host; first-frame destination MAC is that same host’s MAC.
Gateway delivery
Packet destination IP remains the remote host; first-frame destination MAC is the default gateway interface.
Packet-Hop Animator
Trace packet creation, routing, ARP, frame removal, TTL change, and re-encapsulation.
What Changes at Each Hop?
| Field/object | End-to-end | Per-hop behavior |
|---|---|---|
| Source IP | Normally remains Host A | Not replaced by router |
| Destination IP | Normally remains Host B | Used for each route lookup |
| Source MAC | Changes | Sender on current link |
| Destination MAC | Changes | Next hop on current link |
| Ethernet FCS | Recalculated | New frame, new check |
| TTL | Decreases | Reduced by each router |
ARP, Failures & Return Path
Static versus Dynamic Routing
Static routing
Low overhead and predictable, but maintenance and failure response are manual unless tracking is configured.
Dynamic routing
Routers exchange and calculate routes, consume control resources, and reconverge after changes.
Floating static
Uses deliberately higher AD so it activates only after the preferred dynamic route disappears.
Convergence
Routers detect change, exchange updates, recalculate, and install consistent routes.
Dynamic Routing Families
PowerShell 7 Practice
Get-NetIPConfigurationAddresses, gateways, interface stateGet-NetRoute -AddressFamily IPv4IPv4 routing tableGet-NetRoute -DestinationPrefix 0.0.0.0/0Default routeGet-NetNeighbor -AddressFamily IPv4ARP mappingsTest-NetConnection 1.1.1.1Remote reachability and interfaceTest-NetConnection example.com -TraceRouteRouted pathtracert -d 1.1.1.1Trace without DNS delaysroute print -4Classic IPv4 route tableExam Check
Fifteen review questions drawn directly from the Chapter 9 manual.