Concepts / Addressing

Addressing

Network configuration

Also called /etc/network/interfaces, ifup, systemd-networkd, .network file, NetworkManager, static address, netplan

A machine's four network settings: the card up, an address and subnet, a default route, a DNS server.

ip link, ip addr and ip route change the running kernel at once, and a reboot forgets them; resolv.conf is a file, but often rewritten at boot. To last, the settings go into a file a networking service applies at every boot: /etc/network/interfaces read by ifup (Alpine, Debian), a .network file read by systemd-networkd (Arch and most others), or NetworkManager's profiles on desktops. Each says either the four values (static) or "ask DHCP". Whatever the tool, it ends in the same kernel calls ip makes.

See it on real machines

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Start with a free account: Google or email, no card.

Start this lab, free