Networking

Linux Network Administration

Linux powers roughly 90% of the world's cloud infrastructure, over 70% of enterprise servers, and nearly all of the networking gear running behind major US companies. Red Hat, Ubuntu, and SUSE deployments are the backbone of everything from banking systems and healthcare data platforms to government and defense networks.

June 25, 20269 min read
Linux Network Administration

Linux Networking Fundamentals You Need to Know

Understanding Linux networking is essential for system administrators. From troubleshooting connectivity issues to configuring enterprise servers, mastering the fundamentals makes diagnosing problems faster and more efficient.

Linux Networking


OSI Model in a Linux Context

The OSI model helps isolate networking issues by dividing communication into layers. Linux provides dedicated tools for each layer.

+-------------------------------+
| Layer 7 | Application         |
| curl • wget • dig • nslookup  |
+-------------------------------+
| Layer 4 | Transport           |
| ss • netstat • nc             |
+-------------------------------+
| Layer 3 | Network             |
| ip addr • ip route • ping     |
| traceroute                    |
+-------------------------------+
| Layer 2 | Data Link           |
| ip link • arp                 |
+-------------------------------+
| Layer 1 | Physical            |
| ethtool                       |
+-------------------------------+

Core Linux Networking Concepts

🔌 Network Interfaces

Every network adapter is represented as a Linux interface.

Examples:

eth0
ens33
bond0
Internet
    │
    ▼
+---------+
|  eth0   |
+---------+

🌐 IP Addressing & Subnets

Linux supports both IPv4 and IPv6 using CIDR notation.

Examples:

192.168.1.10/24
10.0.0.5/16
2001:db8::1/64

IP Addressing


🗺️ Routing

The Linux kernel determines where packets are sent using the routing table.

Packet
   │
   ▼
Routing Table
   │
   ▼
Default Gateway
   │
   ▼
Destination

Useful commands:

ip route
ip route show

🔍 DNS Resolution

DNS converts hostnames into IP addresses.

Browser
   │
   ▼
DNS Resolver
   │
   ▼
DNS Server
   │
   ▼
IP Address

Useful commands:

dig google.com
nslookup google.com
host google.com

🏢 VLANs & Bonding

Enterprise networks use VLANs to separate traffic and bonding for redundancy.

        Switch
      /    |    \
 VLAN10 VLAN20 VLAN30
   HR   Finance  DevOps

🔒 Linux Firewalls

Linux secures systems using firewall frameworks such as nftables, iptables, firewalld, and UFW.

Internet
    │
    ▼
Firewall
 ├── Allow SSH
 ├── Allow HTTPS
 └── Block Others

Useful commands:

nft list ruleset
iptables -L
firewall-cmd --list-all
ufw status

Modern vs Legacy Tools

ModernLegacy
ipifconfig
ip routeroute
ssnetstat
nftiptables

Tip: Prefer the iproute2 tools (ip, ss, nft) for modern Linux administration.


Key Takeaways

  • Understand the OSI model for structured troubleshooting.
  • Learn IP addressing, routing, and DNS first.
  • Use VLANs and bonding in enterprise environments.
  • Manage traffic securely with Linux firewalls.
  • Favor modern networking tools over legacy commands. Mastering these fundamentals provides a strong foundation for Linux system administration and enterprise networking.