Re: independant default routes for separate nics

From: P Gentry (rdgentry1_at_cablelynx.com)
Date: 08/18/04


Date: 17 Aug 2004 20:16:05 -0700

Johnny Musacha <johnny@musacha.com> wrote in message news:<slrnci4tum.uj0.johnny@project-w.com>...
> In article <facb01db.0408170809.6fb225ef@posting.google.com>, P Gentry wrote:
> > Johnny Musacha <johnny@musacha.com> wrote in message news:<slrnci2i02.uj0.johnny@project-w.com>...
> >> Hi,
> >> Under kernel 2.6.7, I'm trying to setup a scenario where my box
> >> has two nics. The nics will have ip addresses in separate netblocks. I
> >> want to setup separate default routes for eth0 and eth1 where traffic
> >> destined for eth0 only enters and exits eth0; and vice-versa for eth1.
> >
> > Incoming traffic? Outging traffic? Not clear, but sounds like you
> > need split access.
> > See:
> > http://www.lartc.org/howto/lartc.rpdb.multiple-links.html
> > http://linux-ip.net/html/adv-multi-internet.html
>
> I'm looking to do it for both incoming and outgoing traffic. Any
> traffic that comes into eth0 should go back out eth0 and vice versa.
>
> Thanks

You'll need to implement the examples from both links -- I think the
second is geared to complement the lartc split access setup, IIRC.