Welcome to K0P1.com

root@K0P1:~/learn# ./packet-journey --destination google.com

Packet journey: home → Google → home

Step through one HTTPS request. Notice that the IP packet keeps its destination, while the Layer 2 frame is removed and rebuilt for every routed link.

[PC]Your device192.168.1.10
→
[GW]Home routerNAT / PAT
→
[ISP]ISP routernext hop
→
[WWW]Google142.250.0.0
OUTBOUND REQUESTStep 1: device creates a frameUse ← / → keys too

// what happens now

Remember: destination IP = final destination. Destination MAC = the next device on the current link.

// OSI encapsulation at this step