Differentiating Forwarding and Routing in Computer Networks
In IP networks, routing and forwarding are closely related but fundamentally different: routing decides what paths should be used, while forwarding acts on those decisions for each packet at line speed. This separation is commonly described as control plane vs data plane: routing is a control-plane function that produces forwarding state; forwarding is a data-plane/forwarding-plane function that uses installed state to transmit packets.3
Key relationship (one sentence)
Routing builds the “map” (route selection state), and forwarding uses the “installed map” to move packets from an ingress interface to the correct egress interface.2
Control plane vs data plane
The control plane is responsible for how data should be forwarded (e.g., computing/choosing routes), while the data plane (often called the forwarding plane) performs the actual packet forwarding.2
Footnotes
-
Routing versus forwarding - Kurose & Ross (UMass) - Defines routing as route determination and forwarding as packet movement using forwarding state. ↩ ↩2
-
What is the control plane? | Control plane vs. data plane - Cloudflare Learning - States control plane controls how data is forwarded; data plane is the actual forwarding process. ↩ ↩2 ↩3
-
IP Forwarding and Routing Protocols - Network Insight - Explains routing selects paths; forwarding uses installed state; discusses convergence timing effects. ↩
-
Control Plane vs Data Plane: Key Differences Explained - TrueFoundry - Describes control plane decisions and data plane execution/forwarding at line speed. ↩
To precisely differentiate them, it helps to track what each operation manipulates inside a router:
- RIB (Routing Information Base) stores routing information and selected routes.
- FIB (Forwarding Information Base) contains the forwarding entries used to actually send packets toward destinations.2
- On many platforms, routing changes update the structures that forwarding consults, enabling forwarding to remain fast and deterministic.
For Cisco architectures specifically, Cisco Express Forwarding (CEF) installs optimized forwarding state so that, when a packet arrives and is validated, the router consults forwarding structures derived from routing to determine the outbound interface at very low CPU overhead.
Footnotes
-
IP Forwarding and Routing Protocols - Network Insight (RIB vs FIB) - Explains RIB vs FIB roles and diagnostic value. ↩ ↩2
-
Understand Express Forwarding - Cisco (CEF) - Details CEF operation and how forwarding uses optimized forwarding tables (FIB) and adjacency to forward with minimal CPU involvement. ↩ ↩2 ↩3
How Routing Decisions Become Forwarding Actions
Routing (control plane)
1) Learn/ComputeRouting protocols and/or policies determine which paths are preferred for each destination."
Route selection state
2) InstallSelected routes are reflected into forwarding state (e.g., RIB to FIB conceptsually)."
Forwarding (data plane)
3) ForwardEach packet is matched to a forwarding entry (typically using destination-based lookup, e.g., longest-prefix match) to choose the next hop/egress interface."
During changes
4) ConvergePropagation/installation takes time (convergence), and forwarding behavior may temporarily differ until forwarding state updates.2"
Footnotes
-
IP Forwarding and Routing Protocols - Network Insight - Explains routing selects paths; forwarding uses installed state; discusses convergence timing effects. ↩
-
IP Forwarding and Routing Protocols - Network Insight (RIB vs FIB) - Explains RIB vs FIB roles and diagnostic value. ↩
Per-Packet Forwarding (What forwarding *does*)
- 1Step 1
A router receives a packet and performs initial validity checks (and may drop based on policies/access controls).
Footnotes
-
Understand Express Forwarding - Cisco (CEF) - Details CEF operation and how forwarding uses optimized forwarding tables (FIB) and adjacency to forward with minimal CPU involvement. ↩
-
- 2Step 2
Using installed forwarding tables (e.g., FIB in CEF terms), the router selects the best match destination entry for the packet.2
Footnotes
-
IP Forwarding and Routing Protocols - Network Insight (RIB vs FIB) - Explains RIB vs FIB roles and diagnostic value. ↩
-
Understand Express Forwarding - Cisco (CEF) - Details CEF operation and how forwarding uses optimized forwarding tables (FIB) and adjacency to forward with minimal CPU involvement. ↩
-
- 3Step 3
The forwarding logic determines the outgoing interface and next-hop information (often requiring next-hop adjacency/L2 resolution details).
Footnotes
-
Understand Express Forwarding - Cisco (CEF) - Details CEF operation and how forwarding uses optimized forwarding tables (FIB) and adjacency to forward with minimal CPU involvement. ↩
-
- 4Step 4
The packet is sent out the selected egress interface, ideally without repeating full routing computation per packet.
Footnotes
-
Understand Express Forwarding - Cisco (CEF) - Details CEF operation and how forwarding uses optimized forwarding tables (FIB) and adjacency to forward with minimal CPU involvement. ↩
-
Comparative differentiation table
| Dimension | Routing | Forwarding |
|---|---|---|
| Primary purpose | Choose paths end-to-end / decide route preference | Send each packet toward the selected next hop/egress |
| Where it lives | Control plane | Data plane (forwarding plane) |
| Frequency | Infrequent relative to packets (depends on topology/policy changes) | Every packet (happens at line rate) |
| Inputs | Topology information, routing protocol updates, policies | Packet header fields (e.g., destination) + installed forwarding state |
| Outputs | Selected route state (e.g., best routes) that is later installed | Per-packet decisions (egress interface/next hop) using forwarding entries |
| Tables involved | RIB (conceptually: route selection state) | FIB (conceptually: forwarding lookup state) and related adjacency/next-hop data |
This distinction is explicitly described as routing selecting/choosing paths and forwarding using installed forwarding state to process individual packets.2
Footnotes
-
IP Forwarding and Routing Protocols - Network Insight - Explains routing selects paths; forwarding uses installed state; discusses convergence timing effects. ↩
-
IP Forwarding and Routing Protocols - Network Insight (RIB vs FIB) - Explains RIB vs FIB roles and diagnostic value. ↩
Memory hook
“Routing builds the map; forwarding follows the map.” Routing determines the route choice, while forwarding uses the installed forwarding entries to move packets.2
Footnotes
-
Routing versus forwarding - Kurose & Ross (UMass) - Defines routing as route determination and forwarding as packet movement using forwarding state. ↩
-
What is the control plane? | Control plane vs. data plane - Cloudflare Learning - States control plane controls how data is forwarded; data plane is the actual forwarding process. ↩
Common misconception: “routing table = forwarding behavior”
A routing table (control-plane view) is not automatically identical to the data structures used for forwarding. Forwarding typically consults an optimized forwarding state (conceptually the FIB) derived from selected routes (RIB). Differences can indicate installation/convergence problems.2
Footnotes
-
IP Forwarding and Routing Protocols - Network Insight (RIB vs FIB) - Explains RIB vs FIB roles and diagnostic value. ↩
-
Understand Express Forwarding - Cisco (CEF) - Details CEF operation and how forwarding uses optimized forwarding tables (FIB) and adjacency to forward with minimal CPU involvement. ↩
Exam-relevant nuances
Visual summary: routing vs forwarding vs tables
Knowledge Check
Which statement best differentiates routing from forwarding?