Network Protocols Overview

Key networking protocols organized by OSI model layers

OSI Model Layers

Layer 7
Application
Layer 6
Presentation
Layer 5
Session
Layer 4
Transport
Layer 3
Network
Layer 2
Data
Layer 1
Physical
Layer 7

Application Layer (Layer 7)

HTTP/HTTPS

Port 80/443

Web traffic protocol for transferring web pages

FTP

Port 21

File transfer protocol for uploading and downloading files

SMTP

Port 25

Simple Mail Transfer Protocol for sending emails

DNS

Port 53

Domain Name System for resolving domain names to IP addresses

SNMP

Port 161

Simple Network Management Protocol for network monitoring

SSH

Port 22

Secure Shell for encrypted remote access

Telnet

Port 23

Terminal emulation protocol (unencrypted)

DHCP

Port 67/68

Dynamic Host Configuration Protocol for automatic IP assignment

Layer 6

Presentation Layer (Layer 6)

SSL/TLS

Port 443

Secure Sockets Layer/Transport Layer Security for encryption

JPEG

Image compression standard

MPEG

Video compression standard

ASCII

Character encoding standard

Layer 5

Session Layer (Layer 5)

NetBIOS

Port 139

Network Basic Input/Output System for session management

RPC

Port 135

Remote Procedure Call for distributed computing

SQL

Port 1433

Structured Query Language for database communication

NFS

Port 2049

Network File System for distributed file access

Layer 4

Transport Layer (Layer 4)

TCP

Transmission Control Protocol - reliable, connection-oriented transport

UDP

User Datagram Protocol - unreliable, connectionless transport

SCTP

Stream Control Transmission Protocol - message-oriented transport

Layer 3

Network Layer (Layer 3)

IPv4

Internet Protocol version 4 for packet routing

IPv6

Internet Protocol version 6 - next generation IP

ICMP

Internet Control Message Protocol for error reporting

OSPF

Open Shortest Path First routing protocol

BGP

Port 179

Border Gateway Protocol for inter-AS routing

RIP

Port 520

Routing Information Protocol for small networks

EIGRP

Enhanced Interior Gateway Routing Protocol (Cisco)

Layer 2

Data Link Layer (Layer 2)

Ethernet

Local area network protocol for wired connections

Wi-Fi (802.11)

Wireless local area network protocol

PPP

Point-to-Point Protocol for direct connections

STP

Spanning Tree Protocol for loop prevention

VLAN

Virtual LAN for network segmentation

Layer 1

Physical Layer (Layer 1)

Ethernet Cable

Physical copper wiring standards (Cat5e, Cat6, etc.)

Fiber Optic

Optical fiber transmission medium

Wireless Radio

Radio frequency transmission for wireless networks

USB

Universal Serial Bus for device connections

TCP vs UDP Comparison

TCP (Transmission Control Protocol)

  • • Connection-oriented
  • • Reliable delivery
  • • Error checking and correction
  • • Flow control
  • • Ordered data delivery
  • • Higher overhead
  • • Used for: HTTP, FTP, SMTP, SSH

UDP (User Datagram Protocol)

  • • Connectionless
  • • Best-effort delivery
  • • No error correction
  • • No flow control
  • • Faster transmission
  • • Lower overhead
  • • Used for: DNS, DHCP, Video streaming