From owner-freebsd-isp Wed Dec 4 13: 8:23 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 D5DF437B401 for ; Wed, 4 Dec 2002 13:08:21 -0800 (PST) Received: from mx1.purplecat.net (mx1.purplecat.net [208.133.44.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2025943EC2 for ; Wed, 4 Dec 2002 13:08:21 -0800 (PST) (envelope-from peter@skyrunner.net) Received: (qmail 28719 invoked from network); 4 Dec 2002 21:08:59 -0000 Received: from unknown (HELO micron) (208.150.25.130) by mx1.skyrunner.net with SMTP; 4 Dec 2002 21:08:59 -0000 From: "Peter Brezny" To: Subject: RE: avoiding circular route problems when changing data providers (advice needed) Date: Wed, 4 Dec 2002 16:08:14 -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 I think the ipfw fwd command is working. I had the syntax wrong in the initial post it should be: ipfw add fwd ip.of.att.router all from internal.att.ip.range/24 to any in if anyone sees problems with this that I'm not clued into yet, please let me know Thanks, Peter Brezny Skyrunner.net -----Original Message----- From: Peter Brezny [mailto:peter@skyrunner.net] Sent: Wednesday, December 04, 2002 2:30 PM To: freebsd-isp@freebsd.org Subject: avoiding circular route problems when changing data providers (advice needed) 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