Skip to content

Quiz: Routing

← Back to quiz index

2 questions

L1 (1 questions)

1. How does a Linux host decide where to send a packet?

Show answer It checks the routing table (ip route show). The most specific matching prefix wins. If no specific route matches, the default gateway (0.0.0.0/0) is used. Routes come from static config, DHCP, or dynamic routing protocols.

L2 (1 questions)

1. Traffic between two subnets is failing. Both hosts have correct IPs. What do you check?

Show answer 1. Routing: does each host have a route to the other subnet?
2. Gateway: is the router forwarding (ip_forward=1)?
3. Firewall rules on the router.
4. Return path: the destination must have a route back. Use traceroute to find where packets stop.