IT Infrastructure & Cloud
What is an IP Address?
Also called Internet Protocol address, IPv4, IPv6.
Short definition
An IP address is a unique numeric address assigned to every device on a network, such as a computer, server, or printer, so data can be delivered to the right device.
What it looks like
An IPv4 address consists of four numbers separated by dots, for example 192.168.1.20. The number of IPv4 addresses is limited, so IPv6 was created, with much longer addresses written in hexadecimal letters and numbers separated by colons. Users rarely type IP addresses directly, because DNS translates domain names into IP addresses. Besides the address, a device also needs a subnet mask that marks which part of the address identifies the network.
Private and public addresses
Devices inside the office use private addresses, for example those starting with 192.168 or 10, which only work on the internal network. When they go out to the internet, they all appear to use the office connection's single public address, through a mechanism called NAT. A static public address is needed if the office runs services accessed from outside, such as a VPN or an application server.
Dynamic or static
Laptops and phones are fine with dynamic addresses from DHCP. Servers, printers, security cameras, and network devices should have fixed addresses so they are easy to find and their access can be controlled in the firewall. A record of address assignments, including which address is used by which device, saves a lot of time when tracing network problems. Two devices that accidentally use the same address will disrupt each other's connections.
Resources
- MDN Web Docs: IP Address (developer.mozilla.org)
- Cloudflare Learning: What is my IP address? (cloudflare.com)