From owner-freebsd-questions Tue Jan 15 22: 2: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mako1.telstra.net (mako1.telstra.net [203.50.0.28]) by hub.freebsd.org (Postfix) with ESMTP id 0511F37B417 for ; Tue, 15 Jan 2002 22:02:06 -0800 (PST) Received: from galaxy (galaxy.telstra.net [203.50.0.181]) by mako1.telstra.net (8.11.3/8.11.1) with SMTP id g0G627b28219 for ; Wed, 16 Jan 2002 17:02:08 +1100 (EST) (envelope-from peterm@telstra.net) From: "Peter Marrinon" To: Subject: Duel NICs to same LAN Date: Wed, 16 Jan 2002 17:02:35 +1100 Message-ID: <001901c19e53$64f2ea40$b50032cb@in.telstra.com.au> 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 CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I run some FreeBSD servers whose Fast Ethernet links are saturated. I am experimenting with a box with two NICs (fxp0 and fxp1) in an attempt to double the bandwidth. Both NICs have their own IP address but are in the same subnet. They are connected to a Cisco switch. Without any configuration changes, I can roughly double the incoming bandwidth by load balancing incoming traffic over the two ip addresses. However, because both interfaces are on the same LAN, all outgoing traffic goes through fxp0, as that is the default route. What I would like to see is either: * all outgoing traffic load-balanced across the two cards, or * the traffic for each source IP address going out the relevant NIC (I can then do the load balancing at a higher level) Has anyone successfully done either of these? I have tried ipfw fwd, but that allows me only to forward to a gateway, not an interface. I have also tried using netgraph - I can get outgoing load-balanced, but not with incoming at the same time. Regards, Peter ----------------------------------------------- Peter Marrinon Systems Engineer Telstra Internet Network Development (02) 6208 1684 peterm@telstra.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message