Re: independant default routes for separate nics
From: P Gentry (rdgentry1_at_cablelynx.com)
Date: 17 Aug 2004 20:16:05 -0700
Johnny Musacha <email@example.com> wrote in message news:<firstname.lastname@example.org>...
> In article <email@example.com>, P Gentry wrote:
> > Johnny Musacha <firstname.lastname@example.org> wrote in message news:<email@example.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.
You'll need to implement the examples from both links -- I think the
second is geared to complement the lartc split access setup, IIRC.