Networking Basics¶
Networking is one of the core skills every DevOps Engineer should understand. This chapter introduces the networking concepts you'll encounter in cloud platforms, Linux servers, Kubernetes, and production infrastructure.
What is an IP Address?
An IP Address (Internet Protocol Address) is a unique identifier assigned to a device on a network.
Just as every house has a postal address, every device connected to a network has an IP address.
Example
192.168.1.10
Private vs Public IP Address
Private IP Ranges
Valid vs Invalid IP
Every octet in an IPv4 address must be between 0 and 255.
Public Network vs Private Network
VPN
A Virtual Private Network (VPN) creates an encrypted connection between your device and a private network.
Laptop
│
▼
VPN
│
▼
Office Network
Bastion Host
A Bastion Host is a secure jump server used to access private servers inside a network.
Developer
│
▼
Bastion Host
│
▼
Private Servers
CIDR
CIDR (Classless Inter-Domain Routing) represents the network prefix using a slash (/).
Example
IP Address : 192.168.1.10
Subnet Mask : 255.255.255.0
CIDR Notation : 192.168.1.10/24
Common CIDR Blocks
Key Takeaways
- Private IP addresses are used inside internal networks.
- Public IP addresses are reachable over the Internet.
- Every IPv4 octet must be between 0 and 255.
- VPN provides secure remote connectivity.
- Bastion Hosts provide secure access to private infrastructure.
- CIDR determines the size of a network.