Use of network_interfaces in rc.conf
hiren panchasara
hiren.panchasara at gmail.com
Wed Mar 14 23:33:03 UTC 2012
On Wed, Mar 14, 2012 at 4:19 AM, Eugene Grosbein <egrosbein at rdtc.ru> wrote:
> 14.03.2012 13:19, hiren panchasara пишет:
> > 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"
>
> No.
>
> network_interfaces is basically historic rudiment
> used in 2.2.x FreeBSD version and alike.
>
> In general, you should not use it in modern version at all.
>
Thanks Eugene.
So, the only way to specify boottime configuration (that survives reboots)
for an interface in rc.conf is:
ifconfig_em0="dhcp" ?
Thanks,
Hiren
More information about the freebsd-net
mailing list