Packets: The Data You Send and the Instructions That Carry It
The information you send is only part of what travels across a network. A packet also carries information about how to handle it, such as where it is going. These two parts—a header and a payload—let network equipment move data without treating every exchange as one enormous message.
A packet is a unit handled by a network protocol, the rules for a particular kind of communication. The Internet Protocol, or IP, supplies a useful example. Its header contains control information; its payload is what IP is carrying.
That payload may contain another protocol's header. That is why a packet can contain instructions for both crossing networks and reaching the right program.
Why the Internet Doesn't Work Like a Phone Call
The Request Has More Than One Kind of Addressing
Suppose an application sends data using Transmission Control Protocol (TCP), which provides reliable, ordered transfer, over IP version 6, or IPv6. Leaving out optional extra headers, this gives a simple example:
IPv6 packet
IPv6 header
IPv6 payload
TCP header
Application data
The IPv6 header contains source and destination addresses. These fields help IP handle the packet as it crosses networks.
Inside the payload, the TCP header serves the end-to-end exchange. It contains port numbers, which distinguish the communicating software, along with information for tracking data order and acknowledging receipt.
The IPv6 specification and TCP specification describe these separate jobs. IP's addressing fields and TCP's sequence information belong to different headers. Other protocols use different formats.
This also explains why payload doesn't always mean a person's message. From IP's perspective, the TCP header is part of the payload, too.
Why a File Doesn't Become One Giant Packet
Networks have size limits. A link's maximum transmission unit, or MTU, is the largest packet it can carry at the relevant layer. Along an IP route, the smallest link limit is the path MTU. A packet that fits the first link may be too large for a later one.
Data therefore needs to be arranged in units the protocols and path can handle. There is no universal packet size and no fixed number of packets for a click or a file.
The kinds of division also matter. TCP creates segments, its own units of transfer. An IP packet can carry a TCP segment. Separately, an IPv6 sender can fragment an IP packet. Those fragments are pieces of that packet, not labels for positions in the entire original file.
- Keep work, guest and smart-home gear apart with up to 32 VLANs on one small switch.
- Copy any port's traffic to your laptop with port mirroring and see what is on the wire.
- Set it up from a web page instead of learning a command line.
Some Packets Carry News About Other Packets
A packet needn't contain any new application data. TCP can send an acknowledgment that reports what has arrived without adding more words, pictures or file contents.
That is useful traffic. TCP tracks data and retransmits when necessary to provide reliable, ordered transfer. IP itself doesn't supply that recovery or guarantee arrival order. Acknowledgments help the endpoints manage an exchange the network may delay, reorder or lose.
Transport Layer Security, or TLS, can encrypt the application data carried inside packets. During packet analysis, a tool may still show lengths, timing and recognizable protocol fields while those protected contents remain unreadable.
Headers: The Hidden Instructions Traveling With Your Data

Payloads: What a Packet Carries and an Attack Delivers

Encapsulation: Why It Means Different Things in Code and Networks

QUOTE:
"Amateurs hack systems, professionals hack people."
