Fantstic video... These videos are SO valiable and I wish these were done 15 years ago! Martins, you have explained this is terms that are easily understood; and easily repeatable. I know there were examples on website; but this gives the "picture is worth a 1000 words" a brand new meaning. Thank you!! I look forward to future config overviews.
The way this guy explained such an advanced topic with such simplicity is mind-blowing. It's like he's telling a captivating story that even a 10-year-old kid could understand. I'm amazed at his ability to break down complex concepts and make them accessible to a wide audience. This is the kind of teaching we need more of - making knowledge accessible to everyone. Kudos to him for his exceptional communication skills!
Excellent video. I could be complemented by adding how to incorporate recursive routing and ISPs with DHCP address attribution on this scenario, as the "default gateway" for each ISP changes over time.
fantastic video martins have explained clearly and simply....please add a video with configuration of failover recursive routes based on config of this video
Thank you for such a clear and qualitative explanation. I would like more videos like best practice options, especially about load balance, wan or vpn failover etc. Thank
Awesome video! I hope you keep making educational videos like these because your OS and products are amazing and teaching people how to use them is just another way to show them to a wider audience.
درس جد رائع و واضح ... كيف يمكن معالجة الأمر مع الموجه من نوع أجهزة التأرجح في التحميل و او دمج ثلاث خطوط مختلفة tenda ax 3000 w30e له واجهة جد مختصرة و لا تتيح فسحت الاستفادة من مؤهلاته رغم كونه يتضمن ثلاث منافذ من فئة wan/lan و واحدة من فىة lan mtu بين 1400 إلى 1500 أنوه بجهودكم العلميو على جهودكم الفاضلة
Love these videos!! Helped me get into mikrotik faster and made it easy.. maybe adding to this design would of been nice to see recursive routes .. Thank you!!
Great JOB! I have been having trouble with my 2 wan system using another multi wan scenario. This one sounds like the best thought plan for my application.
Thank you for this video. You have explained a lot of information very clearly. In the MikroTik wiki on PCC, there are *accept* rules in the prerouting chain for traffic from the LAN destined to connected WAN subnets. These rules are placed before the PCC rules and are meant to prevent a routing loop. Can someone help me understand how these accept rules prevent a routing loop? Which traffic from the LAN to the WAN interface subnets will match these rules?
I did the same in v7.16.1 thr routing doesn't work if i change routing table not to the main, also ECMP applied when i did the same configuration??? Plz answer me sir
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 loads But I faced a problem When the hotspot server is activated on the LAN port, the Internet does not work and the login page does not appear
The issues I have with these setups are: 1) most ISP's I deal with are issuing dynamic IP addresses, so you can't use static routes in the routing tables. 2) Since the ISP device is almost always local, just pinging the local address does no good for a connection outage. You need to ping a REMOTE device to check connectivity. I haven't seen any of these videos address these issues.
1) You can assign a script to DHCP Client, which RouterOS executes after obtaining IP information. It is tricky but possible to identify the new gateway and update your static routes from the script. 2) You can schedule a script to periodically do some checks (e.g., pinging an external IP from a specific interface), and enable/disable routes based on that.
I set it up a long time ago. Everything would be fine, but I discovered that the connection to the router is ISP2 (the router page does not open). The connection is marked ISP1. Help
Nice video! Is there any chance to export finished config (RSC or plaintext) and place it somewhere, that anyone can review it? I have done this setup few years ago, but it was quite buggy... probably I had bad PCC values.
Mark connection rules also mark the ospf connection which use multicast address. I would suggest to accepting routing related connection before marking for load balance or incoming connection into router.
I will look at this later with a clear mind. I am using an LHG-LTE18 as my internet Modem/Router, but I've also bought an RB5009 for this exact purpose. I wanted to buy a second LHG, and have them both feed the connetion to the RB and the RB serve as my main Router. I wanted to do that because when using 4G in my country and with my ISP you have to options. Either use "vpn" APN or the normal one. VPN gives you a public IP (like ADSL for example) but limits bandwidth to 150Mbps. Normal APN puts you behind a NAT (CG-NAT) effectively removing your ability to port forward anything inside, but gives you Full Speed. I wanted to combine two lines, with two seperate 4G SIMS, on two LHG-LTEs. But it's SO HARD setting up these things since RouterOS is so complicated (in order to be detailed and powerful), and the community on Mikrotik Forums didn't really help me much, as from what I've seen, they don't really like noobs. :) Currently my RB5009 is just a brick sitting in my closet :( Anyway, will check the video later and maybe I can find more info on how to set my net up.
@@mikrotik No. I had no time to look further into it. I need to gather information that is scattered around because I'm not an expert on the subject. The problems I face mainly are: 1) I was told by Mikrotik specialists that if I put the LTE18 on "Passthrough" mode, I should have setup a VLAN for management. 2) I then need to figure out the rest of the setup so the RB works as a Router and the LTE18 machines work as Internet supliers only. Anyway, the problem as I said, is that I didn't have the time to look THAT DEEP into the matter. My LHG-LTE18 is super fast as it is. I just wanted to make my VoIP phone work as well. :(
Very nice video, but what if I get on all connections IP´s and Gateways dynamically via DHCP, how can I prepaire the needed Routing tables? That´s unfortunaltly the critical point in using more than one ISP here in Germany.
@@geogmz8277 Could you give me the headline of the forum title? The forum itself is well known, but it's hard to find something without knowing details🙂
As mentioned in the video, this video was about PCC method and we did not configure things like DHCP server, NAT, firewall, users, etc. You can not dynamically adjust routes in differnet routing tables automatically based on the DHCP client. But it is very easy to write a script on the DHCP client which simply updates the route when gateway changes (help.mikrotik.com/docs/display/ROS/DHCP#DHCP-LeaseScriptExampleLeasescriptexample). However, thank you for the inspiration. We will see if we can convince our developers to allow doing this dynamically in the upcoming RouterOS releases. :)
Thanks but I have an scenario and a question: How can use PPC if I want Primary and Standby scenario? For example broadband of 200 Mbps as primary and LTE as backup only? Also as my uplink is directly to a local cable modem and 3rd party LTE router the WAN port of my Mikrotik can be up but the Internet can be down. Don’t do require here to do recursive routing? And if so how can I do it when my ISP gives my WAN IPs only via DHCP in my router instead of static routes? Thanks and great video!
I use the same rules as mentioned in this video for load balancing to increase Internet speeds in a hotspot, but unfortunately, it's not working. Can anyone here tell me if this is working for a hotspot?
i got it from your mikotik help page : " PCC is not a valid method, in case of Hotspot(captive portal) - due to the fact that Hotspot uses web-proxy and it uses only the default routing table, at the moment. " is this statement still valid as of today ? and if yes what other method best suit load balancing for hotspot . ECMP or policy base routing . which ?
Setting up a multivan for the Internet is not a problem. But if the task is to create a VPN tunnel through each provider where the static IP is only on one side, then there is a problem. Can Mikrotik balance VPN? I tried to set it up for a long time, but the multivan and 1 tunnel did not move. Is there information on how to implement balancing of VPN tunnels between the main office and the branch? I'm trying to configure everything on wireguard.
Hello, I'm trying to create a wireguard server over my backup internet, but it seems to not be working. Even after making and routing a packet in mangle, the outbound traffic for mangle leaves out of my primary circuit. Please help.
Would this still dynamically route traffic if an ISP loses Internet but the ISP gateway is still ping able? Ping seems like an unreliable way to determine if a route is down because here in the states the gateway is usually an ISP modem device and that never goes down but you'll lose Internet
Yes, then the route would be still active. However, this video was not about that. It seems that this is the solution that you are looking for - help.mikrotik.com/docs/pages/viewpage.action?pageId=26476608
Martins this is a really helpful video, thank you! I have just configured my RB4011iGS+ with to ISP connection following your tutorial and all is working perfectly! I just wanted to ask you something?! I have already setup 5 VLAN-s under the Bridge Port to this RB4011iGS+ router! I also added ether1-ISP1 and ether10-ISP2 at the WAN Interface List and at the NAT side > Chain: srcnat > Out Interface List: WAN > Action: masquerade! Hope this is a good configuration! My question is: At @10:21, the mark new connection from LAN... Am I supposed to choose All VLAN as In Interface? Thanks in Advance!
At about 5:30 you add the route tables to the route list. What I do not understand is that you give each one an immediate Gateway address, but seeing that one of the ISP's is dynamic how can you know the gateway address?
Good question?!? How is it possible to know gateway IP in DHCP connection if it can change? The same as with PPPoE. In PPPoE often there is no gateway.
but lets say i have 2 modems connected via usb to the same mikrotik device how would i go about load balancing those connections if they are dynamic routes
No problem, just do it, this was just one example of the idea how to make it work. Anyone is free to get inspired from the video and make adjustments. This is basically the step one, then the sky is the limit.
Thank you for the awesome tutorial. However, I really need guidance on how to implement NTH load balancing in RouterOS v7. I've tried numerous times but something always goes wrong. Could you please provide any information or resources on how it works? Thank you.
Why is NEW required on the connection marks for incoming eth1,eth2,eth3 when you have no-mark selected. Saying its not required in your scenario. Same with the LAN connections!!
i tried this and multi wan works, i just found something, that when i use this type of firewall mangle, for some reason my hotspot > captive portal popup is not working /showing. after disabling this and tried the diff pcc approach, the hotspot captive portal pop ups automatically. why is that? should i add more configuration on firewall for the hotspot?
following this tutorial my internet gets unstable, it only works good if I create two rules to mark the connection in the output chain? does anybody know why?
To me, as a non native-english speaker, "remainder" was a bit misleading. 26/3 = 8,667... ",667" was the "remainder" to me. But what you mean with "remainder" is a MODULO operation! 26 mod 3 = 2.
Good day Martins, I am struggling to configure Mikrotik Router. I am using Pfsense as firewall with PPPoE and multiple VLAN's. I want to deploy Mikrotik at client homes that will have SSID for PPPoE and SSID for VLAN interface that is our hotspot. Can you please guide
1. How do you ensure interconnects maintain the correct gateway (say the router has 2 WANs and 2 other private networks (for interconnecting to the LAN of another router (B)), it sends and receives traffic for, i.e. a PC network isolated that needs a server under in the A routers LAN, so pass between LAN ports (router B has a DHCP lease in RouterA's LAN) ), I assume as they are not in the LAN bridge they will default to the "main" route table? 2. How do route table routes work if the correct gateway in not in the table, can they jump to the "main" table if no entry? Or just fail?
i have an Mikrotik hAP ax lite LTE6. I have convert the ether1 port as WAN port and ether 2,3,4 and wifi remains in bridge-LAN. I would like to configure the router in order to use with load balancing between LTE connection and ether1 WAN connection (for example i am in a hotel, i plug the router in my ether1 connection but i want to use LTE also in combination). I tried to follow the tutorial but failed because i dont know the IP addresses of the gateway for LTE and the gateway of the WAN in ether1 changes from one trip to another. Is there a permanent solution, configuration that i can use? thanks for the videos
Is it possible to somehow combine load balancing with fasttrack? I have 2 channels of 500 Mbit each, MikroTik hex rev 3 without fasttrack gives a maximum balancing speed of 400 Mbit and the processor is at 100%
This is a great video, thank you. But I have one ISP with 1GB uplink and other with 50MB uplink. There are certain services (VOIP) that have to operate over the ISP2. What's the best way of load balancing this? Do I need to make hundred mange rules? Should I just create a separate routing rule for the VOIP subnet to only use ISP2? I would appreciate any advice, I'm still kinda new to this.
Great video, got it working with two WAN connections. my only problem now is the router itself does not have internet, ping outside shows "No route to host". anyone has any ideas?
Can PCC load balancing be achieved without NAT,DHCP? I have an existing router that handles NAT and DHCP. I am considering introducing PCC load balancing in front of this router to increase bandwidth
I have a Mikrotik Hex S router which has SFP port and an RJ45 WAN port, Currently I'm using RJ45 port as main WAN interface and planning to get a second ISP connection can I do multiple ISP with Hex S router with an RJ45 SFP device?
can you please make a video about active load balancing? (higher single connection speed), i managed to put a configuration together but routeros 7.10 broke it and it barely works now
Technically yes, but doesn’t work for failover. I’ve tried this but RouterOS doesn’t failover route. We need better way to do recursive routes in RouterOS 7
As mentioned in the video, this video was about PCC method and we did not configure things like DHCP server, NAT, firewall, users, etc. You can not dynamically adjust routes in differnet routing tables automatically based on the DHCP client. But it is very easy to write a script on the DHCP client which simply updates the route when gateway changes (help.mikrotik.com/docs/display/ROS/DHCP#DHCP-LeaseScriptExampleLeasescriptexample). However, thank you for the inspiration. We will see if we can convince our developers to allow doing this dynamically in the upcoming RouterOS releases. :)
Good afternoon The video is excellent, very useful information about your equipment, well, why is it not so easy to do, why make it so difficult to access available packages. Then, after the full setup, a lot of lines are built in the backup. I think for beginners it is very difficult to understand!
Thanks Martins - it has helped me a lot to understand how mikrotik works to balance connections. I have a question - If the ISP2 router is turned off for example. Will the connection marking rules continue to mark new connections that are assigned to "ISP2.conn" by counter and therefore would be lost? Thank you
Like the video says, when ISP2 goes down, main routing table will be used, meaning - the route with the lowest distance will be used which in our case was ISP1. Nothing will be lost, that is the whole point of this setup. So that it always works.
Fantstic video... These videos are SO valiable and I wish these were done 15 years ago! Martins, you have explained this is terms that are easily understood; and easily repeatable. I know there were examples on website; but this gives the "picture is worth a 1000 words" a brand new meaning. Thank you!! I look forward to future config overviews.
And a video is a thousand pictures!
Mikrotik just discovered a new talent on content creation.
Great job Martins!
The way this guy explained such an advanced topic with such simplicity is mind-blowing. It's like he's telling a captivating story that even a 10-year-old kid could understand. I'm amazed at his ability to break down complex concepts and make them accessible to a wide audience. This is the kind of teaching we need more of - making knowledge accessible to everyone. Kudos to him for his exceptional communication skills!
Great video, will done.
I think you forget mentioned NAT.
It took 10 minutes to setup , with 2 isp working perfectly , great description . Thank You
Great video! Just a small twist: if your connection is not local, use the unicast option in the classifiers.
Thanks. There are plenty suspicious & unverified DIY instructions, having the "official" one is very valuable.
Nice video.. Clear and concise. Can you make a video on how to integrate QoS with Load Balancing (PCC) with a theory explaining how it works?
Nice video...one of the best tutorials for load balancing PCC...👍👏👏👏
Excellent video. I could be complemented by adding how to incorporate recursive routing and ISPs with DHCP address attribution on this scenario, as the "default gateway" for each ISP changes over time.
fantastic video martins have explained clearly and simply....please add a video with configuration of failover recursive routes based on config of this video
the best mangle tutorial - I have been looking for days for something like this that will actually work in v7+
Thank you for such a clear and qualitative explanation. I would like more videos like best practice options, especially about load balance, wan or vpn failover etc. Thank
Awesome video! I hope you keep making educational videos like these because your OS and products are amazing and teaching people how to use them is just another way to show them to a wider audience.
Nice! Part 2 please 🙏 thank you.
Thank you, concise, concrete, very helpful explanation, very useful in OS7 versions.
very informative. next discussion about policy based routing. please
درس جد رائع و واضح ... كيف يمكن معالجة الأمر مع الموجه من نوع أجهزة التأرجح في التحميل و او دمج ثلاث خطوط مختلفة
tenda ax 3000 w30e
له واجهة جد مختصرة و لا تتيح فسحت الاستفادة من مؤهلاته رغم كونه يتضمن
ثلاث منافذ من فئة wan/lan
و واحدة من فىة lan
mtu بين 1400
إلى 1500
أنوه بجهودكم العلميو على جهودكم الفاضلة
Love these videos!! Helped me get into mikrotik faster and made it easy.. maybe adding to this design would of been nice to see recursive routes ..
Thank you!!
Great JOB! I have been having trouble with my 2 wan system using another multi wan scenario. This one sounds like the best thought plan for my application.
Thank you for this video. You have explained a lot of information very clearly.
In the MikroTik wiki on PCC, there are *accept* rules in the prerouting chain for traffic from the LAN destined to connected WAN subnets. These rules are placed before the PCC rules and are meant to prevent a routing loop.
Can someone help me understand how these accept rules prevent a routing loop? Which traffic from the LAN to the WAN interface subnets will match these rules?
I did the same in v7.16.1 thr routing doesn't work if i change routing table not to the main, also ECMP applied when i did the same configuration??? Plz answer me sir
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 loads
But I faced a problem
When the hotspot server is activated on the LAN port, the Internet does not work and the login page does not appear
THIS GUY make me config 3isp in a easiest way...amazing guy..mikrotik expert
The issues I have with these setups are:
1) most ISP's I deal with are issuing dynamic IP addresses, so you can't use static routes in the routing tables.
2) Since the ISP device is almost always local, just pinging the local address does no good for a connection outage. You need to ping a REMOTE device to check connectivity.
I haven't seen any of these videos address these issues.
1) You can assign a script to DHCP Client, which RouterOS executes after obtaining IP information. It is tricky but possible to identify the new gateway and update your static routes from the script.
2) You can schedule a script to periodically do some checks (e.g., pinging an external IP from a specific interface), and enable/disable routes based on that.
Thank you from yours video settings router demonstration. I will try this settings in my router.
Thanks about this videos. If i want to setup 8 isp loadbalacing on CCR2004. What can i do ?
I set it up a long time ago. Everything would be fine, but I discovered that the connection to the router is ISP2 (the router page does not open). The connection is marked ISP1. Help
Nice video!
Is there any chance to export finished config (RSC or plaintext) and place it somewhere, that anyone can review it? I have done this setup few years ago, but it was quite buggy... probably I had bad PCC values.
Hello, thank you for the clear and comprehensive explanation, but what about the NAT settings?
Mark connection rules also mark the ospf connection which use multicast address. I would suggest to accepting routing related connection before marking for load balance or incoming connection into router.
nice tutor i'm mikrotik user from indonesia , gbu
it's perfect Load balance ❤
Time well spent 👍, we like them.
I will look at this later with a clear mind.
I am using an LHG-LTE18 as my internet Modem/Router, but I've also bought an RB5009 for this exact purpose. I wanted to buy a second LHG, and have them both feed the connetion to the RB and the RB serve as my main Router.
I wanted to do that because when using 4G in my country and with my ISP you have to options. Either use "vpn" APN or the normal one.
VPN gives you a public IP (like ADSL for example) but limits bandwidth to 150Mbps.
Normal APN puts you behind a NAT (CG-NAT) effectively removing your ability to port forward anything inside, but gives you Full Speed.
I wanted to combine two lines, with two seperate 4G SIMS, on two LHG-LTEs. But it's SO HARD setting up these things since RouterOS is so complicated (in order to be detailed and powerful), and the community on Mikrotik Forums didn't really help me much, as from what I've seen, they don't really like noobs. :)
Currently my RB5009 is just a brick sitting in my closet :(
Anyway, will check the video later and maybe I can find more info on how to set my net up.
Did you manage to find a solution?
@@mikrotik No. I had no time to look further into it.
I need to gather information that is scattered around because I'm not an expert on the subject.
The problems I face mainly are:
1) I was told by Mikrotik specialists that if I put the LTE18 on "Passthrough" mode, I should have setup a VLAN for management.
2) I then need to figure out the rest of the setup so the RB works as a Router and the LTE18 machines work as Internet supliers only.
Anyway, the problem as I said, is that I didn't have the time to look THAT DEEP into the matter.
My LHG-LTE18 is super fast as it is.
I just wanted to make my VoIP phone work as well. :(
Very nice video, but what if I get on all connections IP´s and Gateways dynamically via DHCP, how can I prepaire the needed Routing tables? That´s unfortunaltly the critical point in using more than one ISP here in Germany.
@@geogmz8277 Could you give me the headline of the forum title? The forum itself is well known, but it's hard to find something without knowing details🙂
@@geogmz8277 Would be very interested in this as well..
As mentioned in the video, this video was about PCC method and we did not configure things like DHCP server, NAT, firewall, users, etc. You can not dynamically adjust routes in differnet routing tables automatically based on the DHCP client. But it is very easy to write a script on the DHCP client which simply updates the route when gateway changes (help.mikrotik.com/docs/display/ROS/DHCP#DHCP-LeaseScriptExampleLeasescriptexample). However, thank you for the inspiration. We will see if we can convince our developers to allow doing this dynamically in the upcoming RouterOS releases. :)
Thanks but I have an scenario and a question: How can use PPC if I want Primary and Standby scenario? For example broadband of 200 Mbps as primary and LTE as backup only? Also as my uplink is directly to a local cable modem and 3rd party LTE router the WAN port of my Mikrotik can be up but the Internet can be down. Don’t do require here to do recursive routing? And if so how can I do it when my ISP gives my WAN IPs only via DHCP in my router instead of static routes?
Thanks and great video!
I use the same rules as mentioned in this video for load balancing to increase Internet speeds in a hotspot, but unfortunately, it's not working.
Can anyone here tell me if this is working for a hotspot?
i got it from your mikotik help page : " PCC is not a valid method, in case of Hotspot(captive portal) - due to the fact that Hotspot uses web-proxy and it uses only the default routing table, at the moment. " is this statement still valid as of today ? and if yes what other method best suit load balancing for hotspot . ECMP or policy base routing . which ?
Setting up a multivan for the Internet is not a problem. But if the task is to create a VPN tunnel through each provider where the static IP is only on one side, then there is a problem. Can Mikrotik balance VPN? I tried to set it up for a long time, but the multivan and 1 tunnel did not move. Is there information on how to implement balancing of VPN tunnels between the main office and the branch? I'm trying to configure everything on wireguard.
Nice video. Very informative. Thank you for the video Mārtiņš & team.
Hello, I'm trying to create a wireguard server over my backup internet, but it seems to not be working. Even after making and routing a packet in mangle, the outbound traffic for mangle leaves out of my primary circuit. Please help.
Excellent video!
Would this still dynamically route traffic if an ISP loses Internet but the ISP gateway is still ping able?
Ping seems like an unreliable way to determine if a route is down because here in the states the gateway is usually an ISP modem device and that never goes down but you'll lose Internet
Yep, it will. Google pdf "Monitoring the Internet Connections of WAN Links
with Only Routing Configuration", it's has and example of your needs
you can check a gateway internet connection with recursive routes. This is what you looking for.
you are right (Y) , on the os7 router you can check fail the port connected to the BFD instead of using the very inaccurate Ping !
my video at 28:11
Yes, then the route would be still active. However, this video was not about that. It seems that this is the solution that you are looking for - help.mikrotik.com/docs/pages/viewpage.action?pageId=26476608
@@mikrotik when i click that help page link, it is taking me a login page ("log into altassian"). please suggest.
Can you provide video on load balancing with Hotspot?
What about FastPath\FastTrack should it be disabled?
Martins this is a really helpful video, thank you!
I have just configured my RB4011iGS+ with to ISP connection following your tutorial and all is working perfectly! I just wanted to ask you something?! I have already setup 5 VLAN-s under the Bridge Port to this RB4011iGS+ router! I also added ether1-ISP1 and ether10-ISP2 at the WAN Interface List and at the NAT side > Chain: srcnat > Out Interface List: WAN > Action: masquerade! Hope this is a good configuration!
My question is:
At @10:21, the mark new connection from LAN... Am I supposed to choose All VLAN as In Interface?
Thanks in Advance!
Thank you. This is what I needed.
Thanks again Martins 👍😎
Great video got PCC working could a video be made for port forwarding with PCC setup
Best helpful video for me... Thanks 🫡👍
Weldone and nice . Lengthy but worth it
Is it possible to update this guide with 2xPPPoE connections? For some reason I can't get it to work.
At about 5:30 you add the route tables to the route list. What I do not understand is that you give each one an immediate Gateway address, but seeing that one of the ISP's is dynamic how can you know the gateway address?
Good question?!? How is it possible to know gateway IP in DHCP connection if it can change? The same as with PPPoE. In PPPoE often there is no gateway.
am trying to load balance on ros7 pcc with hotspot but hotspot keeps on indicating no internet
but lets say i have 2 modems connected via usb to the same mikrotik device how would i go about load balancing those connections if they are dynamic routes
What if I want to configure recursive route as my modems aren't configured as bridge 🤔
No problem, just do it, this was just one example of the idea how to make it work. Anyone is free to get inspired from the video and make adjustments. This is basically the step one, then the sky is the limit.
Thank you for the awesome tutorial. However, I really need guidance on how to implement NTH load balancing in RouterOS v7. I've tried numerous times but something always goes wrong. Could you please provide any information or resources on how it works? Thank you.
Why is NEW required on the connection marks for incoming eth1,eth2,eth3 when you have no-mark selected. Saying its not required in your scenario. Same with the LAN connections!!
Thanks for the video
How can I use mangle rule to route http,SSL,smtp and pop 3 traffic's to isp1 while the other traffice will go to isp2
i tried this and multi wan works, i just found something, that when i use this type of firewall mangle, for some reason my hotspot > captive portal popup is not working /showing. after disabling this and tried the diff pcc approach, the hotspot captive portal pop ups automatically. why is that? should i add more configuration on firewall for the hotspot?
😊 un pur bonheur. Very cool. Enjoy myself
If I use this configuration I can't access other subnet in my router. It routed directly to WAN gateway. am I missing something?
Great video got the PCC working but suddenly lost the capability of ipv6 not sure if this issue is due to pcc or something I did wrong ? Please help
how would you chnge this config to only use the secondary ISPs when the ISP1 is down?
excelent explanation.
Thank you for the video, it`s very helpful! Please can you make the video for Queues with Multiple uplinks?
Great video, is there a simple way using Mangle to force traffic from a specific local ip to use ISP1 as a priority?
Nice job. But local ruting table will not work?
Awesome!!!
Great video! I have a question, what happens when we have a BGP connection with the 3 ISPs?
following this tutorial my internet gets unstable, it only works good if I create two rules to mark the connection in the output chain? does anybody know why?
Can this setup be hardware offloaded on the CCR2116 ? Does it supports multiple routing tables? Or will it be at least partially offloaded?
Can you support MPTCP that is targeting an Internet endpoint (e.g. AWS EC2 instance)?
This is nice, but how do one do this if the WAN interfaces use DHCP?
To me, as a non native-english speaker, "remainder" was a bit misleading. 26/3 = 8,667... ",667" was the "remainder" to me. But what you mean with "remainder" is a MODULO operation! 26 mod 3 = 2.
What is the difference between using pcc "scr address and port" and "both address and port"?
Thanks
It's looks like good, but what about IP/Firewall/NAT/masquerade action? I think, it's missing from the steps!
Good day Martins, I am struggling to configure Mikrotik Router. I am using Pfsense as firewall with PPPoE and multiple VLAN's. I want to deploy Mikrotik at client homes that will have SSID for PPPoE and SSID for VLAN interface that is our hotspot. Can you please guide
1. How do you ensure interconnects maintain the correct gateway (say the router has 2 WANs and 2 other private networks (for interconnecting to the LAN of another router (B)), it sends and receives traffic for, i.e. a PC network isolated that needs a server under in the A routers LAN, so pass between LAN ports (router B has a DHCP lease in RouterA's LAN) ), I assume as they are not in the LAN bridge they will default to the "main" route table?
2. How do route table routes work if the correct gateway in not in the table, can they jump to the "main" table if no entry? Or just fail?
i have an Mikrotik hAP ax lite LTE6. I have convert the ether1 port as WAN port and ether 2,3,4 and wifi remains in bridge-LAN. I would like to configure the router in order to use with load balancing between LTE connection and ether1 WAN connection (for example i am in a hotel, i plug the router in my ether1 connection but i want to use LTE also in combination). I tried to follow the tutorial but failed because i dont know the IP addresses of the gateway for LTE and the gateway of the WAN in ether1 changes from one trip to another. Is there a permanent solution, configuration that i can use? thanks for the videos
Is it possible to somehow combine load balancing with fasttrack? I have 2 channels of 500 Mbit each, MikroTik hex rev 3 without fasttrack gives a maximum balancing speed of 400 Mbit and the processor is at 100%
This is a great video, thank you. But I have one ISP with 1GB uplink and other with 50MB uplink. There are certain services (VOIP) that have to operate over the ISP2. What's the best way of load balancing this? Do I need to make hundred mange rules? Should I just create a separate routing rule for the VOIP subnet to only use ISP2? I would appreciate any advice, I'm still kinda new to this.
Instead of using PCC, look into other methods of filtering out VOIP traffic.
nice manual, thanks!
Great video, got it working with two WAN connections. my only problem now is the router itself does not have internet, ping outside shows "No route to host". anyone has any ideas?
视频说的很详细,👍
Can PCC load balancing be achieved without NAT,DHCP?
I have an existing router that handles NAT and DHCP. I am considering introducing PCC load balancing in front of this router to increase bandwidth
Still can't manage to make it working without that main route. It looks like those ISP table and route mark are just ignored
I have a Mikrotik Hex S router which has SFP port and an RJ45 WAN port, Currently I'm using RJ45 port as main WAN interface and planning to get a second ISP connection can I do multiple ISP with Hex S router with an RJ45 SFP device?
can you please make a video about active load balancing? (higher single connection speed), i managed to put a configuration together but routeros 7.10 broke it and it barely works now
hmm, using the same configuration, I can't seem to access my ISP Router/Gateway.
Can it also be considered as a failover setup? Thanks
Can this work with fasttrack. It seems to be slow when i enable fasttrack.
Do a failover configuration, please. One of my clients has three ISPs, all of them use DHCP and one of them uses PPPoE.
You can do failover just simply pluging all three, making them wan, and making different distances.
Technically yes, but doesn’t work for failover. I’ve tried this but RouterOS doesn’t failover route. We need better way to do recursive routes in RouterOS 7
As mentioned in the video, this video was about PCC method and we did not configure things like DHCP server, NAT, firewall, users, etc. You can not dynamically adjust routes in differnet routing tables automatically based on the DHCP client. But it is very easy to write a script on the DHCP client which simply updates the route when gateway changes (help.mikrotik.com/docs/display/ROS/DHCP#DHCP-LeaseScriptExampleLeasescriptexample). However, thank you for the inspiration. We will see if we can convince our developers to allow doing this dynamically in the upcoming RouterOS releases. :)
Great Video, I tried with my dual ISPs and while speed wise it seems to be working. I am getting 50% packet loss. Any help?
nice video, but try not disconnect the physical cable from your router, disconnect the cable or fiber from the isp, then will see if it still works..
Yes. They need to validate this way…. As I believe it will fail. I’ve had this happen - as we need to instead use recursive route to validate GW
We already did - ua-cam.com/video/nlb7XAv57tw/v-deo.html
Good afternoon
The video is excellent, very useful information about your equipment, well, why is it not so easy to do, why make it so difficult to access available packages. Then, after the full setup, a lot of lines are built in the backup. I think for beginners it is very difficult to understand!
What about NAT (masquerade)?
Thanks Martins - it has helped me a lot to understand how mikrotik works to balance connections.
I have a question - If the ISP2 router is turned off for example. Will the connection marking rules continue to mark new connections that are assigned to "ISP2.conn" by counter and therefore would be lost?
Thank you
Like the video says, when ISP2 goes down, main routing table will be used, meaning - the route with the lowest distance will be used which in our case was ISP1. Nothing will be lost, that is the whole point of this setup. So that it always works.
Why do you have passthrough=yes on the output chain rules??