Community discussions

MikroTik App
 
tombee79
Member Candidate
Member Candidate
Topic Author
Posts: 246
Joined: Sun May 09, 2010 2:28 am

3 DSL lines with Cable internet connection, load balancing

Wed Aug 04, 2010 4:18 am

Hi

Is it possible to user RB 750G for load balance connection. I just want to know if this going to work. to have 3 DSL connection in MLPPP plus cable connection let say 10mbps. Can i do load balancing with those 4 lines. I am newbie sorry if that to easy question to some. Thanks in advance

Thx
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: 3 DSL lines with Cable internet connection, load balanci

Wed Aug 04, 2010 4:27 am

Caveat: never done it.

That should work just fine in theory. You tie three physical or logical interfaces into a MLPPP (PPPoE) client, which is exposed as a PPPoE interface. Then you run PCC on two interfaces: the one connecting to the cable modem, and the PPPoE one that abstracts the three DSL lines.

You can look up PCC on the wiki: http://wiki.mikrotik.com/wiki/Manual:PCC
 
tombee79
Member Candidate
Member Candidate
Topic Author
Posts: 246
Joined: Sun May 09, 2010 2:28 am

Re: 3 DSL lines with Cable internet connection, load balanci

Wed Aug 04, 2010 7:37 am

thanks,

Bye the way, what is the max of DSL lines bonded? is 7 to much?


And can i do the MLPPP on Router flashed with Tomatto Firmware and then do load balancing on only 2 cables one that goes to cable modem the other that goes to Tomatto Router with ex. 3 DSL lines.?

What do you think will this work? did you tried this in past?

Thanks
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: 3 DSL lines with Cable internet connection, load balanci

Wed Aug 04, 2010 7:58 am

PCC for loadbalancing works on any interface you can route through. Please read the wiki.
 
usmc58xx
newbie
Posts: 25
Joined: Tue Aug 03, 2010 12:39 am

Re: 3 DSL lines with Cable internet connection, load balanci

Wed Aug 04, 2010 8:17 am

I use PCC to route traffic across 6 DSL gateways and it works like a charm, you have to mark your connections as they come in
via address and port with mangle but I've never used PPPoE to do it.

Short answer, yes, it's possible, although, I can't vouch for PPPoE.
 
tombee79
Member Candidate
Member Candidate
Topic Author
Posts: 246
Joined: Sun May 09, 2010 2:28 am

Re: 3 DSL lines with Cable internet connection, load balanci

Thu Aug 05, 2010 5:16 am

Hi and Thanks for you input


Few, what hardware you use for bonding the 6 DSL lines? and how many users you can support on those 6 ( i assume 6Mbps/800Kbps ) ?


Thanks
 
usmc58xx
newbie
Posts: 25
Joined: Tue Aug 03, 2010 12:39 am

Re: 3 DSL lines with Cable internet connection, load balanci

Sun Aug 08, 2010 12:15 am

The 6 gateways are not bonded, we use PCC to load balance between them.

They sit on their own dedicated switch behind the Mikrotik Router.

6Mb per gateway is 36Mb.

We have ~200 wireless customers and our average load is a mere 10Mbps.
Each customer is throttled depending on their 'package' of what they pay for.

Most get 1M, some get 1.5M, some 2M and some 3M.


See this post for an example
 
tombee79
Member Candidate
Member Candidate
Topic Author
Posts: 246
Joined: Sun May 09, 2010 2:28 am

Re: 3 DSL lines with Cable internet connection, load balanci

Mon Aug 09, 2010 6:16 am

Thanks a lot for you help


1)
Thats a lot of good material to read and implement. I have a question. I will have in future 3 connection from the same ISP they say that i need MLPPP to have the 3 connection to work for me ant router flash with Tomatto firmware on client side to get this to work.



2)
My question is :

