Networking · Network Devices
Router
Cheat sheet · https://pcornel.dk/topic.php?topic=539
Answer
A router forwards packets between IP networks using its routing table, connects LANs to WANs and the internet, and often adds NAT, ACLs, VPN and QoS.
Remember
- A router forwards packets between networks based on IP addresses and its routing table.
- It separates broadcast domains.
- Routers also provide NAT, VPN and QoS at the edge.
First checks
show ip route— routingshow ip interface brief— interfacesshow ip nat translations— NAT
Commands
show ip route- IPv4 RIB routes and selected next hops.
ip route 0.0.0.0 0.0.0.0 <next-hop>
Verify in this order
packet → route lookup → forward/NAT/VPN
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Router · operational reference
| Layer | Evidence |
|---|---|
| Interface/VRF | Attachment/context |
| RIB | Route selection |
| CEF/adjacency | Local forwarding |
| Service boundary | NAT/VPN/policy if present |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=539