TCP/IP is the backbone of modern networking. Understanding how it works is essential for anyone managing servers or networks.
TCP/IP has four abstraction layers:
IPv4 addresses are 32-bit numbers written as four octets:
192.168.1.1
Key concepts include subnet masks (255.255.255.0), CIDR notation (192.168.1.0/24), and the distinction between public and private addresses.
Every TCP connection starts with a three-way handshake:
This ensures both sides are ready to communicate reliably.
| Service | Port |
|---|---|
| HTTP | 80 |
| HTTPS | 443 |
| SSH | 22 |
| DNS | 53 |
Knowing TCP/IP fundamentals helps you troubleshoot connectivity issues and configure firewalls effectively.
Related Articles
Understanding TCP/IP Fundamentals
Learn the core concepts of TCP/IP networking — from IP addressing to TCP handshakes and DNS resolution.
DNS Demystified 7: Third-Party DNS Providers and Nameserver Management
When to use managed DNS vs self-hosted, how to switch nameservers, and a comparison of Cloudflare, Route53, Google Cloud DNS, NS1, and dnsimple.
DNS Demystified 6: Building Your Own DNS Server for rootlog.in
Types of DNS servers and a step-by-step guide to setting up BIND9 as an authoritative nameserver for the rootlog.in domain.