Name the layers of the TCP/IP model.
4 layers of the TCP/IP model
The TCP/IP model consists of four layers, listed from bottom to top.
1. Network Access Layer
Combines OSI layers 1 and 2.
Functions:
- transmitting frames over the physical medium
- working with MAC addresses
- Ethernet, Wi-Fi, PPP
2. Internet Layer
Equivalent to the OSI network layer (L3).
Functions:
- IP addressing
- routing
- delivering packets between networks
Protocols:
- IPv4 / IPv6
- ICMP / ICMPv6
- ARP / NDP
- OSPF, BGP, RIP
3. Transport Layer
Equivalent to OSI layer 4.
Functions:
- segmentation
- delivery management
- TCP/UDP ports
Protocols:
- TCP
- UDP
4. Application Layer
Combines OSI layers 5, 6, and 7.
Functions:
- network services for applications
- working with upper-layer protocols
Protocols:
- HTTP/HTTPS
- DNS
- FTP/SFTP
- SMTP/IMAP/POP3
- DHCP
- SSH
- SNMP
Short answer for an interview
The 4 layers of TCP/IP: Network Access, Internet, Transport, Application.
Cheat sheet (5 seconds)
TCP/IP:
- Network Access
- Internet
- Transport
- Application
Short Answer
Interview readyPremium
A concise answer to help you respond confidently on this topic during an interview.