From owner-freebsd-net@FreeBSD.ORG Thu Aug 14 04:46:26 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F56237B401 for ; Thu, 14 Aug 2003 04:46:26 -0700 (PDT) Received: from argosy.ca (www.argosy.ca [138.73.18.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D8FF43FBD for ; Thu, 14 Aug 2003 04:46:25 -0700 (PDT) (envelope-from hhwoo@argosy.ca) Received: from a7n8x (berserk@h24-87-8-66.vc.shawcable.net [24.87.8.66]) by argosy.ca (8.12.9/8.12.9) with SMTP id h7EBnnPr096210; Thu, 14 Aug 2003 08:49:49 -0300 (ADT) (envelope-from hhwoo@argosy.ca) Message-ID: <000901c36259$e9c7e970$0800a8c0@a7n8x> From: "Han Hwei Woo" To: "Mikhail E. Zakharov" , References: <014701c361a3$01da40b0$620ce8c0@tv.interprom.msk.su> Date: Thu, 14 Aug 2003 04:47:59 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: 1 server, 1 net, 2 cards X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 11:46:26 -0000 I don't believe it is possible to do that in the manner you're suggesting. What is your purpose for using two ethernet cards with two different IP's on the same network? The carrying capacity of your switching fabric (hub or switch) as well as the ethernet card on the host you try to communicate will limit your bandwidth, so you will not see any performance gain from using the 2nd ethernet card, even if you setup an effective method of load balancing. If you want to use your freebsd box as your switching fabric however, you can setup the 2 cards as a bridge. "man 4 bridge" will explain how to do that. You would then only need 1 IP address for your bridge interface, and you can add a 2nd IP using aliasing as well if you wish. Keep in mind that this will be more cpu intensive than just setting up a separate network on each card, although if your machine is relatively fast, the difference will be negligible. I hope this helps. If not, perhaps you could explain more about what you are trying to accomplish, which will enable us to help you better. Cheers, Han Hwei Woo ----- Original Message ----- From: "Mikhail E. Zakharov" To: Sent: Wednesday, August 13, 2003 6:58 AM Subject: 1 server, 1 net, 2 cards > Hi! > I have two 3com ethernet cards at my FreeBSD server. How to set up them, to > work together at the same subnet with IP 192.168.1.1 (xl0) and IP > 192.168.1.2(xl1). > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >