NETSTART(8)
NETSTART(8) β network startup script, from the System Manager's Manual, bestie π¦
β¨ NAME β¨
netstart β network startup script. It's giving "the script that gets your network online," and I'm obsessed. π
πΈ SYNOPSIS πΈ
sh /etc/netstart [-n] [interface ...]
That's the whole summoning circle: sh, then /etc/netstart, then optional -n and optional interface names. π«Ά
π DESCRIPTION π
Okay so netstart is a sh(1) script. It gets invoked by rc(8) during an automatic reboot and after single-user mode is exited; it performs network initialization. No cap, that's its whole main-character job. π
It can also be used to start newly created interfaces. Its behaviour is controlled to some extent by variables defined in rc.conf(8) β "to some extent" is doing a lot of work there, so don't forget it. π
During the system boot, netstart is executed. It performs the following operations, in the sequence given β order matters, bestie:
- Configure the loopback interface. β¨
- Configure all physical interfaces. π₯
- Configure non-physical interfaces that can provide the default gateway, such as
aggr(4),trunk(4),svlan(4),vlan(4),carp(4), andpppoe(4). π - Initialize the routing table and set up the default routes. π
- Configure tunnel interfaces that require a working network to reach the other end of the tunnel, such as
tun(4),tap(4),gif(4),etherip(4),gre(4),egre(4),pflow(4), andwg(4). π
After the system is completely initialized, it is possible to start newly created interfaces or apply configuration from hostname.if(5) files to an existing interface. So yes, it can pop off after boot too. π
The options are as follows β and honestly there is exactly one, she's iconic:
-nβ Reports the steps that would be taken, without actually configuring anything. You get the whole plan and zero config changes. βπ
π SEE ALSO π
Go read these next, bestie β the supporting cast:
π¦ HISTORY π¦
The netstart command first appeared in 4.0BSD. Ancient icon behaviour, honestly. π«Ά
Okay bestie, that's the whole manual page. This one is from the Debian edition, dated October 25, 2022, and the manual entry is NETSTART(8). Stay configured, stay slay. π
β¨
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2002, Miodrag Vallat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms