From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 11:09:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCE0A16A468 for ; Tue, 5 Jun 2007 11:09:05 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from psmtp.com (s200aob13.obsmtp.com [207.126.144.117]) by mx1.freebsd.org (Postfix) with SMTP id 0335713C43E for ; Tue, 5 Jun 2007 11:09:04 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([217.206.187.80]) by eu1sys200aob013.postini.com ([207.126.147.11]) with SMTP; Tue, 05 Jun 2007 11:08:52 UTC Received: from [10.0.0.89] (bill.mintel.co.uk [10.0.0.89]) by rodney.mintel.co.uk (Postfix) with ESMTP id 54A6F18141B; Tue, 5 Jun 2007 12:08:52 +0100 (BST) Message-ID: <46654401.4030302@tomjudge.com> Date: Tue, 05 Jun 2007 12:07:45 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: ivan@careytech.com.au References: <46654109.8070507@careytech.com.au> In-Reply-To: <46654109.8070507@careytech.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to correctly use 2 on board nics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 11:09:05 -0000 Ivan Carey wrote: > Hello > I have a server board with 2 onboard nic's > I have set them up in rc.conf as follows > > defaultrouter="192.168.1.1" > network_interfaces="em0 em1 lo0" > ifconfig_em0="inet 192.168.1.3 netmask 255.255.255.0" > ifconfig_em1="inet 192.168.1.4 netmask 255.255.255.0" > > The question, is this the correct configuration? > > If I have both nic's connected to the switch I can ping 192.168.1.1 and > 192.168.1.3 and 192.168.1.4 > > If I have only em0 connected I can ping 192.168.1.1 and 192.168.1.3 > > If I have only em1 connected I can ping 192.168.1.3. > > What could the 2 onboard nic's be best used for. I was thinking that in > the event on was to fail then the other would still be ok. > > Any ideas would help. > Thanks, > Ivan You may want to take a look at if_lacc. Tom