Watched 35+ of your videos on MikroTik in a single sitting. Planning to purchase RB3011 for my workplace and now I know who to reach out to should I get stuck! Only video channel in English language that speaks on MicroTik configuration and sounds like poetry :-) Thank you @TKSJa
@owolabitaofeeqowodunni86093 жыл бұрын
TKSJa, I really hope you are fine wherever you are. For years now, you've been of great help to me through your videos. Thanks a lot!
@TKSJa3 жыл бұрын
I appreciate that, thanks!
@Joshv9182 жыл бұрын
Ive been watching 100s of these and this is the first one that helped.. thank you !!
@johnbeardmore81903 жыл бұрын
TKSJa, I really enjoy your tutorials, but I'm too dumb to implement your scripting. I want to do something akin to load-balancing with unequal ISP's. I have a 5-port MikroTik hAPac2 router. Is it possible to purchase or otherwise attain a RouterOS pre-configured and 'plug & play' that I can just change the relevant IP (interface) values to match my needs? Thanks (John)
@tim60537 жыл бұрын
Ok, so after the last comments, I started from square-one. To get the best results, it is preferable to do a "reset-configuration" prior to starting the process of the "Load Balancing" exercise. In my case, I had been using the router for other things, and a lot of little settings had been changed causing (I suspect), unpredictable results. I also had saved, and exported the configuration settings to a file so I could paste them in one at a time to ensure I could see what was happening. So, after doing all that, it now seems to work perfectly.. :-) :-) Thanks !!
@TKSJa7 жыл бұрын
+Tim Great!
@gpligor3 жыл бұрын
Could you update this video into a longer video explaining why you are taking the steps you are taking ? This is advanced configuration and certainly not self explanatory or intuitive. Many thanks
@arunkhan4951 Жыл бұрын
.Agree, an explanation of the "mangle" table entries would be very helpful
@kqabro3 жыл бұрын
Hi TKSJa Thanks for this informative and valuable guide. As the gateway add is local ip add of internet connected device, what if the internet is down, but your connectivity with that device is up, as ping will still be alive? further for 3 WAN connections, will be the per connection classifer instead of 2/0 and 2/1?
@terexshop67954 жыл бұрын
thank you!!!(i'm zero knowledge in mikrotik) it simplify my work! ...watched from tutorial 1
@Paulosantana2k4 жыл бұрын
This method only works when the cable is unplugged or the interface is down, but it doesn't when the route is unreachable.
@jasonminae4 жыл бұрын
Thank you for being a blessing to many. Be mightily blessed for sharing this valuable knowledge on how to configure the MikroTik routers.
@TKSJa3 жыл бұрын
It was a pleasure, thank you
@netsurf_technologies3 жыл бұрын
am so greatful.your tutorials have helped me build my own local isp network in my area
@rizwanjamil78844 жыл бұрын
I have two connections one with 15Mbps and other 30Mbps. I want an output connection of 45Mbps along with fail over
@HarounHakeel6 жыл бұрын
Good Stuff you doing there. Quick question, Suppose i have different local subnets, i.e 172.0.0.0/28 & 192.168.0.0/24 do i create independent mangle rules for each subnet or how do i go about it?
@dieguitox19874 жыл бұрын
Hi! I hope you are still active. Ty for your video it worked perfectly. But when I download something I can only have like 25% of the total with some spikes of 100% from time to time. Any advice?
@guska_103 жыл бұрын
thx for your channel,, i hope be will learn more about mikrotik... SALAM DARI LOMBOK INDONESIA
@ramonertze38544 жыл бұрын
Hi TKSJa, are you aware of any issues of this not working with the latest versions of Firmware (6.44.6)? I follow every step you do here, but I don't get access to the internet in any of the WAN ports.
@HussainAkbar5 жыл бұрын
Great tutorial. Succinct and to the point. I've got two out of three of my connections shifted to the router and working fine in load balancing mode.
@georgegithu99133 жыл бұрын
Thanks TKSJa, your videos are very useful in understanding mikrotik in depth, i have one issue when my two ISP are live the load balancing is ok, but when wan2 i running then and wan1 is off internet works well but when i reconnect Wan1 back while wan2 is still working the internet disconnect until i disconnect wan2 and reconnect it again.
@nziokaaustin3 жыл бұрын
Set the distance in both routes to 1 for both connections and change check gateway from ping to arp.
@vencislavvidov2 жыл бұрын
thanks, I think one thing is missing, starting point. we start from somewhere, but is not clear where. it will be nice if we load or reset some default configuration.
@zanna.2414 жыл бұрын
HI, is it possible to make a dual wan connection using an ethernet interface and the LTE interface via usb port, on RB hap?
@jeleeladebisi93568 ай бұрын
Is there a solution for a MikroTik setup experiencing issues with hotspot ports when both ISPs are connected for load balancing and failover, yet functioning properly when one ISP is disconnected? The LAN-configured ports are working fine on both ISPs. Thanks
@SyakirIshak5 жыл бұрын
How about SSL connections? Will it be sticky with just these config? My concern is my LAN user are accessing, say online banking. Will the https terminated/flap due to change of public IP? Thanks for the great video!
@slowboyzrepublic15296 жыл бұрын
Hi sir, what is the configuration of bridge in this tutorial. thanks
@carlb6412 жыл бұрын
What exactly does the numerator and denominator mean for the PCC setting? I saw some videos putting more rules if you have unequal WAN speeds. I thought it was the actual interface #.
@eduardosedotes77266 жыл бұрын
Thank you, my friend. I have difficulty understanding the wiki documentation. This made it easier!!
@TKSJa6 жыл бұрын
You are welcome
@SavannahTL3 жыл бұрын
Is this still valid for current ROS 6.48.3? Would you change anything from this video since it's about 4 years old?
@oliverregal6 жыл бұрын
would this work if the 2 upstream links doesn't have the same bandwidth capacity? How would the router know that link 1 is congested?
@paulturner94443 жыл бұрын
I am new to Mikrotik. Do you just add these steps on top of the default configuration Mikrotik provides for Home AP devices?
@altatensioneip5 жыл бұрын
Great tutorial my friend. I have a question for you: this configuration works (I try with wan ADSL and wan LTE with Dongle) but with a limit: if router on wan1 is reachable but without connection I have no switch on second wan. If distance is 1 and 1 all works but if I have to do a failover with difference distance (in case LTE I have to use it only in emergency case) doesnt'work.
@DiegoMonteiroDCADSERVICIOS5 жыл бұрын
Hello, very good video! my query is: what happens if the interface does not disconnect, only that it does not receive internet? How does the router detect this? Thank you.-
@TKSJa5 жыл бұрын
That is an issue with this config. I will do a video show other methods.
@DiegoMonteiroDCADSERVICIOS5 жыл бұрын
okay! I would appreciate it if you make those videos, thank you very much for the prompt response.
@kivumbidennis1575 Жыл бұрын
Hi I have 3 Internet lines and I would like to do load balancing in one mikrotik router. Can you help me configure this via any desk? Thanks
@faridshahab82914 жыл бұрын
Thanks very much, you just saved me a lot of time and headache! and also I was thinking whom should I get help from and you just did it. Thanks again. F
@frostsmaker89667 жыл бұрын
This is what I requested,.. I'm so happy. Now I can set it on my router.
@bugsystube4 жыл бұрын
Hola muy bueno el tuto!! Ahora si yo quisiera que una vlan salgan por una conexion y otras por otras? Se puede?
@abdullahiidris-y7p Жыл бұрын
Hello.. want to priorotize traffic over of a certain website over all other sites during some periods of the day.. how can we achieve this please using mikrotik?
@mochisanga2 жыл бұрын
Hi TKSJa, This has been working perfectly on my Network which has the single subnet class C (/24) configured in a Single Bridge. Now I have another network of class B 172.16.X.X/16. I have segmented it into different VLANS. Which interface should I replace o the bridge interface in order to make sure that all the VLANs are served by this Load Balancing and Failover (since every VLAN is in its bridge)? Please assist
@newtonmuuo16593 жыл бұрын
Does this use load balancing so both of your connections will be used or does it use one connection and the other as a backup?
@sujanlimbu99974 жыл бұрын
I had watched over 5-10 videos regarding load balancing on youtube most of them do chain-input while making mark-connection for Wan.in this video u have done chain prerouting what is the difference of doing that sir? I have configure my mikrotik router with dhcp client and ppoe client but i got confused while accepting dst-address beacause when i configure WAN1 as ppoe client it gives out address like 202.51.84.11 and network 103.10.30.4,how can i know cidr of this network so i can use it on mangle rule to accept dst-address ?please help
@ericsherwin86937 жыл бұрын
Excellent video! You helped me understand what I was doing wrong. Thank you
@JankyVzla7 жыл бұрын
You really are the best ... And if for example, the two connections are dynamic. It would take some script to check if the Gateway switches to automatically put it without losing connection. Could you explain what would be the best script ... The two connections you are using are the same speed? For example if I have two connections of different speeds, I would use the pcc 2/0 and 2/1 or I must make the calculation to determine how many connections I want for each WAN .. I wait for your prompt response and apologize for my bad english.
@frostsmaker89667 жыл бұрын
As for if it's dynamic, you can use router to create static IP from dynamic IP, and then connect the router to routerboard (mikrotik). And for load balancing, there is no setting for the number of connections. It will automatically looking for different interface connection if the other one is full, or busy. Load balancing is like parallel in a battery set up. It give the same speed, but more stable without any problem, you can use 2 different ISP to provide the best stable connection.
@JankyVzla7 жыл бұрын
I have been applying a script to avoid using a router. But I would like to know what would be the best script if we have dynamic addresses (without router) ... My other question is: For example: I have two wan: one of 8MB and the other of 2MB .. I understand according to the video and your comment that they are only needed; Two rules of pcc; Is that correct? I have seen a calculation that applies to know exactly how many connections should be used to make an accurate balance: Example: 1 WAN1: 8MB WAN2: 2MB Total: 10MB It divides: the speed of WAN1 between the total of mb: 10mbps (for this example) and multiplies * 100 WAN1 = 8/10 = 0.80% * 100 = 80% WAN2 = 2/10 = 0.20% * 100 = 20% This means that 80% of the connections should go by the wan1 and the rest by the wan2 Then determine how many groups for each connection (multiply the group of connections that are desired between the number of connections that must go for each wan) must obtain a whole number WAN1 = 5 Conn * 80% = 4 WAN2 = 5 Conn * 20% = 1 Therefore it is determined that 4 rules must be obtained in the mangle for the wan1 and only 1 connection for the wan 2 It would be correct to do it this way ... Thanks for your comments ...
@frostsmaker89667 жыл бұрын
Yeah your welcome. If your WAN1 is 8 mbps, and WAN2 is 2 mbps this means your highest speed is 8 mbps, you didn't get the speed of 10 mbps but 8+2 mbps. you will get bandwidth equal to 10 mbps. You can set more than 2 wan on routerboard, so I don't think you should create rule in mangle for the number of connection as for it will automatically distribute a balance connection. I have a question : 1. I want to attach a web server (Local Server) for my wireless network in ether4 (IP : 192.168.144.2). 2. I want when they type : www.juicyjust.com, they will be directed to the intended IP (192.168.144.2). 3. How to make the user go to my website instead of other real site (global website)? I had did my research, but I'm not sure. This is the script : ======================================================= ip dns static> add name=www.juicyjust.com address=192.168.144.2 ======================================================= Will this work just with that? Please help me.
@frostsmaker89667 жыл бұрын
You can set a PCC rules for that, add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/2 action=mark-connection new-connection-mark=WAN2_conn passthrough=yes or something like that. ▼
@ghulamali27446 жыл бұрын
Hi brother
@billhickswasgreat34213 жыл бұрын
I frickin' love this channel!
@keshanwilliams82205 жыл бұрын
Can I load balance more than 2 WAN connections with a Mikrotik Router?
@matrix-path-of-neo3 жыл бұрын
yes
@challenger57757 жыл бұрын
very good and clear tutorial. More videos like 2 isp with 2 routers. for example first isp is connected to router1 and second isp is connected to router2. with load balancing and fail over effect. it is possible? thanks.
@TKSJa7 жыл бұрын
+Reden Dimaano This kind of setup would be redundant because you can achieve this by using 1 router
@MohammadZaherRezaie6 ай бұрын
if the IPs in wan ports are assigned statically how can we do load balance?
@vzmmmdov40453 жыл бұрын
Hi. I need WAN2 to only kick in when WAN1 is dead. Do you have that video please?
@vincekimcostales66582 жыл бұрын
It works on my requirement! Highly recommended! Thanks!
@matej_stepan3 жыл бұрын
Sir, thank you for this excellent video. What about, applying a bonding into this setup? Will it work? MultiWAN-MultiGW bonding. How can I ensure, that if one WAN drops, I'll not lose 50% of packets. Thank you.
@thulasidharansankaranaraya6392 жыл бұрын
I had done everything correct. Download is load balancing but upload flows in single WAN not on both
@paulturner94443 жыл бұрын
Also, when I turn off the add default route setting, I lose internet connection.
@maxit0x5 жыл бұрын
Hello. If my internet have a dinamic ip address i set add default route?
@technicalsupport82363 жыл бұрын
hello...can you tell me without unplugged wan cable only stop the wan services from behind that time can possible shift link one to other wan
@TKSJa3 жыл бұрын
You will need to setup recursive lookup on the route. I will do a video on it soon.
@xaymianho10 ай бұрын
Can you give me the configuration of this? When without unplug is wan bandwidth will work?
@DinuBercea5 жыл бұрын
Hi! My WAN 1 is connected directly to the ISP modem (with public fixed address), WAN2 a pppoe is passed through a router. When testing by disconecting wan1 it work ok, but when I disconect wan2 it has no dns. I tried to add isp1 dns to dns menu but it still do not work...
@denisvyatkin94422 жыл бұрын
Спасибо за инструкцию, все настроил, работает!
@karoldiestra87466 жыл бұрын
Thank you very much for everything, I would like to know if you could create a tutorial to separate traffic for 2 wan for example navigation by WAN 1 and games for WAN 2 since I have seen many tutorials and I am confused and nobody better than you to clarify everything
@tsikokwinda99404 жыл бұрын
can any one please offer a one on one session on this topic? i got the gist of it but just need more clarity on a few things.
@OscarHernandez-lm5jx2 жыл бұрын
hi. did you use ECMP i n this method ? thanks.
@amin-ko2yr Жыл бұрын
hi in 6:29 i cant finde invert on Mikrotik ver:7
@miroslavmk1986 Жыл бұрын
Which DNS settings to use and whether everything is the same if one WAN is a PPPoE client, and so ip route Gateway is set to dinamic ip, wil not work after cange client ip?
@TopFlightHighlights-z2g12 күн бұрын
Do a video on how to configure the L009 router
@raffaello3333 жыл бұрын
Hi there, is this how i can combine two different internet connections ? Can i combine also two internet connections from different providers ?
@TKSJa3 жыл бұрын
Sure
@Digos14 жыл бұрын
I use ether1 and ether6 so I need your help about the PER CONNECTION CLASSIFIER when adding MANGLES for BOTH ADDRESSES for ether1 i applied same config for Both addresses : 2 / 0 so, ether6 must be :2 / 1 or : 2 / 5 ?? Thanks for your answer please !
@lightbeam6783 Жыл бұрын
Thank you for the tutorial TKSJa!! Great video!! Please can you make a load balancing and failover on Mikrotik OS 7 . Like on OS 7 you cannot select invert on local connection when creating the mangle rules :(
@sncbd16 жыл бұрын
I want multiple connection to fail-over. In your configuration if any link goes down it will fail over but if the link is up but the ISP end has internet issue the connection does not failover. If you know how to fix this please help. Thanks in advance.
@DinuBercea5 жыл бұрын
Wonderful demonstration. But I have a bit different situation (router.os 6.43.8). I have already configured a connection using pppoe on ether1. How can I make ether2 a WAN port while no master port settings are available. Then should I use pppoe-out interface instead of WAN1(ether1) in load balancing configurations? (the second Internet has an fixed IP from ISP)
@TKSJa5 жыл бұрын
Load balancing and pppoe is a bit tricky. It's better to configure another router for load balancing only.
@ghmc3 жыл бұрын
Unfortunately does not work with and lte and eth interface. The eth interface will not connect outside
@AL6S007403 жыл бұрын
Hey can you do failover with the same subnet on both WAN ports ? and Without NAT ?
@firdousbahar4545 Жыл бұрын
Hello dear sir we live in Afghanistan and follow your KZbin ، my question is about Load balancing. I have three networks that are dynamic on the ISP rout، how can I combine these three DSL networks to match the speed of the internet. I mean when. we join these three networks the speed test of internet will show one speed test .
@Anavllama Жыл бұрын
What is the purpose of the two first rules................?? I dont see the value or use for them/
@kylepretorius96962 жыл бұрын
Good day, thank you for the tutorial however I see if i torrent the speeds are fine however if i open a webpage or try a speed test it suffers not sure if ive done something wrong. Also is it possible to create 4 WAN Links?
@nativebuilders20014 жыл бұрын
if same gateway ? i have set up of two links (from one isp) with same gateway and i want to merge both ?
@TKSJa4 жыл бұрын
The connections can't be merged, you can only balance the load between them.
@clao71837 жыл бұрын
Hello. This works perfectly! What changes do I have to do if I am to implement it on 3 WAN connections? Thank you!
@TKSJa7 жыл бұрын
Create an additional rule for WAN3 similar to one's created for WAN1. Also, the PCC should be changed to "per-connection-classifier=both-addresses:3/0, 3/1 and 3/2
@clao71837 жыл бұрын
Thank you very much for the quick reply! I have another question. What are the differences between the per-connection-classifier=both-addresses AND the both-addresses-and-ports? Which is better for failover and load balancing? Thank you again!
@clao71837 жыл бұрын
Also about unequal WAN Speed load balancing, How do I put more load on that WAN Interface. One of my WAN Link is 100Mbps and the other one is only 14Mbps. Thanks!
@rsan43683 жыл бұрын
May I know which brand of hap lite you're using? Thanks! Great video btw.
@JankyVzla7 жыл бұрын
You could do some video explaining, the best script to apply for dynamic gateways .. And the calculation that should be applied to determine how many connections should go for each WAN ... I would appreciate your help, your videos are incredible.
@swapnastudio3564 жыл бұрын
Need Dual Wan. Pppoe load balancing video.
@gpligor3 жыл бұрын
Another question: Could you achieve the same with Bonding the two Interfaces ? It seems simpler setup actually
@user-sc1mv5cy2b3 жыл бұрын
How do you bond two interfaces on the same router? I understand that bonding is on the router-to-router level
@increasedw3 жыл бұрын
For bonding to work shouldn't both wan interfaces be from the same ISP? Using two different ISPs is said to cause issues in bonding or am I wrong?
@prank-patrol2672 жыл бұрын
my router doesnt have the mater port option, what should i do
@mhndsh5 жыл бұрын
thanks.. But.. the mangle rule: add chain=prerouting in-interface=WAN1 connection-mark=no-mark action=mark-connection new-connection-mark=WAN1_conn is it "prerouting" or "input"? i found it input in other tutorials...??!!
@nabinsubedi39185 жыл бұрын
this means you are marking download connection from wan1 port.
@matrix-path-of-neo3 жыл бұрын
My WAN ip address changes everytime , so I can't use Dst. Address, so this doesn't work for me
@leiftismo27936 жыл бұрын
w0w, amazing tutorial. sir would it be possible to separate BROWSING and KZbin/VIDEOS like your previous tutorial in separate gaming and browsing(im not fond of gaming)
@ammirdesigning3 жыл бұрын
how to setup wifi on pcc ??? i want use pcc on my wifi . (most say take wan-out and wifi in one bridge , but i cant do that , actualy not work)
@JoseGarcia-xk1qf4 жыл бұрын
Thanks for the video, it helps a lot, but I have a question. You are tracking GW IP addresses in order to determine if they are up or down, but if GW is up and somewhere in the route to internet is down, lets say the ISP to internet is down, how can you track a farther address? Thanks
@hamzasultanzuberi35523 жыл бұрын
It's not tracking GW IP, it's marking them for packet handling inside the Microtik, the purpose is to allow for correct packet handling.
@collinvibess4175 ай бұрын
I would like some help with my mikrotik router can I get some help from you
@oleksiipylypchuk67464 жыл бұрын
Thank you! Looks like this is what I need! Please tell, what if I have gray IP from my ISP, and it could be changed every time I unplag and plag the cable ?
@TKSJa3 жыл бұрын
Yes
@oleksiipylypchuk67463 жыл бұрын
@@TKSJa what means "yes"? It will work?
@TKSJa3 жыл бұрын
@@oleksiipylypchuk6746 It can still work, just setup each interface in ip->dhcp-client and they will get a new address automatically.
@Kangreeman5 жыл бұрын
Thanks you very much. I follow every step and it works perfectly in a CCR1016-12G.
@kingsleyokafor80417 жыл бұрын
How can you configure the mikrotik router to perform failover without unplugging the WAN1 if it doesn't have connection to the internet so that the Router can automatically switch to WAN2 that has connection to the internet?
@MohamedcharafMonassir6 жыл бұрын
Hi Kingsley okafor did u get any answer for this question ?
@TKSJa6 жыл бұрын
I am going to look into this
@mansonchile843 жыл бұрын
muchas gracias funciona excelente. la wan1 la ocupo con starlink y la wan dos con una linea dedicada..
@amilcarjauregui10236 жыл бұрын
Thank you very Much!! Everything I know from RouterOS comes from your turotials and my network is running flawessly.
@GiorgosKapelonis5 жыл бұрын
Failover works if we unlpug one of the ethernet cables, but what happens if we will not unplug ethernet but the WAN/internet will fail due to ISP problem? Failover will not work... How to succeed failover when an ISP fails?
@junarellano71157 жыл бұрын
hello , is this kind of configuration also applicable for static setup?
@laszloperesztegi5 жыл бұрын
Yes, it works for static gateways too. Btw. its not elegant that he switches off the DHCP-client service, because in case the IP address of any gateway changes then his users will lose Internet and you have to visit the router on site.
@winstonscentraltechnology42387 жыл бұрын
Is it possible to add 2 wan and let specific devices pulls data from a specific wan at all times?
@saksaksinagoltv6 жыл бұрын
sir thank you for thisntutorial..i have a noob question...in this set up it also posible to bridge the wan??
@TKSJa6 жыл бұрын
No, it will not work.
@leiftismo27937 жыл бұрын
this Works perfectly on my MT, I just have another problem sir, i experienced it when 1 of my ISP where down but the router are still lit or connected to MT. it lags, i cannot browse the net unless i switch off or pull out the other modem..
@TKSJa6 жыл бұрын
Not sure this is happening, but based on my test it should fail over smoothly.
@dmsupport64234 жыл бұрын
Can U Share 1 public ip on 2 Line ....Without nat in Mikrotik
@rrmontiel3 жыл бұрын
Hi Sir, will this work on three (3) WANs?
@Anonymousinfatuation2 жыл бұрын
Thank you. I need a script of 6 WANs load balancing. Can you do that for me? From Pk
@forex-chart-analysis-daily4 жыл бұрын
i have 100mb and another 50mb plan when i do load balancing my client cant use proper internet always internet slow when i closed one wan port then internet is very fast how i can solve this problem
@rafmaits28312 жыл бұрын
my isp, are static? how can we add IP to dhcp client?
@ryanalipda6 жыл бұрын
Do you do remote setting sir?
@gabrielgonzalez89755 жыл бұрын
amazing, i really like your videos man, thanks a lot for your help now, i have a noob question, i'm running a hotspot server with accounts, user passwords, user profiles etc, on my 750rb, I have just one ISP now i will get another ISP, I can easily do the configs you did here and that's it? or do I need to do anything else?