From owner-freebsd-isp Wed Dec 4 11:29:49 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 079B137B411 for ; Wed, 4 Dec 2002 11:29:45 -0800 (PST) Received: from mx1.purplecat.net (mx1.purplecat.net [208.133.44.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD31D43EAF for ; Wed, 4 Dec 2002 11:29:44 -0800 (PST) (envelope-from peter@skyrunner.net) Received: (qmail 16273 invoked from network); 4 Dec 2002 19:30:23 -0000 Received: from unknown (HELO micron) (208.150.25.130) by mx1.skyrunner.net with SMTP; 4 Dec 2002 19:30:23 -0000 From: "Peter Brezny" To: Subject: avoiding circular route problems when changing data providers (advice needed) Date: Wed, 4 Dec 2002 14:29:38 -0500 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.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi everyone. I need some way to set up preferred routes based on source addresses. We're migrating from one data provider to another, and I'd very much like to simply put the new address range on the same freebsd router I'm using now and plug it's primary interface into a switch that's connected currently to both data providers routers (the old and the new). Doing so leaves data from the new provider's ip space on our network heading out to the internet via the old data provider's router due to the existing default route. And then coming back through the new provider's router. I'm not actually sure this is going to be a huge problem, unless the old data provider won't allow traffic to pass their network unless it's from their address space, which I have yet to test. Is there a way that I can specify if the source address of the packet came from the new data provider's ip block, go out the new data provider's router? Could it actually be as simple as: ipfw add fwd all from x.x.x.x/23 to x.x.y.1 where x.x.x.x/23 is the new network range and x.x.y.1 is the new router. Could this work? Just for more info, we've got multiple cards in the freebsd router all with traffic headed out through a single card. TIA Peter Brezny Skyrunner.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message