IP Addressing
View and configure network interfaces, assign static or dynamic IP addresses, manage routes, and inspect connection state using
ip, Netplan, and NetworkManager.DNS
Configure DNS resolvers, edit
/etc/resolv.conf and /etc/hosts, and use dig, nslookup, and host to query records and troubleshoot resolution failures.Firewall
Manage firewall rules with
ufw for straightforward allow/deny policies and iptables for advanced packet filtering and chain management.SSH
Connect securely to remote servers, set up key-based authentication, configure
sshd, forward ports, transfer files, and harden your SSH setup.Ubuntu 17.10 and later use Netplan as the default network configuration layer. Netplan generates backend configuration for either
systemd-networkd or NetworkManager depending on the renderer you choose. If you are following older tutorials that reference /etc/network/interfaces, note that file is largely superseded on modern Ubuntu systems.