Common Network Protocols Overview

What are Network Protocols?

Network protocols are standardized rules and conventions that enable computers and devices to communicate across networks. They govern how data is formatted, transmitted, received, and processed.

Most protocols operate at specific OSI or TCP/IP layers, working together as stacks.
Example: HTTP uses TCP, which uses IP.

Transmission Control Protocol (TCP)

Type: Connection-oriented, reliable

  • Establishes connection via three-way handshake
  • Guarantees data delivery with retransmission and acknowledgments
  • Maintains packet order

Use Cases: Web browsing (HTTP/HTTPS), email (SMTP/IMAP/POP), file transfers (FTP), remote logins (SSH)

Example: When John opens https://example.com, his browser uses TCP for reliable communication.

User Datagram Protocol (UDP)

Type: Connectionless, best-effort

  • No connection setup, faster transmission
  • No guarantees on delivery or order
  • Lower overhead than TCP

Use Cases: Streaming (YouTube, Netflix), online gaming, DNS queries, VoIP calls

Example: John’s VoIP phone uses UDP to send voice packets, trading some reliability for lower latency.

Internet Protocol (IP)

Type: Network Layer protocol

  • Provides logical addressing (IPv4/IPv6)
  • Handles packet routing between networks

Example: John’s PC (192.168.1.10) sends packets to an Internet web server using IP addresses.

Address Resolution Protocol (ARP)

Type: Link Layer protocol

  • Maps IP addresses to MAC addresses
  • Operates within a LAN

Example: When John pings 192.168.1.20, his PC uses ARP to find the MAC address of that device.

Domain Name System (DNS)

Type: Application Layer protocol

  • Resolves human-readable domain names to IP addresses
  • Hierarchical structure: root, TLD, authoritative servers
  • Supports multiple record types: A, AAAA, MX, CNAME, etc.

Example: John enters www.google.com; DNS translates it to an IP address.

Dynamic Host Configuration Protocol (DHCP)

Type: Application Layer protocol

  • Automatically assigns IP addresses and other network config (gateway, DNS)
  • Lease process involves DISCOVER, OFFER, REQUEST, ACK messages

Example: John’s laptop connects to Wi-Fi and receives an IP via DHCP.

Hypertext Transfer Protocol (HTTP/HTTPS)

  • HTTP: Plain web communication on port 80
  • HTTPS: Encrypted web communication on port 443 (uses TLS/SSL)

Example: John browses https://news.com using HTTPS for secure communication.

File Transfer Protocol (FTP)

Type: Application Layer protocol

  • Transfers files between computers
  • Supports active and passive modes

Example: John uploads files to a website using FTP client software.

Simple Mail Transfer Protocol (SMTP)

Type: Application Layer protocol

  • Sends emails
  • Works with POP/IMAP for email retrieval

Example: John’s email client uses SMTP to send messages.

Internet Control Message Protocol (ICMP)

Type: Network Layer protocol

  • Used for diagnostics and error reporting
  • Tools like ping and traceroute use ICMP

Example: John runs ping google.com to test connectivity.

Routing Protocols

Interior Gateway Protocols (IGP)

  • RIP: Simple distance-vector protocol, suitable for small networks
  • OSPF: Link-state protocol, scalable and fast convergence
  • EIGRP: Cisco proprietary, hybrid routing protocol

Exterior Gateway Protocol

  • BGP: Used for routing between ISPs and large networks on the Internet

Secure Protocols

  • SSH (Secure Shell): Secure remote access and command execution
  • TLS/SSL: Cryptographic protocols used in HTTPS, SMTPS, FTPS

Example: John uses SSH to securely manage a Linux server.

Other Common Protocols

  • SNMP (Simple Network Management Protocol): For monitoring and managing network devices
  • NTP (Network Time Protocol): For synchronizing clocks across devices

Key Points & Exam Tips

  • Know common protocol names, port numbers, and use cases.
  • TCP vs UDP: TCP is reliable and connection-oriented; UDP is faster and connectionless.
  • Understand DHCP, DNS, and ARP for IP management and resolution.
  • ICMP is vital for network troubleshooting.
  • Use secure protocols (SSH, HTTPS) to protect sensitive data.
  • Learn when and why to use specific protocols (FTP for file transfer, SMTP for email, SNMP for monitoring).

Examples Table

Protocol Layer Port Purpose / Use Case Example
TCP4 (Transport)VariesReliable communicationWeb browsing (HTTP)
UDP4 (Transport)VariesFast, connectionless communicationVoIP, streaming
IP3 (Network)Routing and addressingInternet packet delivery
DNS7 (Application)53Domain name resolutionAccessing websites
DHCP7 (Application)67/68Dynamic IP assignmentWi-Fi client joins
ICMP3 (Network)Diagnostics, error reportingping, traceroute
SMTP7 (Application)25Sending emailsEmail client to server
FTP7 (Application)21File transferUploading web files
SSH7 (Application)22Secure remote managementServer admin
SNMP7 (Application)161Network managementSwitch monitoring

Common Network Protocols Quiz

1. Which protocol provides reliable, connection-oriented communication?

Correct answer is A. TCP establishes a connection and guarantees delivery, unlike UDP.

2. Which protocol is connectionless and offers lower overhead?

Correct answer is B. UDP is connectionless and faster but does not guarantee delivery.

3. What is the main function of the Internet Protocol (IP)?

Correct answer is C. IP handles addressing and routing of packets between networks.

4. Which protocol resolves domain names to IP addresses?

Correct answer is D. DNS translates human-readable domain names to IP addresses.

5. What does DHCP do?

Correct answer is A. DHCP automatically assigns IP addresses and related network info.

6. Which protocol is used for sending emails?

Correct answer is B. SMTP is used for email sending.

7. Which protocol is primarily used for file transfers?

Correct answer is C. FTP transfers files between hosts.

8. What is the purpose of ICMP?

Correct answer is D. ICMP is used for network diagnostics like ping.

9. Which protocol is used for secure remote management of servers?

Correct answer is B. SSH provides secure remote login and management.

10. What protocol is used for monitoring and managing network devices?

Correct answer is A. SNMP is the standard for network management.

← Back to Home