Networking Guide
Networking Guide - Complete Reference
Section titled “Networking Guide - Complete Reference”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.
Table of Contents
Section titled “Table of Contents”Part 1: Fundamentals
Section titled “Part 1: Fundamentals”Part 2: Subnetting
Section titled “Part 2: Subnetting”Part 3: Network Services
Section titled “Part 3: Network Services”- Chapter 5: DNS - Domain Name System
- Chapter 6: DHCP - Dynamic Host Configuration Protocol
- Chapter 7: NAT & PAT
Part 4: Routing
Section titled “Part 4: Routing”Part 5: Security
Section titled “Part 5: Security”Part 6: Wireless
Section titled “Part 6: Wireless”Part 7: Monitoring
Section titled “Part 7: Monitoring”Part 8: Advanced Topics
Section titled “Part 8: Advanced Topics”Part 9: Architecture
Section titled “Part 9: Architecture”Part 10: Cloud Networking
Section titled “Part 10: Cloud Networking”Chapter Overview
Section titled “Chapter Overview”Fundamentals (Chapters 1-3)
Section titled “Fundamentals (Chapters 1-3)”- OSI Model: 7 layers, PDUs, devices at each layer
- TCP/IP: 4-layer model, protocols, handshake, states
- IP Addressing: IPv4, IPv6, private addresses
Subnetting (Chapter 4)
Section titled “Subnetting (Chapter 4)”- CIDR notation
- Subnet masks
- VLSM
- Practical examples
Services (Chapters 5-7)
Section titled “Services (Chapters 5-7)”- DNS: Hierarchy, record types, queries, tools
- DHCP: DORA process, lease lifecycle, configuration
- NAT/PAT: Types, port forwarding, configuration
Routing (Chapters 8-9)
Section titled “Routing (Chapters 8-9)”- Routing table, decision process
- Static vs Dynamic routing
- RIP, OSPF, EIGRP, BGP
Security (Chapters 10-11)
Section titled “Security (Chapters 10-11)”- Firewalls: Packet filtering, stateful, iptables, nftables
- VPN: Protocols (IPsec, OpenVPN, WireGuard)
Wireless (Chapter 12)
Section titled “Wireless (Chapter 12)”- WiFi standards (802.11a/b/g/n/ac/ax)
- Channels, security (WPA2, WPA3)
Monitoring (Chapter 13)
Section titled “Monitoring (Chapter 13)”- Tools: ping, traceroute, mtr
- Packet capture: tcpdump, tshark
- Monitoring systems: Prometheus, Grafana
Advanced Topics (Chapters 14-15)
Section titled “Advanced Topics (Chapters 14-15)”- Load Balancing: Algorithms, HAProxy, Nginx
- VLANs: 802.1Q, trunking, VXLAN
Architecture (Chapter 16)
Section titled “Architecture (Chapter 16)”- Network types, topologies
- Three-tier model, DMZ
- Segmentation strategies
Cloud Networking (Chapter 17)
Section titled “Cloud Networking (Chapter 17)”- VPC concepts
- Subnets, security groups
- Cloud connectivity options
- Load balancing in cloud
Key Features
Section titled “Key Features”- 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
Quick Command Reference
Section titled “Quick Command Reference”Network Configuration
Section titled “Network Configuration”# Show IP addressip addr show
# Show routing tableip route show
# Check connectivityping -c 4 8.8.8.8
# Trace routetraceroute 8.8.8.8Firewall (iptables)
Section titled “Firewall (iptables)”# List rulessudo iptables -L -n -v
# Allow SSHsudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT
# Allow established connectionssudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPTDNS Tools
Section titled “DNS Tools”# DNS lookupdig example.com
# Reverse lookupdig -x 8.8.8.8
# Query specific serverdig @8.8.8.8 example.comWireless
Section titled “Wireless”# Scan WiFinmcli device wifi list
# Connect to WiFinmcli device wifi connect "SSID" password "PASSWORD"Networking Checklist
Section titled “Networking Checklist”- 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
Additional Resources
Section titled “Additional Resources”- AWS DevOps Guide - For cloud-specific networking
- Linux SysAdmin Guide - System administration
Last Updated: February 2026