1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Load balance 2x WRT54G's??

Discussion in 'Cisco/Linksys Wireless Routers' started by Martijno2000, Nov 29, 2005.

  1. Martijno2000

    Martijno2000 Network Guru Member

    Hi there,
    Last week I saw this piece of info on the sveasoft site.

    Talisman firmware:

    VLANs
    - separate hardware ports into one or more subnets
    - run tagged or untagged VLANs over multiple ports
    - load balance multiple connections

    - load balance multiple connections thats what I was looking for. My question is is it possible to connect 2 WRT54G's to 2 wifi networks (seperate DSL connections) and combine them into 1 internet line? Like we used to do with ISDN modems(128k). How to? Can't find any documentation...or can load balancing be achieved by OSPF routing? So 2 internet connections act as 1...sort of line bonding

    Purpose...
    I want to use 2 usenetproviders to achieve max downstream....fast downloads...save time...etc mean while I want to chat/download like everyone else...

    Help me out...I even drew a picture (well made is using Visio)

    [​IMG]

    edit
    Added picture....
     
  2. Martijno2000

    Martijno2000 Network Guru Member

    Anyone...? Any ideas?
     
  3. jagboy

    jagboy Network Guru Member

    no i really dont think that this is possible.....you could do this in the days of dial modems were you could get twice the speed but i really doubt it with broadband.
     
  4. OldeBill

    OldeBill Network Guru Member

    I've seen load balancing accomplished with enterprise class routers to which both upstream i.e., Internet, connections are attached to a single router and an internal algorhythm takes care of managing the traffic.

    Doing this across two devices would take some distributed intelligence (or at least co-ordination) or rely on brute force schemes like sending odd addresses to one router and even addresses to the other.

    So, I guess my bottom line is ... it's possible but unlikely.
     
  5. 4Access

    4Access Network Guru Member

    It's definitely possible with linux and therefore the WRT54G(S) routers. Routing performance might become an issue (I don't know how the WRT would handle it) but if you want to look into setting it up manually lartc.org is the place to start.

    Unfortunately you'll notice right away that the proceedure is not for the faint of heart. This is something I've been interested in but don't have the time to research it since my iproute2 knowledge is not up to the task just yet.

    As an aside, while researching another idea for the WRT I stumbled across the fact that simple load balancing can be done with just iptables using the ROUTE target which DD-WRT supports! Unfortunately I haven't yet had time to test it and don't now how robust it would be.

    I also haven't seen Sveasoft's latest Talisman firmware so don't know what they've got going on, but if Talisman actually has load balancing functioning properly like they claim then the simplest solution would be the following:

    Get 3 WRT's. Put the first two in Client mode (possibly Client Bridge mode - noting that these two routers do NOT need to be running Talisman, simply any firmware that supports Client mode) and connect them to the two wireless networks in question like you show in your diagram. The third router would need to run Talisman and would sit between the first two WRT's and your network. (It would go where you have the text box "Load balance with Talisman/Sveasoft firmware"

    On that 3rd WRT you would create a second WAN port using VLAN features and then run a cable from each of the WAN ports to the client mode WRTs. Finally you would enable the Load balancing features in Talisman over the 2 WAN ports and you'd have what you want.

    This would actually be quite simple assuming Talisman actually has the Load Balancing features working properly. (A couple weeks back I heard that there were lots of problems with the latest Talisman versions but I can't vouch for how accurate that info is.)

    As a final option you can always run the load balancing software directly on your PC like Bob Cringley did here

    Make sure to let us know how it goes if you decide to persue any of these options! :thumb:
     
  6. jagboy

    jagboy Network Guru Member

    wow i guess i was really wrong. so if you do load balancing then you will get one big download and upload pipe.

    for example if you had one 10mb down and 1mb up and another internet connection that was 10mbit down and 1up and you did load balancing you would have 20mbit downdown and 2up???
     
  7. 4Access

    4Access Network Guru Member

    For the most part yes. You will have a total download capacity of 20Mbit. The catch is that to fully utilize the entire 20Mb you will have to have at least 2 downloads running at once. This is because each individual connection you open from your PC (whether they be HTTP, MSN, POP3, ssh, or each of the hundreds of P2P connections, etc. etc.) can only use one of the WAN connections at a time.

    For example, the load balancing router will use WAN1 for the first connection, WAN2 for the second connection, then WAN1 again for connection 3 and WAN2 for connection 4, etc etc.

    This also means that if your two WAN connections are not of equal bandwidth (say 10Mb & 1Mb down) if you start a large FTP download that gets assigned to the slower WAN connection, that transfer will be be limited to 1Mb for the duration of the download.

    Depending on the load balancing implementation you may be able to assign certain traffic (either based on protocol/port or the client it is initiated from) to a specific WAN connection so for example FTP traffic always gets access to the faster connection.

    Running a server behind a load balancing router also requires additional considerations since you have two public IP addresses...

    One advantage to load balancing is that it usually provides built-in fault tolerance since one of your WAN connections can go down without completely cutting you off from the net.

    In summary: Load-balancing is a viable way to increase you total avaiable bandwidth but can be complicated to setup and load-balancing two 10Mb connections will not behave the same as a single 20Mb connection. :thumb:
     
  8. Martijno2000

    Martijno2000 Network Guru Member

    "Get 3 WRT's. Put the first two in Client mode (possibly Client Bridge mode - noting that these two routers do NOT need to be running Talisman, simply any firmware that supports Client mode) and connect them to the two wireless networks in question like you show in your diagram. The third router would need to run Talisman and would sit between the first two WRT's and your network. (It would go where you have the text box "Load balance with Talisman/Sveasoft firmware"

    This has crossed my mind actually...getting 3 wrt's. The main thing is will it work? That's the biggest question. Does the VLAN/Load balancing option/feature work...Nobody (as far as I know) has done this yet. 4Access Thanks for your info...this really gives me hope :) I'll be checking out your links for more info on loadbalancing etc.

    People thanks for the info. I'll think about the options for now...so if somebody has new ideas/options let me know.
     

Share This Page