Following are few simple tips N tricks on howto load balance users among multiple PPPoE Servers working on same LAN.
This is some times required if you have thousands of users and you want to avoid overload single server. Following the tips, you will be able to do load balance as well as fail over configuration , if one server dies, other will automatically take the load🙂
The PPPoE Client sends out a service inquiry and whichever mac address responds first is the one it tries to connect with. This is the easiest way to load balance PPPoE.
# Configure two [or more as per required] PPPoE servers with the same or likewise hardware and same service name to the same switch where clients are connected. Just make sure that on each mikrotik, ip pool for pppoe users should not overlap with each other, working example is as follows …
Mikrotik -1 > Ip pool for pppoe users = 172.16.0.1-172.16.10.255
Mikrotik -2 > Ip pool for pppoe users = 172.16.11.1-172.16.20.255
Mikrotik -3 > Ip pool for pppoe users = 172.16.21.1-172.16.30.255
adn the public ip pool should be different as well.
# From Each client, the two pppoe servers must be reachable at L2.
# Each client can connect randomly to one pppoe server or the other. there will no FIXED percentage, but in practical it maybe around 60-40% or 45-55% sort of. The PPPoE Client sends out a service inquiry and whichever mac address responds first is the one it tries to connect with.
# If one server is Down, All users can Connect the second one or Only available Server.
Howto scan pppoe servers running on your Network.
# By using pppoe scanner, you can search how many pppoe servers are running in your network. Open Terminal and use
/interface pppoe-client scan ether1 [LAN]
it will show you all the servers running on this interface connected network.