Hands-on Lab·LPIC-1
Addresses, routes and what the mask decides
Topic 109 is weight 14, the largest on the 102 paper. This guide covers the half of it that is not DNS: what an interface is actually configured with, how the prefix length decides whether a packet goes direct or via the router, what is listening on the machine, and where each family keeps the configuration that survives a reboot - which is genuinely different on the two hosts.
102: Networking Fundamentals Guide 21 of 33 Beginner
- PlatformsUbuntu 26.04 LTS + AlmaLinux 10.2
- TimeAbout 20 min
- RPM packagingrpm 4.19.1.1, dnf 4.20.0
| Server Name | IP Address | OS | Roles | CPU | RAM | HDD |
|---|---|---|---|---|---|---|
| LPIC1-A01 | 192.168.0.76 | Ubuntu 26.04 LTS | Debian-family host - dpkg and apt, which objective 102.4 names | 2 Core | 4 GB | 50 GB |
| LPIC1-B01 | 192.168.0.77 | AlmaLinux 10.2 | RPM-family host - rpm and dnf, which objective 102.5 names | 2 Core | 4 GB | 50 GB |
This guide includes
Use this for the largest topic on the 102 paper. This matters because the mask decides who counts as a neighbour - and that is the whole difference between the two routes on this machine.
- reading what the interface is actually configured with
- seeing how the mask decides who is a neighbour
- asking what is listening and what is connected, with
ss - finding where the configuration lives after a reboot, where the two families genuinely differ
Before you start
-
What the interface is actually configured with
-
The mask decides who is a neighbour
-
What is listening, and what is connected
-
Where the configuration lives after a reboot