Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
NETSTART(8)		FreeBSD	System Manager's Manual		   NETSTART(8)

NAME
     netstart -- command script	for network startup

SYNOPSIS
     /etc/netstart [[-n] interface ...]

DESCRIPTION
     netstart is the command script that is invoked by rc(8) during an auto-
     matic 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 be-
     haviour of	this script is (or can be) controlled to some extent by	vari-
     ables 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 fol-
     lowing operations,	in the sequence	given:

	   o   Configure the loopback interface.
	   o   Configure all physical interfaces.
	   o   Configure non-physical interfaces that can provide the default
	       gateway,	such as	aggr(4), trunk(4), svlan(4), vlan(4), carp(4),
	       and pppoe(4).
	   o   Initialize the routing table and	set up the default routes.
	   o   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), and wg(4).

     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

     Using the -n option reports the steps that	would be taken,	without	actu-
     ally configuring the interface.

SEE ALSO
     multicast(4), defaultdomain(5), hostname.if(5), mygate(5),	ifconfig(8),
     rc(8), rc.conf(8)

HISTORY
     The netstart command first	appeared in 4.0BSD.

FreeBSD	13.0		       November	29, 2020		  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=netstart&sektion=8&manpath=OpenBSD+6.9>

home | help