Skip to content

Networking Guide

A comprehensive networking guide for DevOps, SRE, and SysAdmin roles. This guide covers everything from fundamentals to advanced topics, following the aws-devops-guide structure.



  • OSI Model: 7 layers, PDUs, devices at each layer
  • TCP/IP: 4-layer model, protocols, handshake, states
  • IP Addressing: IPv4, IPv6, private addresses
  • CIDR notation
  • Subnet masks
  • VLSM
  • Practical examples
  • DNS: Hierarchy, record types, queries, tools
  • DHCP: DORA process, lease lifecycle, configuration
  • NAT/PAT: Types, port forwarding, configuration
  • Routing table, decision process
  • Static vs Dynamic routing
  • RIP, OSPF, EIGRP, BGP
  • Firewalls: Packet filtering, stateful, iptables, nftables
  • VPN: Protocols (IPsec, OpenVPN, WireGuard)
  • WiFi standards (802.11a/b/g/n/ac/ax)
  • Channels, security (WPA2, WPA3)
  • Tools: ping, traceroute, mtr
  • Packet capture: tcpdump, tshark
  • Monitoring systems: Prometheus, Grafana
  • Load Balancing: Algorithms, HAProxy, Nginx
  • VLANs: 802.1Q, trunking, VXLAN
  • Network types, topologies
  • Three-tier model, DMZ
  • Segmentation strategies
  • VPC concepts
  • Subnets, security groups
  • Cloud connectivity options
  • Load balancing in cloud

  • Detailed Explanations: Every topic covered in depth
  • ASCII Flowcharts: Visual representations without external tools
  • Arch Linux Focus: Commands and tools compatible with Arch Linux
  • Practical Examples: Real-world configurations
  • Cheat Sheets: Quick reference for commands

Terminal window
# Show IP address
ip addr show
# Show routing table
ip route show
# Check connectivity
ping -c 4 8.8.8.8
# Trace route
traceroute 8.8.8.8
Terminal window
# List rules
sudo iptables -L -n -v
# Allow SSH
sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT
# Allow established connections
sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Terminal window
# DNS lookup
dig example.com
# Reverse lookup
dig -x 8.8.8.8
# Query specific server
dig @8.8.8.8 example.com
Terminal window
# Scan WiFi
nmcli device wifi list
# Connect to WiFi
nmcli device wifi connect "SSID" password "PASSWORD"

  • OSI Model (7 layers)
  • TCP/IP Model and Protocols
  • IP Addressing (IPv4, IPv6)
  • Subnetting (CIDR, VLSM)
  • DNS (Record types, resolution)
  • DHCP (DORA process)
  • NAT/PAT
  • Routing (Static, Dynamic)
  • Routing Protocols (RIP, OSPF, BGP)
  • Firewalls (iptables, nftables)
  • VPN (IPsec, OpenVPN, WireGuard)
  • Wireless (WiFi standards, security)
  • Network Monitoring
  • Load Balancing
  • VLANs
  • Network Architecture
  • Cloud Networking


Last Updated: February 2026