I have 4 Internet lines on four ports
I want to automatically divide customers into 4 internet lines equally without distributing the load
v6https://help.mikrotik.com/docs/display/ ... +Solutions
Are you running V6 or V7?
Example I have 40 in Active HotspotYour requirements are NOT clearly stated or accurate.
Your writing states four internet WANS, but your diagram only shows 3??
What do you mean NOT distribute the load?
How do you propose that the router share the load so to speak?
Do you mean you have four different subnets, OR perhaps 4 groups of users defined?
src-address-list=Group1
src-address-list=Group2
src-address-list=Group3
src-address-list=Group4
Drawing as an example onlyYour requirements are NOT clearly stated or accurate.
Your writing states four internet WANS, but your diagram only shows 3??
What do you mean NOT distribute the load?
How do you propose that the router share the load so to speak?
Do you mean you have four different subnets, OR perhaps 4 groups of users defined?
src-address-list=Group1
src-address-list=Group2
src-address-list=Group3
src-address-list=Group4
What about version v6?The high-level answer is if you just set the distance= the same in /ip/route for the 4 DSL lines (* in V6, add MULTIPLE gateway to same 0.0.0.0 /ip/route), you'll create an ECMP. Traffic is divided by hashes, so it's not quite "equal" (*in 7.16 ECMP can be "more even" with l4 hashes). A NAT rule and /ip/firewall/connection tracks the chosen WAN for the connection.
PCC approach is alternative, which has more options for load balancing than simple ECMP, Mikrotik has a video on it here: https://www.youtube.com/watch?v=nlb7XAv57tw
Neither are not quite that simple... since possible interface is up, but there is no internet upstream of DSL/routers. That where all load balancing schemes get more complicated. But if everything is up, and you want traffic divided "loosely evenly", ECMP is simplest IMO. The docs have all the schemes semi-documented to give you some ideas.
What about version v6?What about version v6?The high-level answer is if you just set the distance= the same in /ip/route for the 4 DSL lines (* in V6, add MULTIPLE gateway to same 0.0.0.0 /ip/route), you'll create an ECMP. Traffic is divided by hashes, so it's not quite "equal" (*in 7.16 ECMP can be "more even" with l4 hashes). A NAT rule and /ip/firewall/connection tracks the chosen WAN for the connection.
PCC approach is alternative, which has more options for load balancing than simple ECMP, Mikrotik has a video on it here: https://www.youtube.com/watch?v=nlb7XAv57tw
Neither are not quite that simple... since possible interface is up, but there is no internet upstream of DSL/routers. That where all load balancing schemes get more complicated. But if everything is up, and you want traffic divided "loosely evenly", ECMP is simplest IMO. The docs have all the schemes semi-documented to give you some ideas.
PCC has not changed. So video likely apply. It is ECMP that did between V6 and V7.What about version v6?
What about version v6?
Is there a video explaining this?
I changed my internet sources from ADSL to StarlinkUSER is now stating the switch is in reality a hOTSPOT and has moved ADSN wan links to Starlink links, problem is the same
The request is basically the same, the only thing that is different is that its clear you either dont know what you have for ISP, or were not being truthful on the first post, but in essence its the same issue of partial load balancing given 3 ISPs to varying groups of users........
You want
a. user1 and user4 should only access Starlink1
b. user2 should only access Starlink2
c. user3 should only access Starlink3
d. Switch or whatever users should be load balanced to all three starlinks.
What about failover situations, if any ??? Describe what you wish to happen for each case.
3wan.jpg
I don't speak English. I translated it using Google, so I apologize for the clarificationCannot until you decide which requirements are valid,
a. per the diagram and the list I provided which was very clear 1u to w1, 2u to w2, 3u to w3, and hotspot users LB between WAN 1,2,3
OR
b. the ambiguous --> best way to distribute the load among 3 Internet providers, aka you dont care ( 1,2,3 and hotspots ALL balanced to wans 1-3 )
If you insist on a solution without providing necessary information and only require an expert, then suggest highly this route: https://mikrotik.com/consultants
Cannot until you decide which requirements are valid,
a. per the diagram and the list I provided which was very clear 1u to w1, 2u to w2, 3u to w3, and hotspot users LB between WAN 1,2,3
OR
b. the ambiguous --> best way to distribute the load among 3 Internet providers, aka you dont care ( 1,2,3 and hotspots ALL balanced to wans 1-3 )
If you insist on a solution without providing necessary information and only require an expert, then suggest highly this route: https://mikrotik.com/consultants
A wonderful and very useful video. I was looking for it for two months. I applied all the steps. It is the best way to distribute loadsThe high-level answer is if you just set the distance= the same in /ip/route for the 4 DSL lines (* in V6, add MULTIPLE gateway to same 0.0.0.0 /ip/route), you'll create an ECMP. Traffic is divided by hashes, so it's not quite "equal" (*in 7.16 ECMP can be "more even" with l4 hashes). A NAT rule and /ip/firewall/connection tracks the chosen WAN for the connection.
PCC approach is alternative, which has more options for load balancing than simple ECMP, Mikrotik has a video on it here: https://www.youtube.com/watch?v=nlb7XAv57tw
Neither are not quite that simple... since possible interface is up, but there is no internet upstream of DSL/routers. That where all load balancing schemes get more complicated. But if everything is up, and you want traffic divided "loosely evenly", ECMP is simplest IMO. The docs have all the schemes semi-documented to give you some ideas.