Computer networking
A free computer networking course from zero to advanced: OSI and TCP/IP, IP addressing, subnetting, routing, DNS, TLS, security and cloud networking.
Module 1 · Beginner
Start here
What a network is, the kinds of networks around you, and a route through this course.
Module 2 · Beginner
How data travels: network models
The layered models that explain every network, and how data is wrapped and unwrapped on its way.
Module 3 · Beginner
Cables, Wi-Fi and switches
The physical and data link layers: cables, fibre, Wi-Fi, MAC addresses, switches and VLANs.
- Network cables and fibre optics
- How Wi-Fi works: bands, channels and standards
- Ethernet and MAC addresses
- How a switch works: MAC address tables
- ARP: finding a MAC address from an IP address
- VLANs: splitting one switch into several networks
- Spanning Tree Protocol: stopping network loops
Module 4 · Beginner
IP addressing and subnetting
IPv4 and IPv6 addresses, subnet masks, CIDR, private addresses, NAT and DHCP.
- Binary numbers for IP addressing
- IPv4 addresses and classes
- Subnet masks and CIDR notation
- How to subnet a network
- Subnetting practice: 20 problems with solutions
- Public and private IP addresses
- NAT and port forwarding
- DHCP: how devices get an IP address
- IPv6 addresses for beginners
Module 5 · Intermediate
Routing
How routers choose a path across networks and across the internet.
- How a router works
- Routing tables and the default gateway
- Static vs dynamic routing
- Routing protocols: RIP and OSPF
- BGP: how the internet is routed
- traceroute: following a packet across the internet
Module 6 · Intermediate
TCP, UDP and ports
How data reaches the right program, reliably or quickly: TCP, UDP, ports and QUIC.
- TCP vs UDP: differences and uses
- Ports and sockets explained
- The TCP three-way handshake
- TCP flow control and congestion control
- QUIC and HTTP/3: TCP rethought
Module 7 · Intermediate
DNS, HTTP and other protocols
The protocols apps use every day: DNS, HTTP, TLS, SSH, email and WebSockets.
- How DNS works: from domain name to IP address
- DNS record types: A, AAAA, CNAME, MX and TXT
- HTTP/1.1, HTTP/2 and HTTP/3 compared
- HTTPS and the TLS handshake
- SSH: secure remote login and keys
- Email protocols: SMTP, IMAP and POP3
- FTP, SFTP and file transfer
- WebSockets for real-time apps
- What happens when you type a URL?
Module 8 · Intermediate
Network tools and troubleshooting
The commands and tools to see what a network is doing, and a method for fixing it.
- ping and traceroute
- ipconfig, ip and ifconfig: your network settings
- nslookup and dig: checking DNS
- netstat and ss: open ports and connections
- curl for testing APIs and websites
- Wireshark for beginners: capturing packets
- How to troubleshoot a network problem
- Linux commands for DevOps beginners
Module 9 · Intermediate
Network programming with Python
Write programs that talk over the network, from raw sockets to HTTP clients and async servers.
- Python sockets for beginners
- Build a TCP chat server in Python
- UDP sockets in Python
- HTTP clients with requests and httpx
- Async network servers with asyncio
- Build a simple port scanner, and use it ethically
Module 10 · Intermediate
Network security
Protect networks and the data on them: firewalls, VPNs, certificates and common attacks.
- Firewalls: how they filter traffic
- VPNs: how they work and when to use one
- Certificates and public key infrastructure (PKI)
- Common network attacks: DDoS, spoofing and man-in-the-middle
- Wi-Fi security: WPA2 and WPA3
- Zero trust networking
- Rate limiting: algorithms and examples
Module 11 · Advanced
Networking in the cloud
How networks work inside AWS, Azure and Google Cloud: VPCs, subnets, gateways, security groups and load balancers.
- How cloud networking works
- What is a VPC? Virtual private clouds
- Public and private subnets in a VPC
- Route tables and internet gateways
- NAT gateways: internet access for private servers
- Security groups vs network ACLs
- Cloud load balancers: application and network
- Connecting VPCs: peering and Transit Gateway
- Hybrid cloud: site-to-site VPN and Direct Connect
- Cloud DNS with Route 53
- Private endpoints and PrivateLink
- AWS VPC, Azure VNet and Google Cloud VPC compared
- Cloud networking costs: data transfer explained
- Load balancers explained, with examples
- CDN explained: what it is and how it works
Module 12 · Advanced
Container and Kubernetes networking
How containers and Kubernetes pods find and talk to each other.
- Docker networking: bridge, host and overlay
- The Kubernetes networking model
- Kubernetes Services: ClusterIP, NodePort and LoadBalancer
- Kubernetes Ingress and gateways
- Service meshes: what Istio and Linkerd do
Module 13 · Advanced
Advanced networking
How large networks are built, automated and kept running.
- Layer 4 vs layer 7 load balancing
- Anycast: how CDNs and DNS stay fast
- Software-defined networking (SDN)
- Network automation with Python and Netmiko
- Infrastructure as code for networks with Terraform
- High availability: redundancy and failover
- Network monitoring and observability
Module 14 · Intermediate
Projects
Build and run real networks, at home and in the cloud.
- Set up a home network the right way
- Host a website behind Nginx with HTTPS
- Design a VPC for a three-tier web app
- Build a VPC on AWS with Terraform
Module 15 · Advanced
Interview and certification preparation
Get ready for networking questions in interviews, and choose a certification.
- 50 computer networking interview questions with answers
- Cloud networking interview questions
- Networking certifications: CCNA, Network+ and cloud
- Subnetting quick reference
- Computer networking quick reference
Want to learn this with others?
Join our free DevOps training, run by the theprogrammers community.