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.

15 modules · 9 lessons so far

Module 1 · Beginner

Start here

What a network is, the kinds of networks around you, and a route through this course.

  1. What is a computer network?
  2. Computer networking roadmap for beginners
  3. Types of networks: LAN, WAN, MAN and PAN
  4. Network topologies: bus, star, ring and mesh
  5. Networking terms every beginner should know

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.

  1. The OSI model, layer by layer
  2. The TCP/IP model and how it maps to OSI
  3. Packets, frames and encapsulation
  4. Bandwidth, latency and throughput explained
  5. Latency, throughput and availability

Module 4 · Beginner

IP addressing and subnetting

IPv4 and IPv6 addresses, subnet masks, CIDR, private addresses, NAT and DHCP.

  1. Binary numbers for IP addressing
  2. IPv4 addresses and classes
  3. Subnet masks and CIDR notation
  4. How to subnet a network
  5. Subnetting practice: 20 problems with solutions
  6. Public and private IP addresses
  7. NAT and port forwarding
  8. DHCP: how devices get an IP address
  9. IPv6 addresses for beginners

Module 5 · Intermediate

Routing

How routers choose a path across networks and across the internet.

  1. How a router works
  2. Routing tables and the default gateway
  3. Static vs dynamic routing
  4. Routing protocols: RIP and OSPF
  5. BGP: how the internet is routed
  6. 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.

  1. TCP vs UDP: differences and uses
  2. Ports and sockets explained
  3. The TCP three-way handshake
  4. TCP flow control and congestion control
  5. 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.

  1. How DNS works: from domain name to IP address
  2. DNS record types: A, AAAA, CNAME, MX and TXT
  3. HTTP/1.1, HTTP/2 and HTTP/3 compared
  4. HTTPS and the TLS handshake
  5. SSH: secure remote login and keys
  6. Email protocols: SMTP, IMAP and POP3
  7. FTP, SFTP and file transfer
  8. WebSockets for real-time apps
  9. 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.

  1. ping and traceroute
  2. ipconfig, ip and ifconfig: your network settings
  3. nslookup and dig: checking DNS
  4. netstat and ss: open ports and connections
  5. curl for testing APIs and websites
  6. Wireshark for beginners: capturing packets
  7. How to troubleshoot a network problem
  8. 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.

  1. Python sockets for beginners
  2. Build a TCP chat server in Python
  3. UDP sockets in Python
  4. HTTP clients with requests and httpx
  5. Async network servers with asyncio
  6. 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.

  1. Firewalls: how they filter traffic
  2. VPNs: how they work and when to use one
  3. Certificates and public key infrastructure (PKI)
  4. Common network attacks: DDoS, spoofing and man-in-the-middle
  5. Wi-Fi security: WPA2 and WPA3
  6. Zero trust networking
  7. 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.

  1. How cloud networking works
  2. What is a VPC? Virtual private clouds
  3. Public and private subnets in a VPC
  4. Route tables and internet gateways
  5. NAT gateways: internet access for private servers
  6. Security groups vs network ACLs
  7. Cloud load balancers: application and network
  8. Connecting VPCs: peering and Transit Gateway
  9. Hybrid cloud: site-to-site VPN and Direct Connect
  10. Cloud DNS with Route 53
  11. Private endpoints and PrivateLink
  12. AWS VPC, Azure VNet and Google Cloud VPC compared
  13. Cloud networking costs: data transfer explained
  14. Load balancers explained, with examples
  15. 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.

  1. Docker networking: bridge, host and overlay
  2. The Kubernetes networking model
  3. Kubernetes Services: ClusterIP, NodePort and LoadBalancer
  4. Kubernetes Ingress and gateways
  5. Service meshes: what Istio and Linkerd do

Module 13 · Advanced

Advanced networking

How large networks are built, automated and kept running.

  1. Layer 4 vs layer 7 load balancing
  2. Anycast: how CDNs and DNS stay fast
  3. Software-defined networking (SDN)
  4. Network automation with Python and Netmiko
  5. Infrastructure as code for networks with Terraform
  6. High availability: redundancy and failover
  7. Network monitoring and observability

Module 14 · Intermediate

Projects

Build and run real networks, at home and in the cloud.

  1. Set up a home network the right way
  2. Host a website behind Nginx with HTTPS
  3. Design a VPC for a three-tier web app
  4. 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.

  1. 50 computer networking interview questions with answers
  2. Cloud networking interview questions
  3. Networking certifications: CCNA, Network+ and cloud
  4. Subnetting quick reference
  5. Computer networking quick reference

Want to learn this with others?

Join our free DevOps training, run by the theprogrammers community.