Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2012 22:32:10 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Use of network_interfaces in rc.conf
Message-ID:  <D3ACECC5-598B-4679-A76F-7FDD2780BAFF@mac.com>
In-Reply-To: <CALCpEUFs74jZ69gCm-1bwGMKZFdkBas2VdR8x1JHAVzFtWSpBA@mail.gmail.com>
References:  <CALCpEUE5-HgupRc9VfU4W2B4d07mO9ceTiX05SfQCeA_GXDcOQ@mail.gmail.com> <CALCpEUFs74jZ69gCm-1bwGMKZFdkBas2VdR8x1JHAVzFtWSpBA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D3ACECC5-598B-4679-A76F-7FDD2780BAFF>