Networking Fundamentals: The Basics That Matter
Why Networking Matters
Everything in infrastructure depends on networking. Your servers, databases, APIs, monitoring - they all need to talk to each other. When networking breaks, everything breaks.
The OSI Model (And Why You Should Care)
Yes, everyone learns the OSI model. No, most people don’t use all 7 layers daily. But understanding it helps you troubleshoot faster:
- Physical (Layer 1) - Is the cable plugged in?
- Data Link (Layer 2) - MAC addresses, switches, VLANs
- Network (Layer 3) - IP addresses, routing, subnets
- Transport (Layer 4) - TCP/UDP, ports, connections
- Application (Layer 7) - HTTP, SSH, DNS, etc.
When something’s broken, start at Layer 1 and work your way up. You’d be surprised how often it’s the cable.
Common Issues & How to Fix Them
Can’t Ping?
- Check if the interface is up:
ip link - Check if you have an IP:
ip addr - Check routing:
ip route - Check firewall:
iptables -Lorufw status - Check if remote host is up:
ping 8.8.8.8 - Check DNS:
dig google.com
Slow Network?
- Check bandwidth:
iperf3 - Check packet loss:
mtr google.com - Check interface errors:
ethtool -S eth0 - Check CPU/memory on network devices
Essential Tools
ping- Basic connectivity testtraceroute- Path discoverytcpdump- Packet capturenetstat/ss- Connection statusnmap- Port scanningwireshark- Deep packet inspection
Next Steps
This is just scratching the surface. Future posts will dive deeper into VLANs, routing protocols, network security, and more.
Stay tuned! 🌐