Skip to main content

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

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.

Back to the full Network Engineer roadmap