LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-01-2009, 03:50 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 249

Rep: Reputation: 18
multiple gateways - choosing connection


Hello and welcome everyone

the question for 100points.

My backup server is connected to 4 different networks. Each of them have a separate gateway. I would like to use this four gateways to download backups at the same time.

Let say that this is my network settings:

eth0 - 192.168.1.5 gw 192.168.1.1

eth1 - 192.168.2.5 gw 192.168.2.1

eth2 - 192.168.3.5 gw 192.168.3.1

eth3 - 192.168.4.5 gw 192.168.4.1


How can I setup something like this...

backupscript-1.sh will use eth0

backupscript-2.sh will use eth1

backupscript-3.sh will use eth2

backupscript-4.sh will use eth3


Is it possible on one machine ? Right now I have a network bottle neck and I cant download 50Gb of data by night...

Thanks for help...
 
Old 07-01-2009, 04:00 AM   #2
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
I presume the backupscripts are downloading from hosts somewhere. What IPs do these hosts have? If they are public, you might have issues. You could do something like adding a /0 or /8 network for the public IP of each host to each interface... it sounds messy doing it like that though.

If, however, your networks are as you have described above, and are all private, what you describe will work fine. the backupscript connecting to the host on the 192.168.1.x network will automatically use eth0, 192.168.2.x will automatically be routed through eth1 and so on.

Last edited by nowonmai; 07-01-2009 at 04:07 AM.
 
Old 07-01-2009, 05:14 AM   #3
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 249

Original Poster
Rep: Reputation: 18
yes, backup server is behind the firewall.

its making backup from local LAN and public servers. Mostly huge oracle tar balls.

Thats why I need more network connections...
 
Old 07-01-2009, 06:27 AM   #4
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
It's going to be difficult since they're public hosts.
You could specify the connection if it was the hosts being backed up that initiated the connection rather than the backup server.
Another possbility is increasing your bandwidth...
 
  


Reply

Tags
connections, gateways, multiple, setup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple gateways efm Linux - Newbie 4 06-10-2005 08:50 AM
Multiple Gateways inforlinx Linux - Networking 1 02-22-2005 08:28 PM
Red Hat 7.3 and multiple gateways on multiple interfaces bluefmc Linux - Networking 2 11-19-2004 05:01 PM
multiple gateways john8675309 Linux - Software 0 05-24-2004 06:27 PM
multiple ips, multiple gateways, one interface drpixel Linux - Networking 6 12-04-2002 12:56 AM


All times are GMT -5. The time now is 05:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration