Community discussions

MikroTik App
 
canram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Tue Mar 15, 2005 11:46 pm
Location: Germany

Load Balancing two adsl-lines of same provider with same gw

Sat Jun 25, 2005 1:09 am

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.
 
DirectWireless
Member Candidate
Member Candidate
Posts: 143
Joined: Wed Oct 06, 2004 8:09 am

Sat Jun 25, 2005 6:50 am

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...
 
canram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Tue Mar 15, 2005 11:46 pm
Location: Germany

Sat Jun 25, 2005 9:24 am

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.
 
KimC
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Sun Jun 06, 2004 3:16 pm
Location: Denmark

Sun Jul 10, 2005 7:49 pm

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
 
canram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Tue Mar 15, 2005 11:46 pm
Location: Germany

Sun Jul 10, 2005 8:05 pm

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.
 
spire2z
Long time Member
Long time Member
Posts: 516
Joined: Mon Feb 14, 2005 2:48 am

Tue Jul 12, 2005 4:10 am

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.
 
canram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Tue Mar 15, 2005 11:46 pm
Location: Germany

Tue Jul 12, 2005 7:02 am

I use Routerboard 500 with MT as ADSL-Router on two UR2 ADSL-Modems.
 
spire2z
Long time Member
Long time Member
Posts: 516
Joined: Mon Feb 14, 2005 2:48 am

Tue Jul 12, 2005 1:31 pm

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 :)
 
canram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Tue Mar 15, 2005 11:46 pm
Location: Germany

Tue Jul 12, 2005 1:39 pm

Sorry, I cannot give you an answer to this questions, because I´m blocking all p2p-traffic ;)
 
spire2z
Long time Member
Long time Member
Posts: 516
Joined: Mon Feb 14, 2005 2:48 am

Tue Jul 12, 2005 1:50 pm

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?
 
sten
Forum Veteran
Forum Veteran
Posts: 923
Joined: Tue Jun 01, 2004 12:10 pm

Tue Jul 12, 2005 2:11 pm

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?
 
canram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Tue Mar 15, 2005 11:46 pm
Location: Germany

Tue Jul 12, 2005 2:27 pm

@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.
 
sten
Forum Veteran
Forum Veteran
Posts: 923
Joined: Tue Jun 01, 2004 12:10 pm

Tue Jul 12, 2005 2:38 pm

One ethernet host can have many IP's can't it?
It's more difficult with many ethernet hosts have same IP :P
 
canram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Tue Mar 15, 2005 11:46 pm
Location: Germany

Tue Jul 12, 2005 3:29 pm

hmmmm, yes ;)

Unfortunatelly, I have not the possibility anymore, to have a try :(
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

Wed Jul 13, 2005 12:17 am

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. :?
 
canram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: Tue Mar 15, 2005 11:46 pm
Location: Germany

Wed Jul 13, 2005 12:22 am

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 ;)
 
echodeltoid
just joined
Posts: 15
Joined: Fri Aug 20, 2004 9:56 am
Location: Houston Texas
Contact:

Help with bonding and 2 adsl lines

Mon Aug 15, 2005 5:20 pm

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
 
jober
Long time Member
Long time Member
Posts: 690
Joined: Fri May 28, 2004 12:16 pm
Location: Louisiana,USA

Re: Help with bonding and 2 adsl lines

Mon Aug 15, 2005 6:46 pm

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
 
User avatar
dwright
Member Candidate
Member Candidate
Posts: 158
Joined: Fri May 28, 2004 1:10 pm
Location: Mchenry, Il

Tue Aug 16, 2005 8:41 am

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

Who is online

Users browsing this forum: Bing [Bot], michalczysz, Pinacolada88, sindy and 31 guests