LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-16-2004, 05:55 PM   #1
flying_monkey
LQ Newbie
 
Registered: Jan 2004
Location: eastern ontario, canada
Posts: 10

Rep: Reputation: 0
internet connection load balancing using 2 56K modems


hello all! I live out in the sticks where there is no hope of ADSL or cable.. the choices I have are satellite (which is rather costly), or dialup.

At the moment, the house has 2 Windows computers in it both doing the dialup thing on their own. I can have 2 connections to the ISP, but it will not allow me to dial in with my 2 modems and start PPP MultiLinking. from what I understand I need a load balancer or modem bonder or somthing of the like.

what I would like to do is set up a proxy / firewall / load balancer on a spare computer and use my 2 56K modems for the connections.. have the windoze computers connect to it over a 10Mbps lan, have it dial out, and allow me to use windows in a regular manner..

the software that we use is your regular outlook express and internet explorer, plus your other goodies such as kazaa or winMX..

does anyone have any suigjestions?

oh yeah.. shoot.. my modems are connexant hard and soft modems.. I can remember I had no problem with the hardmodem, but the softmodem gave me troubles last time I was running linux on this comp..

as for the distros, I have some older redhat ones (6.2, 7.1) and mandrake 8.1 I believe.. I have some really old slackware and open linux I think and suse.. but I couldnt for the life of me get them to install for some reason..

thankyou for any help,

nate.
 
Old 01-16-2004, 07:07 PM   #2
jeffzw
Member
 
Registered: Jan 2004
Posts: 32

Rep: Reputation: 15
unfortunately the only solutions i know are multilink or eql. I saw people reporting some solution on www.netfilter.org. I had a quick look and did not see anything but you may be luckier than me.
 
Old 01-16-2004, 08:50 PM   #3
flying_monkey
LQ Newbie
 
Registered: Jan 2004
Location: eastern ontario, canada
Posts: 10

Original Poster
Rep: Reputation: 0
what exactally is eql? I have read about software for windows that you can buy (ofcourse) like intergate or the like. it senses what interface has the most bandwith free, and then sends the packets to it. that way the modems are sharing the load..

isnt there some way to do that in Linux?

nate.
 
Old 01-16-2004, 11:43 PM   #4
flying_monkey
LQ Newbie
 
Registered: Jan 2004
Location: eastern ontario, canada
Posts: 10

Original Poster
Rep: Reputation: 0
even better.. does anyone know commands that would give you the bandwith usage for a specified adapter and a way to switch default connections?

it wouldnt be hard to write some software to have it compare the bandwith and switch the default connection to the modem that isnt being used as much.. have it cycle fairly fast (IE maby 10 or 20 times a second..) and away we go! I just dont really know the commands :S

thankyou for your help
nate.
 
Old 01-18-2004, 07:52 AM   #5
jeffzw
Member
 
Registered: Jan 2004
Posts: 32

Rep: Reputation: 15
you could use some features of netfilter to change the route based on other criteria, but the issue is that you'll have a separate ip address per modem connection if your ISP do not want to use multilink. So you must use the same IP for a complete TCP ou UDP "session" otherwise your connections will be dropped by the other end. So you could imagine using the 2 links for specific traffics depending on the source or the protocol, etc.
there is a channel bonding driver in linux which may be useful as well, but i dont know the way it works compared to multilink and I guess you need to establish the same configuration on the isp side ... hope this helps
 
Old 01-18-2004, 02:00 PM   #6
flying_monkey
LQ Newbie
 
Registered: Jan 2004
Location: eastern ontario, canada
Posts: 10

Original Poster
Rep: Reputation: 0
k.. whell here is how midpoint or the like works..

when the webpage is being loaded, it sends out many many requests for code. it takes these whole requests, and sends them out over the 2 different IPs. the server then sends it back to the IP it came from, and your comp puts it back togeather..

another example.. KaZaA makes 4 connections to the outside world.. lets say for simplicities sake they were all equal in bandwidth.. so it would use modem 1 for the first 2 segments, then it would use modem 2 for the second 2 segments. voila! double the bandwith!

it is kinda the same idea as MultiLink, but multilink splits the packets, whereas this devides the packets..

I dont know.. I might have to use wintendo to do this and find some cheap software and save up my lunch money.. damn this college thing is hard on the wallet!

oh whell.. so I would only be able to split the connections via the different ports? that might work a little better.. but still not what I was looking for..

thankyou for your help..
nate
 
Old 01-18-2004, 03:52 PM   #7
jeffzw
Member
 
Registered: Jan 2004
Posts: 32

Rep: Reputation: 15
such way to split the load seems fine. to be honest i've not been able to spend too much time on this kind of issue, i only know a bit of netfilter

never thought of ISDN ? it should not be a technical challenge for your isp ...

Hope this helps
 
  


Reply


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
Internet Connection Optimum Load Balancing Fr33B5D Linux - Networking 3 08-28-2005 11:27 AM
Load Balancing - Sharing An Internet Connection willigiann Linux - Networking 1 07-14-2005 02:18 PM
2 cable modems....load balancing luna6 Linux - Networking 6 04-12-2005 12:53 PM
Internet load balancing learsima Linux - Networking 2 07-27-2004 10:13 PM
Load Balancing 2 Cable modems smurf Linux - Networking 5 05-09-2001 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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