Community discussions

MikroTik App
 
User avatar
fatonk
Member
Member
Topic Author
Posts: 438
Joined: Tue Feb 22, 2005 11:06 am
Location: Mitrovica/Kosova

Clustering RouterOS PPPoE Servers

Tue Nov 04, 2008 6:09 pm

Is it possible to cluster PPPoE servers based on RouterOS ?

Regards.

Faton
 
User avatar
fatonk
Member
Member
Topic Author
Posts: 438
Joined: Tue Feb 22, 2005 11:06 am
Location: Mitrovica/Kosova

Re: Clustering RouterOS PPPoE Servers

Thu Nov 06, 2008 3:47 pm

Is there a way of doing it ? any idea ?

Regards

Faton
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: Clustering RouterOS PPPoE Servers

Thu Nov 06, 2008 9:05 pm

Seems interesting to me . I thought about it , we can do something but it is not real clustering .
 
jonesy
newbie
Posts: 36
Joined: Tue Oct 07, 2008 1:31 am

Re: Clustering RouterOS PPPoE Servers

Fri Nov 07, 2008 1:29 am

You can do something to this effect by using identical hardware to create two or more mikrotik routers. If they are both running a PPPoE server in the same broadcast domain, the client will connect to the first PPPoE Access Concentrator which responds. With machines running on the same hardware with the same config, connections should balance themselves between your mikrotiks.

You will need a separate pool per mikrotik, or let radius assign the IPs and run a dynamic routing protocol (like OSPF) between the mikrotiks.
 
thadem
Member Candidate
Member Candidate
Posts: 115
Joined: Fri Apr 18, 2008 1:40 am

Re: Clustering RouterOS PPPoE Servers

Fri Nov 07, 2008 12:35 pm

freaky idea :-)

have you tried it? would be interesting if it is really loadbalancing so good
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: Clustering RouterOS PPPoE Servers

Fri Nov 07, 2008 4:04 pm

we can do something but it is not real clustering .
As i said it is not real load balancing . load balancing should be transparent .
You can do something to this effect by using identical hardware to create two or more mikrotik routers. If they are both running a PPPoE server in the same broadcast domain, the client will connect to the first PPPoE Access Concentrator which responds. With machines running on the same hardware with the same config, connections should balance themselves between your mikrotiks.

You will need a separate pool per mikrotik, or let radius assign the IPs and run a dynamic routing protocol (like OSPF) between the mikrotiks.
Assume user1 connected to router1 and user2 connected to router2 . if router1 fails user1 will be disconnected and should again connect. It is just a simple example
 
thadem
Member Candidate
Member Candidate
Posts: 115
Joined: Fri Apr 18, 2008 1:40 am

Re: Clustering RouterOS PPPoE Servers

Fri Nov 07, 2008 5:38 pm

ok, this is failover. easy to do even with vrrp for example.
but where is the loadbalancing? i can only think of a simple loadbalancing if one of the boxes is under heavy load and answering slower and the other one is faster at responding. but this is only working with really loaded boxes :-)
or does it really work rather good when both machines are connected to the same switch and so forth that they answer at the same time and load balance by random?
 
thadem
Member Candidate
Member Candidate
Posts: 115
Joined: Fri Apr 18, 2008 1:40 am

Re: Clustering RouterOS PPPoE Servers

Fri Nov 07, 2008 5:41 pm

one possible solution would be a l2-loadbalancer such as the bigger f5 boxes. but i do not know how well they behave with connection tracking of pppoe-connects. but worth a test i think.
 
User avatar
fatonk
Member
Member
Topic Author
Posts: 438
Joined: Tue Feb 22, 2005 11:06 am
Location: Mitrovica/Kosova

Re: Clustering RouterOS PPPoE Servers

Sat Nov 08, 2008 12:18 am

I have tried to have two pppoe servers at the same broadcast domain with the same service name, but it is not balanced equally. I think RouterOS developers should add this ability, it is good to have it. At our company we use Finepoint ServPoet pppoe servers and they support clustering, but I,m very interested to have this feature in RouterOS.

Regards.

Faton
 
jonesy
newbie
Posts: 36
Joined: Tue Oct 07, 2008 1:31 am

Re: Clustering RouterOS PPPoE Servers

Sun Nov 09, 2008 5:43 am

I have tried it, we have a pool of 19 routerOS routers running on wrap boards doing exactly this.
The load seems to get fairly evenly distributed. Identical hardware is pretty important.
 
rkorolev
newbie
Posts: 43
Joined: Tue Oct 23, 2007 1:49 pm

Re: Clustering RouterOS PPPoE Servers

Tue Nov 11, 2008 7:49 am

Load balancing with several ROS is working. Almost.
There's one problem you can't handle without real cluster:
serverA gets 100 users at night, serverB also gets 100 users.
But 10 users on serverA with high bandwidth start downloading torrents and server is pretty loaded.
You can't mirate some of the users from A to B.

Who is online

Users browsing this forum: CGGXANNX and 95 guests