Can this work? Let say they give me the 3 DSL lines and they don do any MLPPP config on their end. All i do on my end is hook up those 3 lines to MT RB and configure them in PCC ? for load balancing? Is 1st going to work , if yes, witch one is better the one on top or this one on the bottom scenario solution?


3)
usmc58xx are all the connection from the same ISP? if yes or no, what if i want to use static ip for my POP stations? Or just better forget about it and use NAT for Local traffic, i heard is not as that bed in general.
What is your opinon usmc58xx?


Thanks for you input.
 
usmc58xx
newbie
Posts: 25
Joined: Tue Aug 03, 2010 12:39 am

Re: 3 DSL lines with Cable internet connection, load balanci

Mon Aug 09, 2010 8:26 am

Thanks a lot for you help


1)
Thats a lot of good material to read and implement. I have a question. I will have in future 3 connection from the same ISP they say that i need MLPPP to have the 3 connection to work for me ant router flash with Tomatto firmware on client side to get this to work.
I'm not familiar with MLPPP so I can't really answer there.

2)
My question is :

Can this work? Let say they give me the 3 DSL lines and they don do any MLPPP config on their end. All i do on my end is hook up those 3 lines to MT RB and configure them in PCC ? for load balancing? Is 1st going to work , if yes, witch one is better the one on top or this one on the bottom scenario solution?
Yes, you can configure this to work with PCC, you can literally have an almost unlimited number of gateways routed with PCC, to my knowledge, correct me if I'm wrong fewi.

3)
usmc58xx are all the connection from the same ISP? if yes or no, what if i want to use static ip for my POP stations? Or just better forget about it and use NAT for Local traffic, i heard is not as that bed in general.
What is your opinon usmc58xx?


Thanks for you input.
All of our local connections are behind a NAT.
6 gateways sit on a switch.
Mikrotik Goes to gateway switch.
Mikrotik goes to LAN switch.
LAN switch goes to wireless backhauls/ap/customers.


There are certain protocols you need to mark and route through a static gateway.

SSL is one, SSH is another, Telnet.. possibly, FTP is one.

To do this you mark your mangle rules (before your PCC kicks in on per connection classifiers) and send them to a gateway of your choice.
This is required by most SSL sites due to them making sure they aren't being ip spoofed.

If you wanted all POP (or by port) to go through a certain gateway, you mark the connection/packet in mangle >before< the PCC rules of per connection classifiers.

Something to note: Rule order in mangle means everything.
You may have to delete it all just to put it back in order.
Using a terminal makes this easy, just /ip firewall mangle export
then paste it back in order.

Hope that helps.
 
tombee79
Member Candidate
Member Candidate
Topic Author
Posts: 246
Joined: Sun May 09, 2010 2:28 am

Re: 3 DSL lines with Cable internet connection, load balanci

Wed Aug 11, 2010 6:16 am

You people are awesome,


Thanks a lot will do that.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: 3 DSL lines with Cable internet connection, load balanci

Wed Aug 11, 2010 6:59 am

You should consider giving him karma for his answer.
 
usmc58xx
newbie
Posts: 25
Joined: Tue Aug 03, 2010 12:39 am

Re: 3 DSL lines with Cable internet connection, load balanci

Wed Aug 11, 2010 7:01 am

He did, I was at -1 because of Adrianatkins or whatnot.

Karma is always nice :)
 
tombee79
Member Candidate
Member Candidate
Topic Author
Posts: 246
Joined: Sun May 09, 2010 2:28 am

Re: 3 DSL lines with Cable internet connection, load balanci

Thu Aug 12, 2010 7:08 pm

what is you network design diagram guys? do you use 801.11 N? in there? and all behing NAT? Are you POPs are behind NAT or use Static Internet IPs?

2nd
----------------------------
Is it dificult to set up dual back haul? How to set MT RB to have one antenna for upload the other for download? for G 801.11? or N.?

I know without this your bandwidth get cut to 1/2 on back haul? so next link ( hop ) is again cut to 1/2 ,

Thanks,