Routing for Network Engineers
Routing is how Layer 3 devices choose a path for IP packets between networks. It covers static routes, dynamic protocols like OSPF and BGP that share reachability, and first-hop redundancy such as VRRP or HSRP that keep a default gateway available if a router fails.
Stage: Switching and Routing · Part of the Network Engineer roadmap · Last reviewed 19 November 2026
What to learn in Routing
- Add a static route and a default route on a router
- Configure OSPF in a single area and read the neighbour table
- Explain the difference between interior and exterior gateway protocols
- Describe how BGP selects paths using attributes
- Set up a redundant default gateway with VRRP
Routing interview questions
How does a router choose between two routes to the same prefix?
It first uses the longest prefix match. If prefixes are equal, it prefers the lowest administrative distance, which ranks the route source, and then the best metric within the same protocol.
What is the difference between OSPF and BGP?
OSPF is a link-state interior protocol used inside one organisation and converges quickly using cost. BGP is a path-vector exterior protocol used between autonomous systems and for large policy-driven networks, including the internet.
Where Routing fits in the Network Engineer roadmap
Routing belongs to the Switching and Routing stage (beginner level), which takes about 5 hours. Move packets reliably.
Other units in this stage
Back to the full Network Engineer roadmap