From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 12:01:54 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 227BC16A41F for ; Tue, 5 Jun 2007 12:01:54 +0000 (UTC) (envelope-from ivan@careytech.com.au) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9CBF613C487 for ; Tue, 5 Jun 2007 12:01:53 +0000 (UTC) (envelope-from ivan@careytech.com.au) X-IronPort-AV: E=Sophos;i="4.16,385,1175437800"; d="scan'208";a="139132459" Received: from ppp154-213.static.internode.on.net (HELO [192.168.1.2]) ([150.101.154.213]) by ipmail01.adl2.internode.on.net with ESMTP; 05 Jun 2007 21:31:51 +0930 Message-ID: <466550AE.1010209@careytech.com.au> Date: Tue, 05 Jun 2007 22:01:50 +1000 From: Ivan Carey User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Tom Judge References: <46654109.8070507@careytech.com.au> <46654401.4030302@tomjudge.com> In-Reply-To: <46654401.4030302@tomjudge.com> 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 Reply-To: ivan@careytech.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 12:01:54 -0000 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 ?