Date: Mon, 12 Mar 2012 09:04:15 -0700 From: hiren panchasara <hiren.panchasara@gmail.com> To: freebsd-net@freebsd.org Subject: Use of network_interfaces in rc.conf Message-ID: <CALCpEUE5-HgupRc9VfU4W2B4d07mO9ceTiX05SfQCeA_GXDcOQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Looking at man rc.conf,
network_interfaces
(str) Set to the list of network interfaces to configure on
this host or “AUTO” (the default) for all current
interfaces.
Setting the network_interfaces variable to anything other
than the default is deprecated. Interfaces that the
adminis‐
trator wishes to store configuration for, but not start at
boot should be configured with the “NOAUTO” keyword in
their
ifconfig_⟨interface⟩ variables as described below.
For example, in my rc.conf I have
ifconfig_em0="dhcp"
What difference does it make when I have each (separately) in my rc.conf:
1) no network_interfaces at all
2) network_interfaces="AUTO"
3) network_interfaces="em0"
4) network_interfaces="NOAUTO"
It seems, all but 2 are deprecated.
Thanks in advance,
Hiren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUE5-HgupRc9VfU4W2B4d07mO9ceTiX05SfQCeA_GXDcOQ>
