Networking
Beginner
What is Network Packet?
A formatted unit of data carried over a network, containing headers with routing information and a payload with the actual data.
Network packets are the fundamental units of data transmission. Each packet contains headers and a payload. Ethernet frames wrap IP packets which wrap TCP/UDP segments which carry application data. Headers include source/destination addresses, protocol identifiers, sequence numbers, and checksums for error detection. Maximum packet size is governed by MTU (Maximum Transmission Unit) — typically 1500 bytes for Ethernet. Large data is split into multiple packets, transmitted independently (potentially via different routes), and reassembled at the destination. Tools like tcpdump and Wireshark capture and analyze individual packets for troubleshooting.