Network engineering

Stage 1 · Lesson 2 of 8

TCP, UDP and port numbers

How networks work and subnetting

The delivers data to the right program. TCP opens a connection with a three-way handshake (SYN, SYN-ACK, ACK), numbers every byte and resends anything lost, so it suits web pages, file transfers and SSH. UDP sends , standalone messages, with no connection and no resending, so it suits DNS lookups, voice, video and DHCP, where speed matters more than a perfect copy.

say which service a is for: 22 for SSH, 53 for DNS, 443 for HTTPS and so on. You will read ports in every access list, firewall rule and , so learn the common ones by heart.

Common trapthinking UDP is rarely used because it is "unreliable": some of the most important services on any network run over it.

A question to check yourself, an AI practice session and 2 cheat sheet entries come with the full roadmap. Unlock

Resources for this stage

Start with· follow one of these

Practise

  • Build a two-subnet network and use simulation mode to watch ARP, DHCP and pings step by step

Keep handy

  • Capture your own traffic and read real headers; the display filter chapter is the one to bookmark

Also worth your time

Mark this stage as not done?