From owner-freebsd-net@FreeBSD.ORG Thu Sep 7 09:37:26 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 800E316A4DD for ; Thu, 7 Sep 2006 09:37:26 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id F408843D73 for ; Thu, 7 Sep 2006 09:37:24 +0000 (GMT) (envelope-from stb@lassitu.de) Received: (from stb@koef.zs64.net) (authenticated) by koef.zs64.net (8.13.8/8.13.8) with ESMTP id k879akpO051559 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Thu, 7 Sep 2006 11:36:46 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <529C787B-47A5-431F-987F-E99767027016@lassitu.de> Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Thu, 7 Sep 2006 11:37:04 +0200 To: David Bila X-Mailer: Apple Mail (2.752.2) Cc: freebsd-net@freebsd.org Subject: Re: Two ISP connections with Natd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 07 Sep 2006 09:37:26 -0000 Am 04.09.2006 um 12:40 schrieb David Bila: > I am running freebsd as getway for my office. I Just acquired second > Internet last week. I wonder if there is a way trhough route add - > net and > ipfw I can manipulate my traffic in a such way that some traffic to a > selected network can go through one ISP while the rest goes through > the > default gateway. I am using natd and my FreeBSD box has got 3 NICs, > one for > internal network and other two for each ISP. The short answer: yes, it is possible to configure ipfw (or pf) to route some connections over ISP A and others over ISP B. If you want more specific hints, you should give us more details: how are those two ISPs connected to your FreeBSD machine? Direct IP network, PPPoE? Which connections specifically do you want routed through which ISP? Stefan -- Stefan Bethke Fon +49 170 346 0140