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
EasySet 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 pc3Try it yourself
All lessons in LAN Labs
4Routers and Gateways
Two NetworksThe Default GatewayBoth Sides Need a Way BackRouting TablesRecap - Connect the Floors2Addresses on the LAN
Giving a Host an AddressThe First PingWhat ARP LearnedThe Switch Learns TooRecap - First Conversation8Capstone - Fix the Branch
Survey the DamageFix the Address ClashMasks and GatewaysRecap - Prove It WorksPractice on your own: Terminal playground