Chapter 4 of the Adv-Routing-HOWTO seems to maybe cover this.
Or at least it seemed to make some sense to me after much looking at it.
I think you would set up route so that if the source was the IP address
of the external interface then route to that interface.
MArk
On Wed, 2002-01-16 at 14:54, Paul Jakma wrote:
> On Wed, 16 Jan 2002, Nick Murtagh wrote:
>> > You need to set up two routing tables, one for each ISP, and then find
> > some way, using netfilter perhaps, to direct packets to the right
> > routing table.
>> if you can find out how to do that, let me know, cause i'm dealing
> with a very similar (nay identical) setup.
>> afaik, at the linux 'internet gateway' you cant do it, cause you need
> to select based on 'gateway chosen', which AFAICT, neither netfilter
> nor the ip utils can do.
>> nat on the routers is the only answer i'm aware of.
>> --paulj
>>> --
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!