Welcome to Day 8 of our journey into DevOps in 90 Days series. Whether you’re just starting with Linux or you’re a seasoned user, understanding networking is essential, especially when managing servers and cloud environments. Today, we’ll break down three core concepts in Linux networking: IP addresses, ports, and routing.
An IP (Internet Protocol) address is a unique identifier assigned to devices connected to a network. It allows computers to locate and communicate with each other over an IP-based network, such as the Internet or a local network.
There are two types of IP addresses:
- IPv4: Consists of four octets (numbers between 0–255), for example,
192.168.1.1
. - IPv6: A more recent version designed to replace IPv4, as IPv4 addresses are running out. IPv6 addresses are longer, such as
2001:0db8:85a3:0000:0000:8a2e:0370:7334
.
In Linux, to check the IP addresses of network interfaces, you can use the following…