From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kuolung" Date: Tue, 15 May 2007 12:09:40 +0000 Subject: [LARTC] Re: Using multiple network interfaces (internetconnections) Message-Id: <00de01c796e9$ede01320$0201a8c0@AMD3000> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0256978370==" List-Id: References: <861508be0705060506u5ad0e61cx31d40092d422a8f8@mail.gmail.com> In-Reply-To: <861508be0705060506u5ad0e61cx31d40092d422a8f8@mail.gmail.com> To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============0256978370== Content-Type: multipart/alternative; boundary="----=_NextPart_000_00DB_01C7972C.F8ADBF80" This is a multi-part message in MIME format. ------=_NextPart_000_00DB_01C7972C.F8ADBF80 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Hi , I want to use the " * random selection of gateway, per TCP connection?" = ,i=20 can do it right now but my if same remote site( ip ) always goto the same gateway,i think that is=20 ip_route_cache problem or something like this how can I do ?? Kuolung ----- Original Message -----=20 From: "Randy Wallace" To: Sent: Sunday, May 06, 2007 8:06 PM Subject: [LARTC] Re: Using multiple network interfaces = (internetconnections)=20 separately >> Hi, >> >> I need a solution for this case: >> I have a PC(as server) with 3 (or more) Ethernet ports and 3 (or = more) >> Internet access through each Ethernet interface. (from different = ISP's=20 >> and >> with different IP's of course) >> >> I need to download files (using wget or whatever else) through each >> interface (internet line) separately. >> For example i need to download "file1" through eth1 (isp1), "file2"=20 >> through >> eth2 (isp2) and so on. >> >> How can i make this working? any iptables/iproute rules? any Idea? >> >> Thanks in Advance, >> -- >> Ali Sattari (AKA Ali ix) > > Ali ix, > > This is an application for rules, in the iproute package. how you > select packets > for which internet connection can, best, be done by iptables using > firewall marks. > > The trick is, you can have only one default gateway, unless you use = the=20 > multiple > gateway patch, which may not be necessary for what you're talking = about. > > The real question is: how do you plan on classifying traffic? > * different hosts (IP's) per gateway? > * random selection of gateway, per TCP connection? > * different types of traffic (Ports) per gateway? > * certain domains (only) available on each gateway? > > -Randy > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo ------=_NextPart_000_00DB_01C7972C.F8ADBF80 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Hi ,
I want to use the " * random selection of gateway, per TCP=20 connection?" ,i
can do it right now
but my

if  same = remote=20 site( ip ) always goto the same gateway,i think that is =
ip_route_cache=20 problem or something  like this

how can I do=20 ??

Kuolung

----- Original Message -----
From: "Randy = Wallace"=20 <randywallacejr@gmail.com>
To: <lartc@mailman.ds9a.nl>
Sent: Sunday, May 06, 2007 = 8:06=20 PM
Subject: [LARTC] Re: Using multiple network interfaces=20 (internetconnections)
separately


>>=20 Hi,
>>
>> I need a solution for this case:
>> = I have=20 a PC(as server) with 3 (or more) Ethernet ports and 3 (or = more)
>>=20 Internet access through each Ethernet interface. (from different ISP's=20
>> and
>> with different IP's of=20 course)
>>
>> I need to download files (using wget or = whatever=20 else) through each
>> interface (internet line) = separately.
>>=20 For example i need to download "file1" through eth1 (isp1), "file2" =
>>=20 through
>> eth2 (isp2) and so on.
>>
>> How = can i=20 make this working? any iptables/iproute rules? any = Idea?
>>
>>=20 Thanks in Advance,
>> --
>> Ali Sattari (AKA Ali=20 ix)
>
> Ali ix,
>
> This is an application for = rules, in=20 the iproute package.  how you
> select packets
> for = which=20 internet connection can, best, be done by iptables using
> = firewall=20 marks.
>
> The trick is, you can have only one default = gateway,=20 unless you use the
> multiple
> gateway patch, which may = not be=20 necessary for what you're talking about.
>
> The real = question is:=20 how do you plan on classifying traffic?
>    * = different=20 hosts (IP's) per gateway?
>    * random selection = of=20 gateway, per TCP connection?
>    * different types = of=20 traffic (Ports) per gateway?
>    * certain domains = (only)=20 available on each gateway?
>
> -Randy
>=20 _______________________________________________
> LARTC mailing=20 list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo
------=_NextPart_000_00DB_01C7972C.F8ADBF80-- --===============0256978370== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0256978370==--