TCP/IP Model·Lesson 8 of 8

Protocols Used in Each Layer

01

A Protocol for Every Job

Each layer of the TCP/IP model comes with its own set of — the agreed rules that get that layer's job done. Higher layers deal with what the data means (a web page, an email), while lower layers deal with how it travels (addresses, signals). This lesson gathers the most important protocols and pins each one to the layer it belongs to. Getting these mappings straight is one of the most common networking interview checks.

The interview favourite

Expect to be asked "which layer does HTTP (or IP, or Ethernet) work at?" Memorize the layer for each major protocol and you'll answer these instantly.

02

Application Layer Protocols

The top layer holds the protocols that applications speak directly — for browsing, email, file transfer, naming, and remote access. These are the names you meet most often as a developer:

ProtocolFull nameWhat it does
HTTP / HTTPSHyperText Transfer Protocol (Secure)Requests and delivers web pages; HTTPS adds encryption
DNSDomain Name SystemTurns names like example.com into IP addresses
SMTPSimple Mail Transfer ProtocolSends email between mail servers
IMAP / POP3Mail access protocolsLet your mail app fetch and read messages
FTPFile Transfer ProtocolTransfers whole files between client and server
SSHSecure ShellEncrypted remote command-line access
DHCPDynamic Host Configuration ProtocolAutomatically assigns IP addresses to devices
03

Transport Layer Protocols

The transport layer has just two protocols worth memorizing — but they matter enormously. One trades speed for reliability; the other does the opposite:

ProtocolFull nameWhat it does
TCPTransmission Control ProtocolReliable, ordered, connection-oriented delivery
UDPUser Datagram ProtocolFast, connectionless, best-effort delivery
04

Internet Layer Protocols

The internet layer is built around IP, with a few companions for diagnostics and group communication. These handle addressing and routing rather than the content of the data:

ProtocolFull nameWhat it does
IPInternet Protocol (IPv4 / IPv6)Addresses and routes packets across networks
ICMPInternet Control Message ProtocolCarries error and diagnostic messages (used by ping)
IGMPInternet Group Management ProtocolManages membership in multicast groups
05

Network Access Layer Protocols

The bottom layer holds the technologies that carry frames over a physical link and the helpers that keep a local network working. ARP is a special case — it bridges IP addresses to hardware addresses, so it sits right at the boundary of this layer:

ProtocolFull nameWhat it does
EthernetIEEE 802.3Carries frames over wired LAN connections
Wi-FiIEEE 802.11Carries frames over wireless connections
ARPAddress Resolution ProtocolMaps a known IP address to its MAC address
PPPPoint-to-Point ProtocolCarries frames over a direct link between two devices
06

The Whole Map at a Glance

Putting it all together, here's the entire TCP/IP stack with the key protocols sitting at each layer. This single picture is the fastest way to revise the whole topic:

Protocols by TCP/IP layer

Application

HTTP, HTTPS, DNS, SMTP, IMAP, POP3, FTP, SSH, DHCP

Data

Transport

TCP, UDP

Segments

Internet

IP, ICMP, IGMP

Packets

Network Access

Ethernet, Wi-Fi, ARP, PPP

Frames
🚫

"TCP and IP are at the same layer — that's why we say 'TCP/IP'."

They're at different layers. TCP is a transport-layer protocol and IP is an internet-layer protocol. They're paired in the name because they work so closely together, not because they share a layer.

Q:Which layer does HTTP work at, and which does IP work at?

A: HTTP is an application-layer protocol — it's what apps use to request web pages. IP is an internet-layer protocol — it addresses and routes packets across networks. HTTP data is carried by TCP at the transport layer, which in turn is carried by IP below it.

Quick Revision Cheat Sheet

Application: HTTP, HTTPS, DNS, SMTP, IMAP, POP3, FTP, SSH, DHCP

Transport: TCP (reliable), UDP (fast)

Internet: IP, ICMP, IGMP

Network Access: Ethernet, Wi-Fi, ARP, PPP

Common trap: TCP and IP are different layers, not the same one