Homelab Academy / Modules
Guided practice + break/fix + lab gate.
Module: Module 1: Infrastructure & Addressing
Activity type: Lab (Practice)
Objective: Given a host, the learner can read IPv4 address, mask, and gateway; explain network vs host bits; contrast classful charts with classless /24 math; and decide same-LAN vs via-gateway delivery.
Use the machine you actually lab on. Replace example IPs with yours.
Capture interface facts.
ipconfig
ipconfig /all
Get-NetIPConfiguration | Format-List InterfaceAlias, IPv4Address, IPv4DefaultGateway
ip -br addr
ip route
ip -4 addr show
Workbook table: adapter name, IPv4, mask, gateway, DHCP or static.
Apply the 255/0 hack. Circle network octets vs host octets. Write one sentence: “Every host on my LAN shares _ and differs in _.”
List three other devices on the same LAN (phone, AP, Proxmox, printer). Confirm their IPs share the network portion you predicted (check each device’s status page or arp/ip neigh after a ping).
ping -c 2 GATEWAY-IP
ping -c 2 OTHER-LAN-HOST
ip neigh
ping -n 2 GATEWAY-IP
ping -n 2 OTHER-LAN-HOST
arp -a
Same-network test: ping another LAN host; expect success (firewall permitting).
Off-network test: ping 1.1.1.1 (or another known Internet IP). Expect success only if WAN works.
ping -c 3 1.1.1.1
traceroute -n 1.1.1.1 | head
# First hop should be your default gateway on a normal home setup
ip route | awk '/default/ {print}'
ping -n 3 1.1.1.1
tracert -d 1.1.1.1
# First hop should be your Default Gateway
Workbook: “First hop to the Internet was ____ (gateway). Local NAS ping did / did not need that hop for delivery decision.”
If your mask is 255.255.255.0, compute:
- network address
- broadcast address
- theoretical host count (254)
- practical leftover after gateway (document your gateway IP)
Optional stretch: on the router admin UI (screenshot secrets removed), note DHCP pool start/end. Compare pool size to your math.
Static caution (do not break production): pick an unused address inside the subnet but outside the DHCP pool if you later static a lab VM. Record the choice; do not implement on a critical host until Class 1/Proxmox needs it.
Classify your LAN IP by first octet using the A–E chart. Write: class letter, default classful mask, and your actual mask. Are they the same? (Most home LANs are Class C looking with a /24 mask, or Class A looking 10.x with a classless /24.)
Workbook contrast: one row for “classful default size,” one row for “my real network size.” One sentence: “Classful told me _; classless/mask told me _.”
Loopback proof
ping -n 4 127.0.0.1
ping -n 2 127.0.0.2
ping -c 4 127.0.0.1
ping -c 2 127.0.0.2
Workbook: “Loopback succeeded / failed. I would / would not assign a 127.x address to a NAS.” Circle Class D and E on the chart and write “not for unicast hosts.”
Disconnect Wi-Fi / unplug Ethernet → ipconfig / ip addr loses address or shows disconnected → restore → address returns (DHCP) or static returns.
Wrong mental model: pretend a host 10.0.0.5 is “local” to your 192.168.1.0/24 without a router, explain why the mask says no.
Gateway down simulation (lab only): if you can safely shut WAN on a test router, confirm LAN pings still work while 1.1.1.1 fails, proves local vs remote paths.
Class vs mask: take a 10.x address with mask 255.255.255.0 and explain to a partner why calling it “a Class A network of 16 million hosts” would be wrong for your LAN.
Loopback vs LAN: with Wi-Fi off, confirm ping 127.0.0.1 still works while ping 1.1.1.1 fails, local stack vs Internet path.
192.168.1.0/24..0 or .255 to a host on a /24.127.x address on a lab host “because the chart had free numbers.”All boxes must be true before the next class unlocks. If you fail: feedback → targeted review → new practice → reassess.
/24 (or documented non-/24 with instructor help) is in the workbook.ping 127.0.0.1 and explains why 127.0.0.0/8 is not LAN address space.