About this interactive
An IP packet is a payload with a header in front, and no trailer. The header carries a source IP address and a destination IP address (after 96 bits of other information). The packet is what gets the data to its final destination, and it stays largely the same the whole way.
A router routes packets. It reads the destination IP address, decides the next best step toward it, and sends the packet on. The next router does the same, and so on: each step is a hop. tracert, on Windows, lists them: one line for each router that answers along the way, and a last line for the destination itself.
To cross each link, the packet is put inside a frame, which carries the local addresses: on Ethernet, a destination and source MAC address. A computer sending to a machine on another network addresses the frame to its router, the default gateway, not to the far machine. That router strips the frame off, reads the packet, and builds a new frame addressed to the next router. Every router does the same. So one packet is carried by a new frame on every link: a path with three routers has four links, and four frames.
So: Ethernet (Layer 2) uses MAC addresses, calls its unit a frame, and is forwarded by switches (a hub only repeats signals, at Layer 1). IP (Layer 3) uses IP addresses, calls its unit a packet, and is routed by routers.
LANs sit at each end, and the links between routers are WAN links. They may not even be Ethernet, which is why every item here says when they are. Two things in a packet do change on the way, as the lesson admits: each router lowers its time-to-live count by one, and some routers rewrite the source address (NAT), which the packet journey animator after this lesson shows. The destination IP address does not change.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →