LARTC
[Top] [All Lists]

[LARTC] 2 gateways - routing based in source address

To: <lartc@mailman.ds9a.nl>
Subject: [LARTC] 2 gateways - routing based in source address
From: "Pablo Fernandes Yahoo" <fernandes_pablo@yahoo.com.br>
Date: Sun, 27 May 2007 05:21:30 +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:Thread-Index:X-MimeOLE; b=pIocPwAjySDNGjPD93DoabEqI759X7rbaRFNCqX2vTvF+opHfpbtbm6nrU/UX21UZ7fVlYPrVX6kiCKnKXk8NBA8dpfyi5OyjP776nao2dmd5sJfjF/xrfEMA4Z03POM2Nlo9IdXvA+xMf3VapQqUJADdewPDGVLC1/m6t2uRoY= ;
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: AcegFoAYJpXOl27MRlGH/D/eohvSZA==

Hello,

 

I have a linux router, 2 internet access, 2 IP /24 ranges (as source computers) and 3 interfaces cards.

 

 

(internet 2) 192.168.0.1 on eth0 [LINUX COMPUTER] 192.168.1.1 on eth1 (internet 1)

                                                10.1.0.1 on eth2 (customers)

 

The Sources (customers) are:

 

10.20.0.0/24

10.30.0.0/24

 

I don’t have IP on this ranges in my linux box. There is another router under my linux box in my topology. But this customers arrives in my eth2 interface. I make SNAT fort his networks in my linux box.

 

The Gateways for internet access are:

 

192.168.0.254 on eth0

192.168.1.254 on eth1

 

I would like to have my customers of 10.20.0.0/24 going out for the internet 2 and the customers on 10.30.0.0/24 going out by the internet 1 (Eth1).

 

 

Thanks for any help in advance.

 

 

Pablo Fernandes

 

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