NETLEARN
Lesson 02Operating systems

FreeBSD Interfaces, Routes & Packet Capture

FreeBSD and related BSD systems use familiar networking concepts with their own command conventions. Inspect interfaces, the routing table, and sockets, then practise reading a fictional tcpdump-style sample without capturing live traffic.

Layer
FreeBSD / BSD · diagnosis
Reference
ifconfig · route · sockstat · tcpdump
Steps
4
  1. 01interface
  2. 02routing
  3. 03sockets
  4. 04dummy sample

One tap, one step. Net narrates that step for a moment, then waits for your next tap.

Common misunderstandings

  • Do not edit pf rules or bring interfaces down during diagnosis on a remote machine; you can lock yourself out.

Key notes

sockstat
A BSD tool for inspecting sockets and the processes that own them.
netstat -rn
Shows numeric route entries without requiring name lookups.
Sample output
The lab's tcpdump-style text is fictional and uses documentation-only addresses.