Page 1 of 1
Load Balancing two adsl-lines of same provider with same gw
Posted: Sat Jun 25, 2005 1:09 am
by canram
Today I got a second adsl-line from my provider. No I have two adsl-lines with static IP.
What I want to do is load-balancing between the two dsl-lines. My problem is, that both adsl-lines use the same gateway (as it´s the same provider). Therefore I´m not able to enter several default-gateways, because it´s only one.
Is there a chance to make loadbalancing in this situation?
Thanks in advance.
canram.
Posted: Sat Jun 25, 2005 6:50 am
by DirectWireless
Even worse you really can't have the same subnet on 2 interfaces...
Like here:
192.168.0.5/24 on interface ether1
192.168.0.6/24 on interface ether2
Both gateways are 192.168.0.1. The problem is that when the router tries to go to the gateway, it doesn't know which route to use (.5 or .6).
What I would do is ask your ADSL provider for an IP on a different subnet, to make things easier. There may be a way to fool the routing tables to make it work (/ip route rules, etc) but I think it will always act like a patched solution rather than the right way.
In order for you to make a patched solution you would have to add static routes, but you still won't get around the issue of trying to load balance with a single gateway - before you know it you'll have some double-layer NAT setup (one NAT for each interface, plus another NAT for your users), so then you have 2 gateways internally so the users NAT will have 2 gateways to go to).
Talk about a mess, then imagine port forwarding!
You should just ask your ADSL provider to give you a different IP subnet... Most of them have many small subnets... Some around here I've seen as small as /28 subnets...
Posted: Sat Jun 25, 2005 9:24 am
by canram
There´re no really subnets, as my provider ist working with host-routes.
i.E.
First IP. 217.91.124.122/32
Second IP. 217.91.124.156/32
Gateway for Both: 217.5.98.168
I don´t think that my provider will change subnets, as the complete order and ip-assigning is an automatic process. I think I will have to change the provider for one line.
Thanks so far.
Kind Regards, canram.
Posted: Sun Jul 10, 2005 7:49 pm
by KimC
Fix it with a separate proxy-server with two interfaces - one for your second dsl and one connected to MT.
Then let MTs proxy run with the parent proxy pointing to the SquidNT.
Effectively, you now direct all http-traffic to the second dsl, and the rest of the traffic to the first directly connected to MT.
This will normally balance the load on the two lines.
Regards KimC
Posted: Sun Jul 10, 2005 8:05 pm
by canram
Yes, this is a possible workaround. But ít´s no real solutions, because I lose the chance to get also a failover-scenario.
But I already solved my problem. I changed provider of the second line
No everything works an I`m happy
Thank you for your tips.
Posted: Tue Jul 12, 2005 4:10 am
by spire2z
Sorry to butt in but can I ask what ADSL routers/modems you use with MT. I'm looking for a reliable ADSL device and could do with some advise.
Thanks.
Posted: Tue Jul 12, 2005 7:02 am
by canram
I use Routerboard 500 with MT as ADSL-Router on two UR2 ADSL-Modems.
Posted: Tue Jul 12, 2005 1:31 pm
by spire2z
Do you find the modems stable and able to handle large ammounts of connections from like P2P etc? If it does what is the brand and model.
I just need some advise finding a suitable modem.
Thanks for the info
Posted: Tue Jul 12, 2005 1:39 pm
by canram
Sorry, I cannot give you an answer to this questions, because I´m blocking all p2p-traffic
Posted: Tue Jul 12, 2005 1:50 pm
by spire2z
Thanks. This is a nice real time forum conversation!!
I think it is a problem with most hardware is when many connections are present they just slow down.
Can anybode else reccomend a good ADSL bridge/router that will handle a beating?
Posted: Tue Jul 12, 2005 2:11 pm
by sten
If you havent found a solution yet, could i offer a theory?
Your one gateway is say 10.0.0.1 on one interface (ether1) and it's mac address is 00:01:02:03:04:05 then how about you set up a different network on ether2 with 10.0.1.1 and add a static arp entry for 10.0.1.1 to be the same as 10.0.0.1 (00:01:02:03:04:05) then theoretically when you set it up to load balance between the two networks you would be in fact sending it to one router. but using two connections.
How would this work in your setup?
Posted: Tue Jul 12, 2005 2:27 pm
by canram
@STEN:
As I also wrote, I solved my problem by changing the provider of one line.
Your theory is very interessting. But I´m wondering if it´s possible to manage to IP´s with the same APR-Entry.
Posted: Tue Jul 12, 2005 2:38 pm
by sten
One ethernet host can have many IP's can't it?
It's more difficult with many ethernet hosts have same IP
Posted: Tue Jul 12, 2005 3:29 pm
by canram
hmmmm, yes
Unfortunatelly, I have not the possibility anymore, to have a try
Posted: Wed Jul 13, 2005 12:17 am
by jober
We did the load balancing thing for a very short time and then started bonding the two lines. OH, did I say two, SORRY we're bonding four lines now. LOL hehehehe!
I wish the company I work for would sale the boxs, but for now they are just saling Bonded ADSL service for their own customers and or just Bonding on your lines for a fee.
It looks like the service is taking off like a rocker, so maybe they are wright to do it the way they are.
Posted: Wed Jul 13, 2005 12:22 am
by canram
I´m living in germany. The biggest provider is german telecom. And I´m shure that german telecom is not going provide bundled lines in near future. It´s like an old dinosaur. Individual whishes of customers are unknown
Help with bonding and 2 adsl lines
Posted: Mon Aug 15, 2005 5:20 pm
by echodeltoid
Is there anyone who can help me with bonding 2 adsl lines in MT2.9? I currently have 2 separate dsl circuits on cisco dsl modems. The part i cannot figure out, is do you have to bond at both ends of the dsl circuit, or can i only run MT at the Natted router location to give me an agregate bonded link. My goal is to double my thruput from 1.2 megs to 2.4 megs. Any help would be appreciated. thanks
Matt Bochsler
PineValley Networks
Re: Help with bonding and 2 adsl lines
Posted: Mon Aug 15, 2005 6:46 pm
by jober
Is there anyone who can help me with bonding 2 adsl lines in MT2.9? I currently have 2 separate dsl circuits on cisco dsl modems. The part i cannot figure out, is do you have to bond at both ends of the dsl circuit, or can i only run MT at the Natted router location to give me an agregate bonded link. My goal is to double my thruput from 1.2 megs to 2.4 megs. Any help would be appreciated. thanks
Matt Bochsler
PineValley Networks
Bonding is always going to be a two side solution.
We have a bonding service that will do this for you. We can send you the client side hardware preconfigured with your IPs plus the added block of IPs we will give you.
Our bonding service will bond the upload and download with very little overhead. Also you can add a T1, cable modem, ISDN, or any mix of ADSL providers to the bonding group.
If you give my the upload and download speed I can get you a price on the service. It's really cheap!
The retail price is $ .0118 per 1k to be bonded.
IE - bonding two 3M ADSL lines would be
384K X 3000K = 3384K
384K X 3000K = 3384K
6768K
* .0118
Monthly Charge $79.86
Plus the IP’s are free to do with what you want. No port blocking or filtering of any kind. It's as if you were buying bonded T1s from a Teir1 provider.
You can bond up to 16 lines!!!
Looking for commission based resellers!!!
James Ober
504-234-2748
james@skycom1.com
Posted: Tue Aug 16, 2005 8:41 am
by dwright
Hi Matt,
Yes you need to bond from both sides of the link. Mikrotik router at your end of the connection, and at the providers end. Or if you have a fatter pipe to the internet at a different location, you could put the mikrotik router there, and bond between this location and the location that you have both of your dsl connections.
Example:
/--DSL 1--Cisco--\
Fiber?-----Mikrotik/Bonding---Internet- -Mikrotik/Bonding-LAN
\--DSL 2--Cisco--/
The only downside to this option is that at the site where you have the big pipe you are essentially using double the bandwidth. The incoming to the bonding interface, and then back out to the internet.
It is another option nonetheless.
Dan