*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> netstart (8)              
Title
Content
Arch
Section
 

NETSTART(8)

Contents


NAME    [Toc]    [Back]

     netstart - command scripts for network startup

SYNOPSIS    [Toc]    [Back]

     /etc/netstart [interface ...]

DESCRIPTION    [Toc]    [Back]

     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 /etc/rc.conf, which specifies which daemons
and services
     are to be run.

     During the system boot, netstart is executed.  netstart will
perform the
     following operations:

     +o   Set the machine's name.
     +o   Configure the loopback interface.
     +o   Configure all the physical interfaces.
     +o    Initialize  the  routing  table  and set up the default
routes.
     +o   Configure all the gif(4) and gre(4) interfaces.
     +o   Configure all the bridges.

     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

           sh /etc/netstart foo0

     where foo0 is the interface or bridge name.

MULTICAST ROUTING    [Toc]    [Back]

     Routing to the 224.0.0.0/4 net is set up using  values  from
/etc/rc.conf
     according to these rules:

     +o   If the multicast settings are as follows:

               multicast_host=NO
               multicast_router=NO

         then multicast routing will not be enabled.

     +o   If the multicast settings are as follows:

               multicast_host=NO
               multicast_router=YES

         then multicast routing will be enabled, but no multicast
route will
         be set up.  It is expected that a routing  daemon,  such
as mrouted(8),
         will be started as well.

     +o   If the multicast settings are as follows:

               multicast_host=YES
               multicast_router=NO
         or:
               multicast_host=foo0     # interface name
               multicast_router=NO

         then  multicast  routing  will be enabled, using the default interface,
         or the interface name specified by multicast_host.

     +o   Other cases are configuration errors and will cause multicast routing
         not to be enabled.

SEE ALSO    [Toc]    [Back]

      
      
     bridge(4),   gif(4),  gre(4),  bridgename.if(5),  defaultdomain(5),
     hostname.if(5), mygate(5), myname(5),  dhcp(8),  mrouted(8),
rc(8),
     rc.conf(8)

HISTORY    [Toc]    [Back]

     The netstart command appeared in 4.0BSD.

OpenBSD      3.6                        February     20,     2002
[ Back ]
 Similar pages
Name OS Title
rc.securelevel OpenBSD command scripts for system startup
rc OpenBSD command scripts for system startup
rc.local OpenBSD command scripts for system startup
rc.d FreeBSD command scripts for auto-reboot and daemon startup
rc.serial FreeBSD command scripts for auto-reboot and daemon startup
rc FreeBSD command scripts for auto-reboot and daemon startup
rc.pccard FreeBSD command scripts for auto-reboot and daemon startup
rc.network FreeBSD command scripts for auto-reboot and daemon startup
rc.firewall FreeBSD command scripts for auto-reboot and daemon startup
rc.atm FreeBSD command scripts for auto-reboot and daemon startup
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service