Multiple uplinks using PCC, Load balancing

  Рет қаралды 69,456

MikroTik

MikroTik

Күн бұрын

0:00 - Intro
4:56 - Routing tables and routes
6:47 - Match outgoing traffic to incoming
9:53 - PCC - distribute connections
12:57 - LAN to Internet routing marks
14:00 - Testing setup
15:08 - Summary
Load Balancing: help.mikrotik.com/docs/displa...
Mangle: help.mikrotik.com/docs/displa...
Policy Routing: help.mikrotik.com/docs/displa...

Пікірлер: 220
@tmcarter3
@tmcarter3 Жыл бұрын
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.
@domhamai
@domhamai 11 ай бұрын
And a video is a thousand pictures!
@dvreshta
@dvreshta Жыл бұрын
Mikrotik just discovered a new talent on content creation. Great job Martins!
@RuouniKenshin
@RuouniKenshin Жыл бұрын
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.
@easypr
@easypr 5 ай бұрын
It took 10 minutes to setup , with 2 isp working perfectly , great description . Thank You
@ksenyxths
@ksenyxths Жыл бұрын
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!
@harrysugiarto
@harrysugiarto Жыл бұрын
Nice video...one of the best tutorials for load balancing PCC...👍👏👏👏
@glrfi4eva
@glrfi4eva 9 ай бұрын
the best mangle tutorial - I have been looking for days for something like this that will actually work in v7+
@florentinbarbura7808
@florentinbarbura7808 2 ай бұрын
Thank you, concise, concrete, very helpful explanation, very useful in OS7 versions.
@Kredo800
@Kredo800 Жыл бұрын
Thanks. There are plenty suspicious & unverified DIY instructions, having the "official" one is very valuable.
@arttrout8236
@arttrout8236 11 ай бұрын
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.
@19HOKAGE68
@19HOKAGE68 Жыл бұрын
Nice! Part 2 please 🙏 thank you.
@flisskennigen4675
@flisskennigen4675 Жыл бұрын
Nice video. Very informative. Thank you for the video Mārtiņš & team.
@troelse.nrmlle4625
@troelse.nrmlle4625 10 ай бұрын
Time well spent 👍, we like them.
@unumpolum
@unumpolum Жыл бұрын
Thank you. This is what I needed.
@alciomar
@alciomar 6 ай бұрын
Excellent video!
@Joshv918
@Joshv918 Жыл бұрын
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!!
@alekseykharchenko2769
@alekseykharchenko2769 Жыл бұрын
Thank you from yours video settings router demonstration. I will try this settings in my router.
@SuperSiyko
@SuperSiyko 3 ай бұрын
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
@keletk
@keletk Жыл бұрын
fantastic video martins have explained clearly and simply....please add a video with configuration of failover recursive routes based on config of this video
@GlenKowalchuk
@GlenKowalchuk 8 ай бұрын
Thanks again Martins 👍😎
@mauriciohenriques3820
@mauriciohenriques3820 9 ай бұрын
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.
@compratecno
@compratecno 3 ай бұрын
excelent explanation.
@SoranEngineer
@SoranEngineer Жыл бұрын
good explanation thank you so much
@sudanking99
@sudanking99 Жыл бұрын
Great video, will done. I think you forget mentioned NAT.
@Rouly88
@Rouly88 Жыл бұрын
😊 un pur bonheur. Very cool. Enjoy myself
@jermainebrown8615
@jermainebrown8615 3 ай бұрын
Great video! Just a small twist: if your connection is not local, use the unicast option in the classifiers.
@evgeniyloginov
@evgeniyloginov Жыл бұрын
nice manual, thanks!
@yeo1397
@yeo1397 Жыл бұрын
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?
@leratoradebe6438
@leratoradebe6438 Жыл бұрын
Awesome!!!
@user-wy2ys7eo8j
@user-wy2ys7eo8j Жыл бұрын
视频说的很详细,👍
@sabujplays1611
@sabujplays1611 3 ай бұрын
Best helpful video for me... Thanks 🫡👍
@mikkio5371
@mikkio5371 Ай бұрын
Weldone and nice . Lengthy but worth it
@WanFiITSoLuTioNs
@WanFiITSoLuTioNs 7 ай бұрын
very informative. next discussion about policy based routing. please
@alimibrahem8120
@alimibrahem8120 Жыл бұрын
So elegant..!
@GixD_
@GixD_ 9 ай бұрын
best tutorial 😁
@toolsanddrymaller
@toolsanddrymaller 2 ай бұрын
thank you 😊
@ifscale3
@ifscale3 10 ай бұрын
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?
@suadiadnya
@suadiadnya Жыл бұрын
nice tutor i'm mikrotik user from indonesia , gbu
@Mensan1960
@Mensan1960 3 күн бұрын
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.
@samaelfront2848
@samaelfront2848 10 күн бұрын
thank you👻
@burimbajraktari
@burimbajraktari Жыл бұрын
Great video thanks. A question why you didnt used the Pasthrough option?
@hexatested
@hexatested 11 ай бұрын
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.
@truongsi1
@truongsi1 10 ай бұрын
Thanks about this videos. If i want to setup 8 isp loadbalacing on CCR2004. What can i do ?
@robertkirwan29
@robertkirwan29 11 ай бұрын
Great video, is there a simple way using Mangle to force traffic from a specific local ip to use ISP1 as a priority?
@donakpabio
@donakpabio 9 ай бұрын
Great video! I have a question, what happens when we have a BGP connection with the 3 ISPs?
@user-ir9ux1nu2e
@user-ir9ux1nu2e 2 ай бұрын
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.
@KP_187
@KP_187 4 ай бұрын
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!
@jakubstajner5155
@jakubstajner5155 Жыл бұрын
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.
@glrfi4eva
@glrfi4eva 9 ай бұрын
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?
@synapticaxon9303
@synapticaxon9303 11 ай бұрын
Can you support MPTCP that is targeting an Internet endpoint (e.g. AWS EC2 instance)?
@rachidrac1759
@rachidrac1759 9 ай бұрын
درس جد رائع و واضح ... كيف يمكن معالجة الأمر مع الموجه من نوع أجهزة التأرجح في التحميل و او دمج ثلاث خطوط مختلفة tenda ax 3000 w30e له واجهة جد مختصرة و لا تتيح فسحت الاستفادة من مؤهلاته رغم كونه يتضمن ثلاث منافذ من فئة wan/lan و واحدة من فىة lan mtu بين 1400 إلى 1500 أنوه بجهودكم العلميو على جهودكم الفاضلة
@user-jm4uc6op7p
@user-jm4uc6op7p Жыл бұрын
Thanks
@kirksteinklauber260
@kirksteinklauber260 9 ай бұрын
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!
@Silverblade655
@Silverblade655 7 ай бұрын
Thanks for the video, really comprehensive although I don't understand two things. It does not divide the bandwidth but the packets, if I have two connections, one fast and one slow with sim that I keep as failover what is the best strategy to make it use as little as possible? Second, tried and it works but wireguard vpn works if I ping from router but not from my pc for example, any debugging tips? Thanks!!!
@sinuzxsinuzx9596
@sinuzxsinuzx9596 6 ай бұрын
Thx! Really good? 👍
@bonamin
@bonamin Жыл бұрын
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
@mikrotik Жыл бұрын
Did you manage to find a solution?
@bonamin
@bonamin Жыл бұрын
​@@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. :(
@iliondocs6006
@iliondocs6006 10 ай бұрын
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
@user-uo9km9dh3v
@user-uo9km9dh3v 10 ай бұрын
Thank you for the video, it`s very helpful! Please can you make the video for Queues with Multiple uplinks?
@Garen15
@Garen15 3 ай бұрын
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?
@bricbrac
@bricbrac 2 ай бұрын
Can this setup be hardware offloaded on the CCR2116 ? Does it supports multiple routing tables? Or will it be at least partially offloaded?
@aeronstone100
@aeronstone100 11 ай бұрын
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?
@fayron_global
@fayron_global 11 ай бұрын
❤👍💪
@teeay8324
@teeay8324 8 ай бұрын
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?
@collinsonyegbado309
@collinsonyegbado309 3 ай бұрын
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
@mikkio5371
@mikkio5371 Ай бұрын
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 ?
@ebenolivier
@ebenolivier 2 ай бұрын
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?
@k0nctant1n.pererva
@k0nctant1n.pererva 8 ай бұрын
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
@OperKH
@OperKH Жыл бұрын
What about FastPath\FastTrack should it be disabled?
@joel19622
@joel19622 11 ай бұрын
Hi,how about load balance configuration with same gateways it is the same procedure? If not then how? Thanks
@luis-bejarano
@luis-bejarano 5 ай бұрын
how would you chnge this config to only use the secondary ISPs when the ISP1 is down?
@Q4best
@Q4best 9 ай бұрын
Nice job. But local ruting table will not work?
@colab6181
@colab6181 10 ай бұрын
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
@JPMeijers
@JPMeijers 2 ай бұрын
This is nice, but how do one do this if the WAN interfaces use DHCP?
@pablorepolles
@pablorepolles 9 ай бұрын
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
@mikrotik
@mikrotik 9 ай бұрын
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.
@Shimanskiy
@Shimanskiy 2 ай бұрын
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%
@hlbindonesia3547
@hlbindonesia3547 8 ай бұрын
veryyyyyyy simple only use table mode to result loadbalance 3 isp thanks broohhhhhh
@actomobile
@actomobile 2 ай бұрын
If I use this configuration I can't access other subnet in my router. It routed directly to WAN gateway. am I missing something?
@muzaffarbashir4566
@muzaffarbashir4566 10 ай бұрын
I want to configure two isp pannels data and want assign user as per my wish service 1 or service 2
@XtrAMassivE
@XtrAMassivE 8 ай бұрын
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.
@mikrotik
@mikrotik 8 ай бұрын
Instead of using PCC, look into other methods of filtering out VOIP traffic.
@beelzebub8626
@beelzebub8626 3 ай бұрын
What is the difference between using pcc "scr address and port" and "both address and port"? Thanks
@cuddlelab6640
@cuddlelab6640 9 ай бұрын
great video, btw miktotik ip cloud not responding in multiple wan, what should i do?
@aaymanbd
@aaymanbd 4 ай бұрын
Is it possible to update this guide with 2xPPPoE connections? For some reason I can't get it to work.
@user-comet7664
@user-comet7664 7 ай бұрын
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
@momensobhy2929
@momensobhy2929 4 ай бұрын
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.
@lasepp
@lasepp Жыл бұрын
How can we do the default route part dynamically in ROS7? I‘ve had the problem that sometimes the IP of the default gateway changes on reconnect via PPPoE… in ROS6 I could do that with a route filter in dynamic-in and change the routing table there. Is there a non-scripting way to do this in ROS7?
@mikrotik
@mikrotik Жыл бұрын
For VPN you simply specify the VPN tunnel name as the gateway, not the nexthop IP address.
@skynetoffice3632
@skynetoffice3632 10 ай бұрын
@@mikrotik This configurations can load balances the multi wans without routing tables?
@jeytis72
@jeytis72 4 ай бұрын
Can it also be considered as a failover setup? Thanks
@LiveGoodDreamers
@LiveGoodDreamers 6 ай бұрын
Can this config be applicable on the same IP gateway ?
@hahay16
@hahay16 2 ай бұрын
hmm, using the same configuration, I can't seem to access my ISP Router/Gateway.
@salembaabbad8783
@salembaabbad8783 Жыл бұрын
Can i use this method in version 6.48.7 ?
@Ai__X
@Ai__X 19 күн бұрын
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?
@jozsefmolnar6179
@jozsefmolnar6179 9 ай бұрын
It's looks like good, but what about IP/Firewall/NAT/masquerade action? I think, it's missing from the steps!
@rgzeper8061
@rgzeper8061 Жыл бұрын
Hi Guys I have a difficulty on having internet connection with your config. I already double checked the config but it seems my computer cant get internet connection without configuring masquerade on the NAT. Is that right or I miss something.? I also want to have a port forwarding rule as you mentioned in the last portion of the video but it seems the port cant be open. hopeful for your reply.
@radenrohmatulloh
@radenrohmatulloh 11 ай бұрын
Right. You should configure masquerade on NAT fisrt. I think in the video was already has masquerade config in each port from isp
@user-ze6je5yn2g
@user-ze6je5yn2g 4 күн бұрын
Can this work with fasttrack. It seems to be slow when i enable fasttrack.
@Anavllama
@Anavllama 7 ай бұрын
Why do you have passthrough=yes on the output chain rules??
@davidcampos8795
@davidcampos8795 Жыл бұрын
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
@nick9323
@nick9323 Жыл бұрын
Yep, it will. Google pdf "Monitoring the Internet Connections of WAN Links with Only Routing Configuration", it's has and example of your needs
@peterkovacs233
@peterkovacs233 Жыл бұрын
you can check a gateway internet connection with recursive routes. This is what you looking for.
@CaMapTrang
@CaMapTrang Жыл бұрын
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
@mikrotik
@mikrotik Жыл бұрын
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
@erwinbolasa1524
@erwinbolasa1524 Жыл бұрын
Can you provide video on load balancing with Hotspot?
@olpchk1115
@olpchk1115 10 ай бұрын
Still can't manage to make it working without that main route. It looks like those ISP table and route mark are just ignored
@cloudgeeker7639
@cloudgeeker7639 10 ай бұрын
I config my router as the same,it can work but my wireguard dosent work.....The ping from outside was echoed,but wireguard didnt response,I config the port mapping in my firewall and I make sure it can work before
@Anavllama
@Anavllama 7 ай бұрын
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!!
@caioverasjosino5419
@caioverasjosino5419 3 ай бұрын
How can i port forward for both links ?
Host a webserver on your router using CONTAINERS!
7:52
MikroTik
Рет қаралды 26 М.
What are VLANs and how to configure them (pt.1)
13:01
MikroTik
Рет қаралды 45 М.
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 38 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
MikroTips: How to firewall
21:56
MikroTik
Рет қаралды 141 М.
Kubernetes NodePort vs LoadBalancer vs Ingress
6:27
Anton Putra
Рет қаралды 60 М.
Make your router run Scripts!
6:54
MikroTik
Рет қаралды 10 М.
Full MikroTik MTCRE - ECMP (Quick and Easy Load balancing)
9:31
The Network Berg
Рет қаралды 21 М.
Аггрегация каналов в DualWAN на Mikrotik
38:37
Mikrotik Training
Рет қаралды 35 М.
VRF basics with MikroTik
10:38
MikroTik
Рет қаралды 29 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
When you have 32GB RAM in your PC
0:12
Deadrig Gaming
Рет қаралды 2,5 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 4 МЛН