From owner-freebsd-net@FreeBSD.ORG Wed Mar 14 23:33:03 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D7E4106564A for ; Wed, 14 Mar 2012 23:33:03 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8068C8FC12 for ; Wed, 14 Mar 2012 23:33:02 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so2318417bkc.13 for ; Wed, 14 Mar 2012 16:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WlX9ORIIm2Lc7VQ0cVuDzvkz8a9Ww+mtyMrm0uUaNCA=; b=ewsV9GpYrxxysc4ybiSnDwLVwNempGThou0hY4H2N0PqFzbaGjoFgMH17SuUnurvSm gAjfN+TP30fLMoOQnpKheb/rWXqM2kTkmKR+SwwPNrJTpQS9RlkwHRj87bQSrQbwnfor MaC1M9BCdboTY8uFp9KcZvu7aU1bQlUcneGZK90px90TYouqoIlM7icTCM62FbA5KmmJ +vXekZniTU1Dh1ag/3N7K8D9PgJ8t8zy1CqK3A8PxqaOjdNccspbXqMqwXM0coDD0jB0 UhrLmOfDjteHuyhP5juNNRBkYKunn28RCKFbqvMer+/frOvKVs4zfXZ+VqskH0t2u3OH Kc2Q== MIME-Version: 1.0 Received: by 10.205.127.130 with SMTP id ha2mr1733537bkc.28.1331767981297; Wed, 14 Mar 2012 16:33:01 -0700 (PDT) Received: by 10.204.230.5 with HTTP; Wed, 14 Mar 2012 16:33:01 -0700 (PDT) In-Reply-To: <4F607EDF.4010505@rdtc.ru> References: <4F607EDF.4010505@rdtc.ru> Date: Wed, 14 Mar 2012 16:33:01 -0700 Message-ID: From: hiren panchasara To: Eugene Grosbein Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: Use of network_interfaces in rc.conf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 23:33:03 -0000 On Wed, Mar 14, 2012 at 4:19 AM, Eugene Grosbein 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 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