LARTC
[Top] [All Lists]

Re: [LARTC] Two uplinks, two networks and policy routing help requested

To: "John Douglass" <john.douglass@oit.gatech.edu>
Subject: Re: [LARTC] Two uplinks, two networks and policy routing help requested
From: "the sew" <sewlist@gmail.com>
Date: Thu, 9 Nov 2006 16:56:16 +0200
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Yn0sXek4AuveJpFyr/TEymucmuCWNO3oiCu6Fy/A2U7gdzgP0qR5byNQ7oQZQK8y72ilmAC/5P2a34aL2Ny1mQLf3V610T6IW2bfa0U6W9TVY2haAKevOVaAsFC0VB9FD/iQRw4NUEcfUtshONSEydMKjaKKtBPZewpocGnhkag=
In-reply-to: <454F9577.2070005@oit.gatech.edu>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <454F9577.2070005@oit.gatech.edu>
Sender: lartc-bounces@mailman.ds9a.nl
I'm not much of a expert, but I would try some of the following

I would try src routing

ip rule add fwmark 1 table network1
ip route add default via 128.61.111.242/241(depending on gateway) table network1
iptables -t mangle -A PREROUTING -s 128.61.110.0/24 -j MARK --set-mark 1


ip rule add fwmark 2 table network2
ip route add default via 199.77.254.106/105 table network2
iptables -t mangle -A PREROUTING -s 143.215.204.0/27 -j MARK --set-mark 2

this is just some samples, u can alot more in dept with src routing,
but I would try this first

u can also do dynamic routing with ospf and set your links costs if u
want to set priorities on links etc, otherwise go big with BGP routing

Like I said, im no expert , hope it helps

Sew




On 11/6/06, John Douglass <john.douglass@oit.gatech.edu> wrote:
I am hoping that someone with more experience and knowledge than I can
assist me in finding a solution ;)

We have a RedHat AS4 box with 5 interfaces. Two interfaces serve two
different networks and two interfaces connect to two different uplinks.
The fifth interface is our management interface.

Since a picture is worth a thousand words I attempted to come up with a
diagram:

     http://studpup74.googlepages.com/networkproblem

(I did not want to post this image to the list :)

If anyone with this experience has a few moments to assist us, I would
be very grateful. Let me know if you need additional information.

- John Douglass, Georgia Tech

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>