Use of network_interfaces in rc.conf

Chuck Swiger cswiger at mac.com
Wed Mar 14 05:32:24 UTC 2012


On Mar 13, 2012, at 10:18 PM, hiren panchasara wrote:
>> What difference does it make when I have each (separately) in my rc.conf:
>> 
>> 1) no network_interfaces at all
>> 2) network_interfaces="AUTO"

These two are the same.

>> 3) network_interfaces="em0"

This will configure em0 only, using ifconfig_em0 if that is set.
You'd almost certainly want to list loopback, aka lo0, in this list.

>> 4) network_interfaces="NOAUTO"

That's invalid.  If you set:

  ifconfig_em0="NOAUTO"

...then em0 would not be auto-configured.

Regards,
-- 
-Chuck



More information about the freebsd-net mailing list