LARTC
[Top] [All Lists]

Re: [LARTC] 2 gateways - routing based in source address

To: <lartc@mailman.ds9a.nl>
Subject: Re: [LARTC] 2 gateways - routing based in source address
From: "Pablo Fernandes Yahoo" <fernandes_pablo@yahoo.com.br>
Date: Tue, 29 May 2007 17:47:01 +0100
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=s1024; d=yahoo.com.br; h=Received:X-YMail-OSG:From:To:Subject:Date:MIME-Version:Content-Type:X-Mailer:X-MimeOLE:Thread-Index; b=JpPln8Cx+ANAPrM+Deem9wwp54d9Tswe9CcfzIdDbyJq2f4/lmtk6/x/aIDMau00XJ03Ac8kenAPhQNRHD1zdW3htZfzy/owKlxhQ/U+qFytEt2OkZ/mR6tsy/zIWBjUBUDQPKYxjp1QCh/MvL8PQv3FwVbGo+UFX5c8HQ1XCKU= ;
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>
Sender: lartc-bounces@mailman.ds9a.nl
Thread-index: AceiEPqJs1qaOUAnTzq4UWIXu9DexQ==

Hi,

 

First of all, thank you for your help.

 

And how can i put all the traffic comming from anywhere with destination port 80 or 443 to go out by the gateway 192.168.1.254, while all the rest going out by 192.168.0.254 ?

 

Im trying here different ways with ToS but it isn’t working. Thank you for any Tip.

 

Regards

 

>Hi Pablo,

> 

>You have to configure your box linux similar to:

> 

>ip rule add from 10.20.0.0/24   to 0.0.0.0/0  table 100

>ip route add default via 192.168.0.254  table 100

> 

>ip rule add from 10.30.0.0/24  to 0.0.0.0/0  table 200

>ip route add default via 192.168.1.254 table 200

> 

> 

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
<Prev in Thread] Current Thread [Next in Thread>