Inspect the network
ifconfig
netstat -rn
route -n get default
cat /etc/resolv.conf- ifconfig shows interface state and addresses.
- netstat -rn and route expose routing decisions.
Configure interfaces and routes, distinguish runtime from persistent settings, and troubleshoot connectivity methodically.
ifconfig changes runtime interface state. Persistent interface configuration belongs in rc.conf, often written with sysrc. Default routing and DNS are separate configuration concerns.
Start with interface/link state, then local addressing, route selection, reachability and DNS. Avoid changing all layers at once.
ifconfig
netstat -rn
route -n get default
cat /etc/resolv.confGoal: Identify the active interface, default route, DNS servers and listening sockets without changing configuration.
ifconfig -anetstat -rn
route -n get defaultping -c 2 1.1.1.1 || true
host freebsd.org || drill freebsd.org || truesockstat -4 -6 | head -30Layered network diagnosis reduces accidental outages.
Open each answer only after you have tried to answer the question yourself.
ifconfig.
/etc/rc.conf, commonly via sysrc defaultrouter.
It distinguishes basic reachability/routing from name-resolution failure.
Progress is saved in this browser immediately. When you sign in to My Learning, it can also sync across devices.
Attempt the core lab and knowledge checks before marking the module complete.