LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2008, 02:16 AM   #1
astrolhr
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Rep: Reputation: 0
Can i Use Two ISP Link on Single Linux Machine


i have two ISP's ADSL Link ... i want to use both ISP's bandwidth.

i have Three LAN Card of my linux RedHat Machine

eth0: 192.168.2.1 (For Network Connectivity)
eth1:192.168.7.2 netmask 255.255.255.252 (LAN cable directly connected with 1st ISP Modem) and Modem IP is 192.168.7.1 netmask 255.255.255.252
eth2: 192.168.8.2 netmask 255.255.255.252 (LAN cable directly connected with 2nd ISP Modem) and Modem IP is 192.168.8.1 netmask 255.255.255.252

i m using transparent proxy setting for my network clients.

guide me how can i use both isp bandwidth at same time.
Aamir
 
Old 05-28-2008, 03:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
check out chapter 4 of lartc.org for this kind of setup.
 
Old 05-28-2008, 04:21 AM   #3
Stin
LQ Newbie
 
Registered: Feb 2008
Distribution: Redhat 7.3 Valhalla, Solaris 8, HP Tru64
Posts: 25

Rep: Reputation: 15
If you have 2 adsl lines you can get a router that will bundle the bandwidth together.

I think Draytek do something like that.

I'm guessing though that you wanted to do it so it doesnt cost you anything.
 
Old 05-28-2008, 09:06 AM   #4
astrolhr
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Still Fail to use Two ISP same time in Linux..

dear i tried with the help of Chapter nao. 4 but fail to do so kindly send me detail answer boz i m really a new user of linux.

My Question is Given Below:-

i have two ISP's ADSL Link ... i want to use both ISP's bandwidth.

i have Three LAN Card of my linux RedHat Machine

eth0: 192.168.2.1 (For Network Connectivity)
eth1:192.168.7.2 netmask 255.255.255.252 (LAN cable directly connected with 1st ISP Modem) and Modem IP is 192.168.7.1 netmask 255.255.255.252
eth2: 192.168.8.2 netmask 255.255.255.252 (LAN cable directly connected with 2nd ISP Modem) and Modem IP is 192.168.8.1 netmask 255.255.255.252

i m using transparent proxy setting for my network clients.

guide me how can i use both isp bandwidth at same time.


Quote:
Originally Posted by acid_kewpie View Post
check out chapter 4 of lartc.org for this kind of setup.
 
Old 05-28-2008, 09:53 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well that lartc chapter gives you the right information. we aren't just going to recite it all. Where did you come unstuck? What worked, what didn't? you need to learn to help yourself if you want us to help you aswell.
 
Old 05-28-2008, 11:02 AM   #6
astrolhr
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Two ISP's on Single Linux Machine

Dear i tried but i didn't get the response from my both modem only single modem data is in use for net surfing.
my configration file is:-

IF1: eth1 (192.168.7.2)
IF2: eth2 (192.168.8.2)
IP1: 192.168.7.2
IP2: 192.168.8.2
P1: 192.168.7.1 (Gatways of 1st Provider Means Modem IP)
P2: 192.168.8.1 (Gatwats if 2bd Provider Means Modem IP)
P1_Net: 192.168.7.2
P2_Net: 192.168.8.2

ip route add P1_NET dev IF1 src IP1 table T1
ip route add default via P1 table T1
ip route add P2_NET dev IF2 src IP2 table T2
ip route add default via P2 table T2

ip route add P1_NET dev IF1 src IP1
ip route add P2_NET dev IF2 src IP2

ip route add default via P1

ip rule add from IP1 table T1
ip rule add from IP2 table T2

ip route add P0_NET dev IF0 table T1
ip route add P2_NET dev IF2 table T1
ip route add 127.0.0.0/8 dev lo table T1
ip route add P0_NET dev IF0 table T2
ip route add P1_NET dev IF1 table T2
ip route add 127.0.0.0/8 dev lo table T2

i write all of these lines in /etc/iproute2/rt_tables. i dont know its ok or Not but its not working with this ways.
kindly tell me what i do know...
Aamir

Quote:
Originally Posted by acid_kewpie View Post
Well that lartc chapter gives you the right information. we aren't just going to recite it all. Where did you come unstuck? What worked, what didn't? you need to learn to help yourself if you want us to help you aswell.
 
Old 05-29-2008, 09:07 AM   #7
astrolhr
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I want to Use my Both ISP's Bandwidth same time in Linux Machine...
i tried but i didn't get the response from my both modems, only single modem's data is in use for net surfing.
my configration file is:-

IF1: eth1 (192.168.7.2)
IF2: eth2 (192.168.8.2)
IP1: 192.168.7.2
IP2: 192.168.8.2
P1: 192.168.7.1 (Gatways of 1st Provider Means Modem IP)
P2: 192.168.8.1 (Gatwats if 2nd Provider Means Modem IP)
P1_Net: 192.168.7.2
P2_Net: 192.168.8.2

ip route add P1_NET dev IF1 src IP1 table T1
ip route add default via P1 table T1
ip route add P2_NET dev IF2 src IP2 table T2
ip route add default via P2 table T2

ip route add P1_NET dev IF1 src IP1
ip route add P2_NET dev IF2 src IP2

ip route add default via P1

ip rule add from IP1 table T1
ip rule add from IP2 table T2

ip route add P0_NET dev IF0 table T1
ip route add P2_NET dev IF2 table T1
ip route add 127.0.0.0/8 dev lo table T1
ip route add P0_NET dev IF0 table T2
ip route add P1_NET dev IF1 table T2
ip route add 127.0.0.0/8 dev lo table T2

i write all of these lines in /etc/iproute2/rt_tables. i dont know its ok or Not but its not working with this ways.
kindly tell me what i do know...
Aamir
 
  


Reply



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
Help required on using multiple ISP link sussane Linux - Networking 3 01-04-2008 02:36 AM
Connecting Suse Linux to ISP via D-Link DSL-G604T Taffy Linux - Hardware 5 06-02-2006 11:24 PM
Internet link setup to ISP dawidh Linux - Newbie 1 06-10-2005 02:47 PM
Creating a linux cluster effect on a single linux machine? sidra Programming 0 10-28-2004 09:32 AM
how to disconnect ppp link to isp checkchan Linux - Newbie 0 08-10-2003 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration