Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Re: Using multiple network interfaces (internet
@ 2007-05-06 12:06 Randy Wallace
  2007-05-07 13:55 ` [LARTC] Re: Using multiple network interfaces (internetconnections) Kuolung
  2007-05-15 12:09 ` Kuolung
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Wallace @ 2007-05-06 12:06 UTC (permalink / raw)
  To: lartc

> 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 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" 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 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/lartc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] Re: Using multiple network interfaces (internetconnections)
  2007-05-06 12:06 [LARTC] Re: Using multiple network interfaces (internet Randy Wallace
@ 2007-05-07 13:55 ` Kuolung
  2007-05-15 12:09 ` Kuolung
  1 sibling, 0 replies; 3+ messages in thread
From: Kuolung @ 2007-05-07 13:55 UTC (permalink / raw)
  To: lartc

Hi ,
I want to use the " * random selection of gateway, per TCP connection?" ,i 
can do it right now
but my

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

how can I do ??

Kuolung

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] Re: Using multiple network interfaces (internetconnections)
  2007-05-06 12:06 [LARTC] Re: Using multiple network interfaces (internet Randy Wallace
  2007-05-07 13:55 ` [LARTC] Re: Using multiple network interfaces (internetconnections) Kuolung
@ 2007-05-15 12:09 ` Kuolung
  1 sibling, 0 replies; 3+ messages in thread
From: Kuolung @ 2007-05-15 12:09 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 1924 bytes --]

Hi ,
I want to use the " * random selection of gateway, per TCP connection?" ,i 
can do it right now
but my

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

how can I do ??

Kuolung

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

[-- Attachment #1.2: Type: text/html, Size: 2717 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-15 12:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-06 12:06 [LARTC] Re: Using multiple network interfaces (internet Randy Wallace
2007-05-07 13:55 ` [LARTC] Re: Using multiple network interfaces (internetconnections) Kuolung
2007-05-15 12:09 ` Kuolung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox