Re: Using multiple network interfaces (internet connections) separately

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux