Networking connects computers and other devices to share data and resources. It forms the foundation of communication from small homes to enterprise and internet-level connections.
The OSI model is a conceptual framework that standardizes network communication into 7 distinct layers:
Layer | Name | Function |
---|---|---|
7 | Application | User interface and network services |
6 | Presentation | Data encoding, encryption |
5 | Session | Session control and maintenance |
4 | Transport | TCP/UDP, reliability, flow control |
3 | Network | IP addressing and routing |
2 | Data Link | MAC addressing and frame forwarding |
1 | Physical | Cabling, signals, physical media |
The TCP/IP model simplifies the OSI model into 4 layers used in real-world networking:
TCP/IP Layer | Corresponding OSI Layers |
---|---|
Application | 7, 6, 5 |
Transport | 4 |
Internet | 3 |
Network Access | 2, 1 |
Standard | Speed | Media |
---|---|---|
10BASE-T | 10 Mbps | Cat3/Cat5 |
100BASE-TX | 100 Mbps | Cat5 |
1000BASE-T | 1 Gbps | Cat5e/Cat6 |
10GBASE-T | 10 Gbps | Cat6a/Cat7 |
IPv4: 32-bit addresses written as four octets, e.g. 192.168.1.1
.
Classes:
Subnetting: Divides networks into logical segments to optimize traffic.
IPv6: 128-bit addresses, written as hexadecimal, e.g. 2001:0db8:85a3::8a2e:0370:7334
.