Menu
“IP addressing and protocols, network configuration, troubleshooting and client-side DNS.”
Topic 109 is the networking part of the LPIC-1 102-500 exam. It starts with the theory every admin needs (IPv4 and IPv6 addresses, subnets, TCP, UDP, ICMP and well-known ports), then shows how a Linux host gets its network settings and keeps them across reboots.
The second half is hands-on: reading and changing addresses and routes with ip, finding out why a connection fails, and making sure names resolve to the right addresses.
You’ll learn:
- How to read netmasks and CIDR prefixes, split a network into subnets, and tell private from public addresses
- The differences between TCP, UDP and ICMP, the ports the exam lists, and what’s new in IPv6
- How to set a hostname, a static address, a gateway and DNS with
hostnamectl,nmcli, ifupdown and systemd-networkd - How to troubleshoot with
ip,ss,ping,traceroute,tracepathandnc, and what the legacyifconfig,routeandnetstatdo - How
/etc/hosts,/etc/resolv.confand/etc/nsswitch.confwork together, and how to query DNS withdig,hostandgetent
You’ll need: a Linux machine or VM. A container (docker run -it --rm debian or ubuntu) is enough for the theory, ip, ss, ping and dig, but it has no NetworkManager or systemd, so use a VM with Debian, Ubuntu, Fedora or a RHEL clone for the configuration byte. Looking around works as a normal user; changing addresses, routes, hostnames or files in /etc/ needs root or sudo.
- 1 Fundamentals of internet protocolsIPv4 addresses, masks and CIDR, private ranges, TCP, UDP and ICMP, the ports you must know, and what IPv6 changes.
- 2 Persistent network configurationGive a Linux host a name, an address, a gateway and DNS that survive a reboot, with NetworkManager, ifupdown and systemd-networkd.
- 3 Basic network troubleshootingRead and change addresses and routes with ip, find listening ports with ss, test paths with ping, traceroute, tracepath and netcat, and know the old net-tools.
- 4 Configure client side DNSHow Linux turns names into addresses: /etc/hosts, resolv.conf and nsswitch.conf, querying with host, dig and getent, and where systemd-resolved fits in.

Byte card
The whole topic on one card
- A /n network has 2^(32-n) addresses; private ranges are 10/8, 172.16/12 and 192.168/16.
- TCP connects and guarantees delivery, UDP just sends, ICMP carries ping and errors.
- nmcli saves profiles that survive reboots; ip changes are gone after a restart.
- Debug bottom up: link, address, gateway, route, DNS, then the service port.
- getent follows /etc/hosts and nsswitch.conf; dig and host only ask DNS.
Save it as a cheat sheet, or share it with someone who's learning this too.