Lion Cipher Lab
Route between two networks with a router namespace, then break and fix the routes
- Cyber / Security Engineer
- Beginner
- ~45 min
- Free · no account required
Why it matters
Routing is the part of a network that decides where a packet goes next. When a service is reachable from one place but not another, the cause is very often a route: one side missing, a wrong next hop, forwarding off, or a more specific route nobody remembers adding. Being able to read the routing table and ask the kernel which route it would use for an address is the first move in almost every connectivity troubleshooting job, and it is how defenders confirm that traffic can only travel the paths they intended.
What you'll learn
- building two small networks and a router between them with network namespaces
- adding static routes with ip route add and reading them with ip route show and ip route get
- explaining why a router must have IP forwarding on and why both sides need a route
- finding a one-way failure caused by a missing return route
- explaining longest-prefix matching with a more specific route that overrides a broader one
Steps in this lab
- What a router and a route are
- Create the namespaces and the two cables
- Read the routing table and see the gap
- Add static routes on both hosts
- Fault 1: turn forwarding on in the router
- Fault 2: remove the return route and find the one-way failure
- Fault 3: a more specific route overrides a broader one
- Swap the specific route for a default route
- What a professional does differently
- Clean up
Open the full interactive lab →