Why networks send packets

When you open a web page, your device does not need a dedicated wire to the website for the entire visit. Instead, network equipment carries small units of data called packets. Many conversations can share the same links: a page load, a video call, and a software download may all use a connection at once. Packet switching lets equipment forward each unit as capacity becomes available rather than reserving a continuous path for one conversation.

Think of a packet as a piece of a larger delivery with information attached for handling it. The data might be part of a web response, an image, or a call. The attached information helps network devices determine where to send it. This approach makes shared infrastructure flexible, but it also means packets can encounter delays, be dropped, or arrive in a different order from the one in which they were sent.

What travels inside a packet

Network communication uses layers, each with a different job. An application creates data, a transport protocol prepares it for communication between endpoints, and the Internet Protocol (IP) supplies source and destination addresses used for forwarding across networks. On a local link, such as Wi-Fi or Ethernet, the IP packet is carried inside a link-layer frame. The frame has information needed for that particular link; it is not the same thing as the IP packet inside it.

Packet size matters. A link has a maximum transmission unit, or MTU, that limits the size of an IP packet it can carry without special handling. Systems generally try to send packets that fit the path. If an application needs to transfer more data than fits in one packet, it is sent in multiple pieces. Protocol headers take up some space, so the amount of application data in each packet is smaller than the packet’s total size.

How routers choose the next step

Imagine your browser requesting a page from a server on another network. Your device first sends traffic toward a nearby router, often called its default gateway. That router examines the destination IP address and consults its routing table to choose a next hop. A router farther along the path makes its own forwarding decision. The packet moves one hop at a time until it reaches the destination network.

Routers do not usually plan an entire end-to-end journey for each packet. Their tables reflect the routes they currently know, and paths may change when network conditions or routing information change. As a packet crosses a link, it is placed in a frame appropriate for that link. The next router removes that frame and prepares a new one for the following link, while the destination IP address continues to identify where the packet is headed.

On a shared link, a router may have to queue a packet while other traffic is sent. If the queue fills, it may drop packets. Each router also reduces a packet’s IP hop limit, which prevents a routing loop from circulating the same packet indefinitely. These details help explain why a connection can work well at one moment and feel slow at another even when both endpoints remain reachable.

Delivery is not the same as reliability

IP provides a way to address and forward packets, but it does not promise that every packet will arrive, arrive once, or arrive in order. Different applications handle those possibilities in different ways. Transmission Control Protocol (TCP), commonly used for web traffic, tracks data, acknowledges receipt, and retransmits data when needed. It presents an ordered stream to the application, even though the underlying IP packets may experience different delays.

User Datagram Protocol (UDP) takes a simpler approach: it sends messages without building TCP’s ordered, retransmitted stream into the protocol. Applications using UDP can add their own recovery methods or decide that a late piece of data is no longer useful. For example, a live conversation may benefit more from timely audio than from waiting for an old missing segment. Packet switching supports both approaches; the application’s needs help determine which is appropriate.

Reading a packet’s journey in practice

A useful mental model is to follow one page request. The browser prepares a request, the operating system sends the resulting traffic through a local connection, and routers forward IP packets toward the server. The server sends response data back in packets. Those return packets do not have to follow the exact reverse path. Your device processes what arrives, and the browser can then display the page.

When troubleshooting, separate several questions: Can the destination be reached? Is there enough capacity along the path? Are packets being delayed or lost? Latency describes how long a packet takes to travel; jitter describes variation in that delay. Both can affect interactive uses, while sustained capacity is particularly important for large transfers. Tools that test reachability or show intermediate hops can provide clues, but no single test reveals everything happening along a path.

The central idea is simple: a network forwards manageable pieces of data over shared links, with each device handling its part of the trip. Once you distinguish packets from local frames, routing from delivery guarantees, and capacity from delay, it becomes easier to understand both how everyday connections work and why their performance can vary.

Back to category ↗