Manual Page Search Parameters

NETSTART(8) System Manager's Manual NETSTART(8)


netstartcommand script for network startup


/etc/netstart [interface ...]


netstart is the command script that is invoked by rc(8) during an automatic reboot and after single-user mode is exited; it performs network initialization.
The netstart script can also be used to start newly created bridges or interfaces, or reset existing interfaces to their default state. The behaviour of this script is (or can be) controlled to some extent by variables defined in rc.conf(8), which specifies which daemons and services are to be run.
During the system boot, netstart is executed. netstart performs the following operations, in the sequence given:
After the system is completely initialized, it is possible to start a newly created interface or bridge(4), or reset an existing interface to its default state, by invoking the following, where foo0 is the interface or bridge name:
# sh /etc/netstart foo0


To enable multicast(4) routing, the net.inet.ip.mforwarding and/or net.inet6.ip6.mforwarding sysctl(8) variables should be set to 1. Multicast routing is only enabled if multicast is set to “YES” in rc.conf.local(8). Other cases are configuration errors and will cause multicast routing not to be enabled.


multicast(4), defaultdomain(5), hostname.if(5), myname(5), ifconfig(8), rc(8), rc.conf(8)


The netstart command first appeared in 4.0BSD.
September 5, 2016 OpenBSD-current