Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2012 16:33:01 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        Eugene Grosbein <egrosbein@rdtc.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Use of network_interfaces in rc.conf
Message-ID:  <CALCpEUG1fOA687BiYOre-7ou1k-zKs0iLYmk2dDJVt5JwhTJEQ@mail.gmail.com>
In-Reply-To: <4F607EDF.4010505@rdtc.ru>
References:  <CALCpEUE5-HgupRc9VfU4W2B4d07mO9ceTiX05SfQCeA_GXDcOQ@mail.gmail.com> <CALCpEUFs74jZ69gCm-1bwGMKZFdkBas2VdR8x1JHAVzFtWSpBA@mail.gmail.com> <D3ACECC5-598B-4679-A76F-7FDD2780BAFF@mac.com> <CALCpEUHywOyDqabNkuRhmZE0o2iCMWTyt%2BAW5GXEu7HdZRgrwg@mail.gmail.com> <4F607EDF.4010505@rdtc.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 14, 2012 at 4:19 AM, Eugene Grosbein <egrosbein@rdtc.ru> wrote:

> 14.03.2012 13:19, hiren panchasara =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> > Thanks Chuck for getting back. I have a question inlined:
> >
> > On Tue, Mar 13, 2012 at 10:32 PM, Chuck Swiger <cswiger@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=3D"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=3D"AUTO"
> > ifconfig_iwn0=3D"AUTO"
> > ifconfig_fwp0=3D"AUTO"
> > ifconfig_wlan0=3D"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=3D"dhcp" ?

Thanks,
Hiren



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUG1fOA687BiYOre-7ou1k-zKs0iLYmk2dDJVt5JwhTJEQ>