From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 12:23:04 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 8CE0516A400 for ; Tue, 5 Jun 2007 12:23:04 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from s200aog11.obsmtp.com (s200aog11.obsmtp.com [207.126.144.125]) by mx1.freebsd.org (Postfix) with SMTP id D48AC13C44C for ; Tue, 5 Jun 2007 12:23:03 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([217.206.187.80]) by eu1sys200aob011.postini.com ([207.126.147.11]) with SMTP; Tue, 05 Jun 2007 12:22: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 7FF9218141C; Tue, 5 Jun 2007 13:22:52 +0100 (BST) Message-ID: <46655559.2030408@tomjudge.com> Date: Tue, 05 Jun 2007 13:21: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> <46654401.4030302@tomjudge.com> <466550AE.1010209@careytech.com.au> In-Reply-To: <466550AE.1010209@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 12:23:04 -0000 Ivan Carey wrote: > Tom Judge wrote: >> 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 >> >> > What is if_lacc ? My bad, sorry should be if_lagg. Tom