Protocols

Core protocol concepts for Network+ N10-009

TCP vs UDP

FeatureTCPUDP
ConnectionConnection-orientedConnectionless
ReliabilityGuaranteed deliveryBest-effort
SpeedSlower (handshake)Faster (no handshake)
OrderOrdered packetsNo ordering
Use casesHTTP, FTP, SSH, emailDNS, DHCP, VoIP, streaming
Network+ exam tipTCP uses a 3-way handshake: SYN → SYN-ACK → ACK. Know this for exam questions about connection establishment.

DHCP — DORA Process

  1. Discover — Client broadcasts to find DHCP server
  2. Offer — Server offers an IP address
  3. Request — Client requests the offered IP
  4. Acknowledge — Server confirms the lease

Ports: 67 (server), 68 (client)

Network+ exam tipDHCP uses UDP, not TCP — it's connectionless because the client has no IP address yet to establish a TCP connection.

DNS — Record Types

RecordDescription
AIPv4 address
AAAAIPv6 address
MXMail exchange server (with priority)
CNAMECanonical name (alias)
PTRPointer for reverse DNS (IP → name)
TXTText records (SPF, DKIM, verification)
NSName server (delegation)
SOAStart of authority (zone metadata)

Port: 53 (UDP for queries, TCP for zone transfers)

Network+ exam tipDNS uses UDP for standard queries and TCP for zone transfers (responses > 512 bytes). Know the difference for exam scenarios.

NTP — Stratum Levels

  • Stratum 0 — Reference clocks (atomic, GPS) — not directly networked
  • Stratum 1 — Servers directly connected to stratum 0 (highest accuracy)
  • Stratum 2 — Syncs from stratum 1 servers
  • Stratum 3+ — Downstream clients (your server is likely here)

Port: 123 UDP

Network+ exam tipLower stratum = more accurate. Stratum 0 = atomic clock. Your server is likely stratum 3 or 4. Know that NTP uses UDP port 123.

SNMP — Versions

VersionAuthenticationEncryptionNotes
v1Community stringsNoneLegacy, insecure
v2cCommunity stringsNoneImproved performance, still no encryption
v3User-based authYes (privacy)Use in production — only version with encryption

Ports: 161 (queries), 162 (traps)

Network+ exam tipSNMPv3 is the only version with encryption — always recommend v3 for security. Know ports 161 (queries) and 162 (traps).