A network protocol is a set of established rules that specify how to format, send, and receive data between networked devices, enabling diverse communication systems to interact using standard procedures. Protocols are organized into layered architectures (OSI, TCP/IP) and govern addressing, routing, error detection, session management, and application-layer services.

Semantic Classification

Content

OSI Model (7 Layers)

The Open Systems Interconnection model is a conceptual framework created by ISO enabling diverse systems to communicate using standard protocols.

LayerNameFunctionProtocols
7ApplicationNetwork services to applicationsHTTP, FTP, SMTP, DNS, DHCP
6PresentationData translation, encryption, compressionSSL/TLS, JPEG, ASCII
5SessionSession establishment and managementNetBIOS, RPC
4TransportReliable or fast deliveryTCP, UDP
3NetworkLogical addressing and routingIP, ICMP, OSPF
2Data LinkNode-to-node data transferEthernet, Wi-Fi, PPP
1PhysicalRaw bit transmissionUSB, DSL, Fiber optic

TCP/IP Model (4 Layers)

The practical model underlying the modern Internet, combining OSI layers for simplicity.

LayerFunctionProtocols
ApplicationUser data preparationHTTP, FTP, SMTP, DNS
TransportSegment data, ensure deliveryTCP, UDP
InternetIP addressing, routingIP, ICMP, ARP
Link (Network Access)Frame conversion, physical transmissionEthernet, Wi-Fi

Key Protocols

Transport Layer

  • TCP (Transmission Control Protocol): Connection-oriented, reliable delivery with acknowledgments

  • UDP (User Datagram Protocol): Connectionless, fast but unreliable, used for streaming

    Network Layer

  • IP (Internet Protocol): Logical addressing and packet routing

  • ICMP: Error reporting and diagnostics (ping)

    Application Layer

  • HTTP/HTTPS: Web communication

  • FTP/SFTP: File transfer

  • SMTP/IMAP/POP3: Email protocols

  • DNS: Domain name resolution

  • DHCP: Dynamic IP assignment

    Model Comparison

AspectOSI ModelTCP/IP Model
Layers74
PurposeReference frameworkPractical implementation
Upper LayersSeparate (5,6,7)Combined (Application)
UsageEducation, troubleshootingActual Internet operations

Provenance