From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 12:41:40 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 7E29C16A400 for ; Tue, 5 Jun 2007 12:41:40 +0000 (UTC) (envelope-from bob@a1poweruser.com) Received: from mta13.adelphia.net (mta13.mail.adelphia.net [68.168.78.44]) by mx1.freebsd.org (Postfix) with ESMTP id 13CAF13C465 for ; Tue, 5 Jun 2007 12:41:39 +0000 (UTC) (envelope-from bob@a1poweruser.com) Received: from laptop ([76.190.225.105]) by mta13.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20070605124139.IUNK16681.mta13.adelphia.net@laptop>; Tue, 5 Jun 2007 08:41:39 -0400 From: "Bob" To: , Date: Tue, 5 Jun 2007 08:41:38 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <46654109.8070507@careytech.com.au> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Cc: 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: bob@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 12:41:40 -0000 The most common configuration for using two nic's is one nic is used for your dsl or cable modem connection to your ISP and the second nic services your local LAN. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Ivan Carey Sent: Tuesday, June 05, 2007 6:55 AM To: freebsd-questions@freebsd.org Subject: How to correctly use 2 on board nics 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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"