FIB (Forwarding Information Base)
Cheat sheet · https://pcornel.dk/topic.php?topic=2606
Answer
The Forwarding Information Base (FIB) is the forwarding-oriented prefix structure derived from selected routing state. It is optimized for packet lookup rather than protocol decision making.
Remember
- FIB and RIB serve different planes/purposes
- The FIB contains forwarding action/next-hop resolution derived from the selected route
- A correct RIB does not guarantee a resolved adjacency
- Hardware forwarding details can be platform-specific even when the CEF model is the same.
First checks
show ip cef <prefix> detail → next hop and outgoing interface after recursion. show adjacency <interface> detail → the layer-2 rewrite exists. show ip cef <prefix> showing drop, receive or glean instead of a next hop is itself the answer.
Commands
show ip routeshow ip cef
Verify in this order
RIB entry → recursive next hop resolved → FIB (CEF) entry → adjacency with layer-2 rewrite from ARP/ND → programmed in hardware → packet forwarded
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2606