Use of network_interfaces in rc.conf

hiren panchasara hiren.panchasara at gmail.com
Wed Mar 14 06:19:44 UTC 2012


Thanks Chuck for getting back. I have a question inlined:

On Tue, Mar 13, 2012 at 10:32 PM, Chuck Swiger <cswiger at mac.com> wrote:

> 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.
>
Okay. So, if my system has 4 interfaces: em0, iwn0, fwp0, wlan0

Does the above mean following?

ifconfig_em0="AUTO"
ifconfig_iwn0="AUTO"
ifconfig_fwp0="AUTO"
ifconfig_wlan0="AUTO"

Also, if we say an interface is auto configured, it needs some sort of
configuration to "auto-configure" it with, right? i.e. for em0 something
like:
ifconfig_em0="DHCP"

Thanks,
Hiren


More information about the freebsd-net mailing list