From owner-freebsd-net@FreeBSD.ORG Wed Mar 14 05:32:24 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40E10106566B for ; Wed, 14 Mar 2012 05:32:24 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id 24BD68FC0C for ; Wed, 14 Mar 2012 05:32:24 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from [10.1.2.130] (unknown [173.200.187.194]) by asmtp019.mac.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0M0V00C6A0PMGG50@asmtp019.mac.com> for freebsd-net@freebsd.org; Wed, 14 Mar 2012 05:32:17 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498,1.0.260,0.0.0000 definitions=2012-03-14_02:2012-03-13, 2012-03-14, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1203130374 From: Chuck Swiger In-reply-to: Date: Tue, 13 Mar 2012 22:32:10 -0700 Message-id: References: To: hiren panchasara X-Mailer: Apple Mail (2.1084) 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 05:32:24 -0000 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