Master the essential concepts that form the foundation of all network communications
The Open Systems Interconnection (OSI) model is a conceptual framework that standardizes network communication into seven distinct layers:
Interface for network services (HTTP, FTP, SMTP). Provides services directly to user applications.
Data translation, encryption, and compression (SSL/TLS, JPEG, MPEG).
Manages sessions or connections between computers. Controls dialogues (connections) between applications.
Ensures reliable data transfer between host systems. Handles segmentation, flow control, and error correction.
Responsible for logical addressing and routing of data packets.
Handles physical addressing, error detection and correction, and frame synchronization.
Transmits raw bit stream over physical medium. Defines hardware specifications, cabling, signaling.
Physical connection and bit transmission (Ethernet, USB, Fiber).
Click to show/hide encapsulation details
The practical implementation model used in modern networks, consisting of four layers:
| Feature | TCP | UDP |
|---|---|---|
| Connection | Connection-oriented | Connectionless |
| Reliability | Reliable (ACKs) | Unreliable |
| Speed | Slower | Faster |
| Use Cases | Web, email, file transfer | Video streaming, VoIP |
SYN → SYN-ACK → ACK establishes a TCP connection
| Class | Range | Default Mask |
|---|---|---|
| A | 1.0.0.0 - 126.255.255.255 | 255.0.0.0 |
| B | 128.0.0.0 - 191.255.255.255 | 255.255.0.0 |
| C | 192.0.0.0 - 223.255.255.255 | 255.255.255.0 |
| D (Multicast) | 224.0.0.0 - 239.255.255.255 | N/A |
Enter an IP and subnet mask to calculate:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
Compressed: 2001:db8:85a3::8a2e:370:7334
| Standard | Speed | Cable Type |
|---|---|---|
| 10BASE-T | 10 Mbps | Cat3/Cat5 UTP |
| 100BASE-TX | 100 Mbps | Cat5 UTP |
| 1000BASE-T | 1 Gbps | Cat5e/Cat6 UTP |
| 10GBASE-T | 10 Gbps | Cat6a/Cat7 UTP |
| Preamble | Dest MAC | Src MAC | Type/Length | Data | FCS |
|----------|----------|---------|-------------|------|-----|
| 8 bytes | 6 bytes | 6 bytes | 2 bytes | 46-1500 bytes | 4 bytes |
Minimum frame size: 64 bytes
Maximum frame size: 1518 bytes (1522 with VLAN tag)
00:1A:2B:3C:4D:5E (Hexadecimal format)
Carrier Sense Multiple Access with Collision Detection - Ethernet's media access method (mostly obsolete in modern full-duplex networks).
Maximum Transmission Unit - Largest packet size allowed (1500 bytes standard for Ethernet).
Address Resolution Protocol - Maps IP addresses to MAC addresses.