Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 16:08:14 -0500
From:      "Peter Brezny" <peter@skyrunner.net>
To:        <freebsd-isp@freebsd.org>
Subject:   RE: avoiding circular route problems when changing data providers (advice needed)
Message-ID:  <NEBBIGLHNDFEJMMIEGOOIEEKFEAA.peter@skyrunner.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBIGLHNDFEJMMIEGOOIEEKFEAA.peter>