Interactive study guide for ECE 422: Decode packet structures, master subnetting logic, and simulate network traffic.
Hover over the packet fields to reveal technical specifications and functions.
The IPv4 header is typically 20 bytes (without options). It contains all necessary information to deliver the packet from source to destination across interconnected networks.
An IPv4 address is a 32-bit number that uniquely identifies a host on a network. It is hierarchically divided into a Network Portion (Prefix) and a Host Portion.
| Class | Leading Bits | Default Mask | Networks |
|---|---|---|---|
| A | 0 | /8 | 128 (2^7) |
| B | 10 | /16 | 16,384 |
| C | 110 | /24 | 2,097,152 |
Subnetting divides a single network into smaller logical sub-networks. The Subnet Mask determines the boundary between the network and host bits.
Flat networks (e.g., Class A) are inefficient and create massive broadcast domains. Routing tables become bloated.
We "borrow" bits from the Host portion to create a Subnet portion.
Creates a hierarchy:
Network . Subnet . Host
Input any IP and CIDR to calculate network details instantly.