Menu
Coddy logo textTech

Both Sides Need a Way Back

Lesson 16 of 35 in Coddy's LAN Labs course.

The reply is a packet too, and it faces the same question in reverse: pc3 sees a request from 192.168.1.10, a foreign address, and needs its own gateway to answer. Give pc3 the router's 10.0.0.1 and the conversation closes.

Notice the TTL: 63, not 64. The router decreased it by one on the way, and netlab adds via r1 so you can see who forwarded. netlab trace A B lists the hops explicitly, the way traceroute does on a real network.

challenge icon

Challenge

Easy

Set pc3's gateway to 10.0.0.1, ping pc3 from pc1, then trace the path from pc1 to pc3.

Expected output:

pc3: gateway 10.0.0.1
pc1 -> pc3: reply from 10.0.0.20 (ttl=63, via r1)
trace pc1 -> pc3
1  192.168.1.1  r1
2  10.0.0.20  pc3

Try it yourself

Terminal

All lessons in LAN Labs

Practice on your own: Terminal playground