Routing With Two ISPs?

Drew Tomlinson drew at mykitchentable.net
Fri Nov 7 07:05:14 PST 2003


----- Original Message -----
From: "Lowell Gilbert" <freebsd-questions-local at be-well.ilk.org>
Sent: Friday, November 07, 2003 6:02 AM


> "Drew Tomlinson" <drew at mykitchentable.net> writes:
>
> > I have a 4.8 box serving as a gateway with two connections to the
> > Internet.  Is there some way to set the box up so that packets are
> > routed out through the same interface from which they arrived?  For
> > example, if a connection is initiated on port 80 from a packet arriving
> > on one interface, is there a way to make the outgoing packets from my
> > web server use that same interface as a gateway instead of the default
> > interface?
>
> Strictly speaking, this wouldn't be IP.  There are a number of ways to
> hack something like this, but bear in mind that they all really are
> hacks.  The "non-hack" way to do it would be to run real routing
> protocols, but that requires cooperation from the ISPs...

And since I'm not a very good 'hack', I'll stick with the tools provided.
:)  Thanks for your reply.  I posted in -net (I'll forward to you if you
want) regarding my specific salutation and why 'ipfw fwd' hasn't worked for
me.

Any ideas you have will be greatly appreciated.

Thanks again!

Drew



More information about the freebsd-questions mailing list