Linux › Module 4 › Lesson 4
Lab — Network Recon with Linux
Hands-on lab: map your network footprint with Linux networking tools
Opening
Recon starts at home
Before scanning anyone else, map your own machine: IP addresses, open ports, gateway reachability. This lab mirrors the first minutes of a real network investigation—on your own box, safely.
1. Lab Steps
1. Identify interfaces and IPs: ip a 2. Find your default route (gateway): ip route 3. Ping the gateway (often 192.168.x.1) or a public DNS: ping -c 4 8.8.8.8 4. Trace path to a host: traceroute cyberlium.com (or tracepath cyberlium.com) 5. List listening ports on your machine: ss -tuln 6. Fetch headers from a website: curl -I https://cyberlium.com
2. What to Write Down
Keep a short notes file:
My IPFrom ip a (main interface).
From ip a (main interface).
GatewayFrom ip route default via ...
From ip route default via ...
Open portsFrom ss -tuln (LISTEN lines).
From ss -tuln (LISTEN lines).
HTTP serverFrom curl -I Server header if present.
From curl -I Server header if present.
Complete Network Recon Lab
Run all six steps on your Linux VM or WSL. Save notes in ~/cyberlium-lab/network-notes.txt using nano.