OSI Model - The Foundation of Networking
OSI Model in Practice
Each layer has specific responsibilities and interacts only with adjacent layers. Understanding this helps troubleshoot network issues systematically.
Layer | Name | Function | Linux Tools | Common Protocols |
---|---|---|---|---|
7 | Application | User interface & services | curl, wget, ssh, ftp | HTTP, FTP, SSH, SMTP |
6 | Presentation | Data formatting & encryption | openssl, gpg | SSL/TLS, JPEG, GIF |
5 | Session | Connection management | netstat, ss | NetBIOS, RPC |
4 | Transport | Reliable data delivery | ss, netstat, nc | TCP, UDP |
3 | Network | Routing & addressing | ip, route, traceroute | IP, ICMP, OSPF |
2 | Data Link | Frame handling & MAC | ip link, ethtool, arp | Ethernet, PPP |
1 | Physical | Hardware & signals | lshw, dmesg, iwconfig | Cables, Radio waves |