From owner-freebsd-net@FreeBSD.ORG Wed Mar 7 09:05:40 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 735411065673 for ; Wed, 7 Mar 2012 09:05:40 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id F28888FC0C for ; Wed, 7 Mar 2012 09:05:38 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so6694995bkc.13 for ; Wed, 07 Mar 2012 01:05:38 -0800 (PST) Received: by 10.204.15.205 with SMTP id l13mr502496bka.99.1331111138013; Wed, 07 Mar 2012 01:05:38 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id je3sm36959199bkb.15.2012.03.07.01.05.36 (version=SSLv3 cipher=OTHER); Wed, 07 Mar 2012 01:05:37 -0800 (PST) Message-ID: <4F5724E2.3080309@my.gd> Date: Wed, 07 Mar 2012 10:05:38 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: hiren panchasara References: <63821C69-16E5-4483-8307-69DCF2865E99@my.gd> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkoH1yTh5JEfM7Hpo9XNg57I0s05TSVuyMKb8xnueRxIaP+O0PTxUfGEjD66tJarczZg7hU Cc: "freebsd-net@freebsd.org" Subject: Re: Network Interface configuration 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, 07 Mar 2012 09:05:40 -0000 On 3/7/12 9:21 AM, hiren panchasara wrote: > > > On Wed, Mar 7, 2012 at 12:08 AM, Damien Fleuriot > wrote: > > > In /etc/rc.conf > > See the man page for rc.conf for a more detailed use. > See the small example bellow: > > ifconfig_re0="inet 192.168.0.30/24 up" > defaultrouter="192.168.0.254" > > These are the very basics ;) > > > Thanks Damien. > > I looked at the man page. I did "ifconfig" on my box and found an > interface named fwe0. I do not see any entry for that in any > /etc/rc.conf or /etc/defaults/rc.conf > > Where is that coming from? > > Am I missing anything? > > Appreciate your help, > Hiren > The specific parts you'll want to look for, in rc.conf's man page are: ifconfig_ These describe how to permanently setup your network cards. Notice that unlike linux where cards share the same name (ethX), in freebsd your cards are named after the driver that is used. For example, most Intel cards use either "em" or "igb". Regarding your setup, you'll want to use "ifconfig_fwe0" instead of "ifconfig_re0".