MikroTik Tutorial 30 - Bonding & Load Balancing 2 x WAN ports
Ғылым және технология
Learn MikroTik RouterOs Tutorial Series (english)
In this tutorial, I will show you how to configure bonding on two WAN interfaces.
Website:
www.tksja.com
You will need any one of these Mikrotik routerboard router for this tutorial:
RB951Ui-2nD hAP
RB3011UIAS-RM
RB2011UiAS-2HnD-IN
RB750Gr2
hEX RB750Gr3
RB2011iLS-IN
CRS109-8G-1S-2HnD-IN
hAP lite
hAP ac lite tower
mAP lite
wAP
RB951Ui-2HnD
RB951G-2HnD
RB2011UiAS-2HnD-IN
RB941-2nD-TC
Пікірлер: 161
My brother awesome tutorials overall.. there's no in depth mikrotik tutorials like these..dont let no one tell you anyless.. VIva!!
was about to ask about the fail over question and i see somebody has asked the same question already. Well done Mr, you doing a great Job ..i love the way you conduct these tutorials....keep up the good job...
I have been setting up dual wan with policy based routing many times via ethernet. However, when I try this via wireless the second wireless station interface seems to find no network while I have confirmed it is ready and available. Is there a limitation for connecting to multiple APs?
good video. I think you should start the configuration with no default configuration so that way we can see the whole process and not half way thru
@TKSJa
7 жыл бұрын
I has done those configurations in previous tutorials. Here is a play list that will help bit.ly/2qHTz7u.
@mahamaga5886
Жыл бұрын
@@TKSJa .
Thanks for your videos. How would i bond a wan connection vlan on ether 1 & a normal wan connection on ether 2? The ether1 vlan is 10Mbps & the ether2 wan is 50mbps.
Which is best between load balancing and bonding? Do they both achieve the same result?
Hi TKSJa thanks for video WAN1 and WAN2 with DHCP client connection to Router, then What can i do?
hi , nice video in the new update in routerOS they remove the master port option , what should i do to follow your steps ?
Thank you for all your help. Very good tutorials. Is it better to use the CRS model as a router and then the switch chip for switching, or just boot up in switch-os instead?
very good one keep it up waiting for many more indepth less covered topics in your channel
@TKSJa
7 жыл бұрын
Thank you
hello may i ask whay would happen if i have 2 speed set on the 2 isp that i have ? and the higher one fail? can i manage my limit within the firewall ?
Hi does bonding WAN1 and 2 increase the bandwidth
Thanks for the help. I have one swtich cloud, for home use. I will set ether 1 and ether 2 to be WAN. But all the remain ports is on bridge with no master port. Is better use ether 3 for master port for all the remain ports? 4 to 24 with master port 3?
Sir can you give me a link of your tutorial about combining 2 isp in one like 500mbps+500mbps. The output will be on PPPoE. I'm currently using Rb4011. Thanks
Do you already did a IPv6 dual wan configuration, using 2 ISPs and assign 2 IPv6 to every client and balancing the traffic over it?
Well Done @TKSJa, I love your Jamaican accent. Big ups man!!!
@TKSJa
6 жыл бұрын
Thanks
please can you make one about VPN so I can join one or companies branches in one VPN?
Hi tried this tutorial but i have some issues,, after doing this configuration i have an intermittent connection.. I tried to disable WAN1 interface leaving the WAN2 interface enable and it works but if both interfaces are enabled the internet becomes intermittent . I notice that it does not automatically do its job. Any body who tried this tutorial enlighten please..
Thanks for the video. However I am confused. I have been watching videos on how to load balance across multiple wan links using PCC,mangle and default routes. With the bonding feature, is it still necessary to configure PCC and mangle? Which interface should we nat, wan1 & wan2 or the bonding?
That... is awesome. Thank you!
great content. very well put.
thank you for this tutorial
@TKSJa
6 жыл бұрын
You are welcome
I am using an RB951G running v6.41 and I do not see anything in the interfaces where allows me to select master port. Its just blank after the ARP TImeout? Also do you have a video starting from the beginning to get to where you are now?
@neurospam
6 жыл бұрын
Hello, the master port feature has been removed in this RouterOS version. Its functionality has been replaced by bridge setup unless I' m wrong.
great video, altought sound and video were offset by at least 1 minute, don't know if only on my side!!! Also, do you have a tutorial on how to setup 2 fixed wan ip on the same router and redirect different type of outound traffic and route the to separate ip, IE = private traffic go out to Wan-IP-A and public traffic go out to Wan-IP-B (Wifi Separation admin/public)
nice tutorial. But if it is not dhcp then what will be ?? pls share another video for static LAN. Thanks.
First of all I appreciate our tutorials , Can we use the DHCP modem?
Can you bond a wireless connection in different location? Or bonding different LTE(wifi provider)? Thanks
hello that's useful thank you , but the Master Port Option is not available on my winbox ? what shall i do ?thans
You are gerat! Can you pleas, make video how to make load balancing (backup link) with 2 WANs, one with static IP and one with Dynamic IP from PPPoE connection?
hi Tksja.. with this Tutorial 30.. is this also a failover? if WAN1 or WAN2 dies.. will all the internet traffic route goes to the one that is left working?
@TKSJa
6 жыл бұрын
yes
Does it means if I have to different ISP I can bound them together and get my speed doubled?
@LibertyBwanali
4 жыл бұрын
Sergey Romanov Yes
@NoBodysGamer
4 жыл бұрын
No, you need different guide
@NoBodysGamer
4 жыл бұрын
@@LibertyBwanali This guide wont combine two separate ISP connections, its just link aggregation to single modem, to combine 2 ISPs, you need Guide #36 kzread.info/dash/bejne/eZmp17B-Y6i2cqQ.html
@abulhasnattanim6862
4 жыл бұрын
No Its just Interface Bonding
Will the same method work on more than 2 connections?
Amazing - Simple - OWWW !!!
This 1 is awesome
So you're saying if I add 2/100Mbps connections to my HAP lite I should be about to get both speed but would that be on both wifi and lan or only wifi since the lan is only a 100Mbps?
@TKSJa
7 жыл бұрын
If you plan to use 2 x 100Mbps connections then you will need a router with Gigabit ports or 802.11n/ac wireless.
@winstonscentraltechnology4238
7 жыл бұрын
TKSJa thanks I'll get a better mikrotik soon
I really like the way you teach....keep it up man
I will config mikrotik router RB20011 series. I not port testing in two window same time . Do you have solution please replay me I wating
I did not try it yet but will this system work as fail over too?
@LibertyBwanali
4 жыл бұрын
GabakUSA Free computer training it should yea
Can you help with load balancing script for 7.6 os, using mikrotik cheatute LTE and two wan
can we use the same bonding setup for 4G LTE modems..? Is it possible to bond two 4G LTE Modems connected to mikrotik via wifi ?
I have been following your excellent tutorials and am now stuck. I tried to follow as best as I can this video number 30 on Bonding but on RouterOS 6.49.2 the windows are different. I thought I had set it up correctly and I appear to get a balanced load on the 2 WAN interfaces but my computer now cannot connect to the internet and is not getting an IP address from the pool. Could this be due to the fact that on a RB4011 I am using the SFP+ with DAC to Computer running an IBM dual Fibre interface. Using ethernet 1 and 6 tbonded o connect to my Modem/Router.
@rayfox6170
2 жыл бұрын
Solved address problem. For some reason the Bridge address was deleted. That leaves the windows being different.
Is there a posibility to bound LTE connection on routerboard RB433?
to which ports are the modems with bandwidth are connected
suggest me how to delete history of ("system->users->active users") after winbox logout also history stored in "active users" tab with name, date, from IP via winbox .... so suggest me how to clear those history from "ACTIVE USERS" tab..... Thank you
@TKSJa
6 жыл бұрын
You can't delete it.
I have one Interface with STATIC IPs and the other is PPPoE ? How to bond both of them ?
@TKSJa
6 жыл бұрын
Try this kzread.info/dash/bejne/eZmp17B-Y6i2cqQ.html and change the interfaces. Let me know if works.
Hello, do you have dhcp on both mikrotik wan routers?
@TKSJa
6 жыл бұрын
yes
Please I have 1 pppoe link of 10m and 1 static IP wan link with 10m I want to combine them for 20m can you help.
Great work. Can you prepare tutorial how to bond LTE with WAN?
@TKSJa
6 жыл бұрын
You will have to do this MikroTik Tutorial 36 - Load balancing and failover with multiple gateways (2 WAN Links) kzread.info/dash/bejne/eZmp17B-Y6i2cqQ.html
@jibreelshamsudeen74
3 жыл бұрын
@@TKSJa Thanks a lot brother for the great work. I will like to know.Does mikrotik have any LTE bonding Technology. I mean via 2 difference SIM Cards?
Great vídeo, but when you're receiving 2 links by PPPoE? I've noted you have made changes to the DHCP Client interface.
does bonding also apply to pppoe interfaces ? and aggregates the connections speed of each ppoe ?
@TKSJa
7 жыл бұрын
It should work, just change the interface from WAN to the new bonding interface.
@abulhasnattanim6862
4 жыл бұрын
You can't add a pppoe out interface into interface bonding. You have to use load balance for your case.
Could you post the firewall rules for the bonding? I cannot get it to actually aggregate the to WAN connections. Amazing work on your channel.
@TKSJa
6 жыл бұрын
Sorry, I don't have the script. You will be ok if you follow the video carefully.
@reshadrei1788
4 жыл бұрын
@@TKSJa can you make another video about this that start from scratch
Can you add also wlan to bridge ?
Hi. Thanks for this very informative video. May I know if this will work with isp failovers?
@Dave-pk1hs
3 жыл бұрын
Hi TKS. Will you pls answer this question?
First of all I appreciate our tutorials, am growing inlove with mikrotik through this tutorialds Is it possible to do bonding 2 wan interface in CRS326-24G-2s+RM?
@abulhasnattanim6862
4 жыл бұрын
I think yes you can
Hey guys where does the IP address on the bonding interface come from?
You ran the test w/UDP. Almost all internet traffic is TCP, and TCP is connection-oriented... whereas UDP is not. What results do you get if you use TCP, and also select an IP that is not the router... some IP that is outside the network of both providers?
@TKSJa
6 жыл бұрын
I understand your point, because udp doesn't have the overheads as tcp it shows that the maximum speed that you can get from the bonded connection. To my knowledge this speed test can only be used with Mikrotik devices.
Hi there, Can I do a bonding between 1 Static and 1 Dynamic WAN?
@TKSJa
6 жыл бұрын
No, because you have to put the IP address on the new bonded interface.
@sahriar
6 жыл бұрын
Thanks for your reply.
sir is this bonding support autofail over also, when one connection fail?
@anthonyluares377
4 жыл бұрын
yes
@jeanmitcheljarresanluis6096
3 жыл бұрын
that's also my quistion. hehehe
I tried this but my only 1 way traffic was bonded. I have two links of 60Mbps and only the upload speed got 120Mbps. My download is still at 60Mbps
Say wan1 is 50mbps and wan2 is 5mbps. Can we combine so it's 55mbps?
@abulhasnattanim6862
4 жыл бұрын
no You need a Load Balancing for Combine multiple isp.
question, wan 1 and wan 2 have the same gateway?
@TKSJa
5 жыл бұрын
Yes, because it is just bonding the connections. If you have a 200mbps internet and your router ports are 100mbps you won't be able to get the full speed of you internet connection.
Hi! Many thanks for the video. However executing the steps it seems there is a big problem with the IP addresses. When asking Bonding to get the IP address using the DHCP client it will get it by which interface ? Ether1 or Ether2 ? Because if it gets it from Ether1 and later you disconnect Ether1 and you expect it to work from Ether2 right ? Well in reality the DHCP client needs to release and renew in order to work. How to solve this problem ? Need to change configuration on which devices ? Do you have a hint ?
@aliraad9958
2 жыл бұрын
Exactly 😂😂
Can I request for a video on how to configure a separate WAN and LAN connection (WAN1LAN1 and WAN2LAN2) with DHCP
@TKSJa
6 жыл бұрын
Added to my list
@richardayuyang632
6 жыл бұрын
Thanks! I look forward to it.
sir why you did Ethernet 3 make bridge??
im using rb941ui but i didnt have an option for masterport mine in only from name: down to ARP Time out
@tech-kyle
5 жыл бұрын
You'd just need to remove the interfaces from the bridge.
Why there is no IP address in WAN2?
thanks
@TKSJa
7 жыл бұрын
You are welcome
Hi, is this video damaged/corrupt ? seems the audio and video is mismatched
i have followed your instructions. please i want to know if i need to purchase any license before i can start using mikrotik. i have connected my 2 wans to the mikrotik. everything seems to be working but i cannot connect to the internet though there is the indication that my internet is connected.wan1. 192.168.1.1 wan2 192.168.2.1. lan . 192.168.3.1... its all working when i ping. failover is also working but the internet is not working.
@TKSJa
6 жыл бұрын
All Mikrotik devices comes with a license. I am not sure what is causing the problem but you could check out this video kzread.info/dash/bejne/eZmp17B-Y6i2cqQ.html
@MrRaspopo
6 жыл бұрын
thanks alot for responding. please my challenge is that after bonding on both mikrotik routers, how to configure dhcp using bonding interface is a problem for me. lets say ip address for bonding on router 1 is 192.168.0.1 and router 2 is 192.168.0.2.. do i have to use the same gateway for my bonding and how do i configure routing for the bonding?
Is this config is better than Pcc?
what is the gateway ip of the mt
hi my friend why doesn't seem WAN2 the dhcp client ?
@LibertyBwanali
4 жыл бұрын
hakan genc You won’t need DHCP client if you have static and also PPPoE- enduser clients however on their APs when they dial the PPPoe skipping DHCP client as the network will give one IP upon PPPoE client activation. DHCP server will give IPs to the users on the end user side
I have two internet companies and am trying to set things up so I never lose connectivity... I think I need to start at the very beginning... I own the mikrotik rb2011UiAS-2HnD-IN. One of the companies is faster but less stable than the other. I'm watching this because I think this might be what I want to do, but see I don't even know where to plug what into where. I have two wireless routers/modems here now and when we lose one connection we manually connect to the other one and this is not great when my husband is teaching online as he has to do now. I also own the araknis AN-310-RT-4L2W if that is better... I got both planning to return one. I too would like my ping and jitter to be more stable.
@TKSJa
3 жыл бұрын
Try this kzread.info/dash/bejne/eZmp17B-Y6i2cqQ.html
Hello can I do a bonding between 2 PPPoE WAN connection ?
@ertugrulusta3135
6 жыл бұрын
?
@sumeetrajpal2369
6 жыл бұрын
?????
@rexsovell.melgar2481
4 жыл бұрын
yes
isp one and line 2 how to make a lacp network in mikrotik router
balance rr - round robin scheme
Will this work for failover too? Please give a reply.
@TKSJa
7 жыл бұрын
Yes it will, but with a single gateway. I will be doing a video on bonding for multiple different ISPs.
@frostsmaker8966
7 жыл бұрын
I'll wait your video, also please give a little explanation about failover configuration and load balancing configuration on different ISPs.
@TKSJa
7 жыл бұрын
Here is the video Load balancing over multiple gateways kzread.info/dash/bejne/eZmp17B-Y6i2cqQ.html
in the testing you are doing you are getting lost packets, why?
@TKSJa
7 жыл бұрын
It was a UDP test that doesn't have error check., TCP would be more reliable but slower.
@gabakusa
7 жыл бұрын
I tried to follow your tutorial and it does not work properly with my config. I would like if you can make a basic config from scratch with the barer minimum to provide internet with dual balance. thank you in advance
@TKSJa
7 жыл бұрын
Noted
@TKSJa
7 жыл бұрын
Here is the video Load balancing over multiple gateways kzread.info/dash/bejne/eZmp17B-Y6i2cqQ.html
can i bond different ISP?
@TKSJa
7 жыл бұрын
No, this configuration is for a single gateway. I will be doing another tutorial using multiple gateways.
@TKSJa
7 жыл бұрын
Here is the video Load balancing over multiple gateways kzread.info/dash/bejne/eZmp17B-Y6i2cqQ.html
@rightclick2205
7 жыл бұрын
tnx a lot sir...
Nice
I'm a little bit confuse! You mean i have to do first the Tutorial 36 and then do this Tutorial 30?
@TKSJa
4 жыл бұрын
No, the usage are different. Tutorial 30 (bonding) is for your internal network router to modem to increase throughput. While Tutorial 36 is load balancing for internet traffic.
How to use squid cache with it
@TKSJa
6 жыл бұрын
Proxies are becoming redundant since most of the internet traffic now a days is video and browsing is using https which is not easily cached.
Please I what is NATTING?
@TKSJa
7 жыл бұрын
Translate internal network address to an external address. bit.ly/2su26eQ
This video is misleading. That would never work when using WAN facing interfaces in real lifr. All he did is a port bonding not wan loadbalancing. Usually connectivity to isp is l3 with multiple ips not l2.
@ayadalhilo
4 жыл бұрын
Correct! He is using the term "load balancing" to refer to IntrAnet environment rather than Internet environment (ISP load balancing). This video should have got a more specific title. However, this video is very useful to me and I thank the author for his effort, and for this piece of technical info that I haven't known before.
@DiegoSayron
4 жыл бұрын
Why don't you post your suggestion? It will be great.
I must admit that I have not assemble the courage to experiment at the WAN level. I want to get my feet a little wet before proceeding. That said... I would like to configure a NAS setup for dual connection in 802.3ad mode, I think. I have tried several tests and multiple experiments, but alas no success. I can't seem to understand what I'm missing - though I expect that it maybe something obvious. Do you plan on future tutorial of this nature? *crosses fingers* Cheers
@TKSJa
3 жыл бұрын
wiki.mikrotik.com/wiki/Manual:Interface/Bonding
the sound of video is messed up. please fix it.
i reset mikrotik now i have 2 connection 192.168.1.1###192.168.2.1 like that lan ip is 192.168.0.1 i need to set a total setting from starting to end 2 wan ports loadblancing need please make full video total setting of mikrotik 2 wan if you created scripts then please i need that scripts is ssoo easy way
@TKSJa
7 жыл бұрын
Video: kzread.info/dash/bejne/eZmp17B-Y6i2cqQ.html Script: tksja.com/load-balancing-over-multiple-gateways/
@MajbourGaming
7 жыл бұрын
TKSJa bro addresses script and ppoe setup or dhcp setup or hotspot setup 3 option scripts also u need to add this or make new video means that addresses is important or ppoe server is also important to access internet and i need to say 1 thing please when you end videos show speed of Internet like speedtest.net or idm download some thing to see the viewers it is works 100% idm is best i think 😁😁
you are my youtube school
Your Haplite is literally gasping for breath.
@TKSJa
3 жыл бұрын
😂
Good day TKSJa infact am having problem setting up port forwarding on my dahua IP camera which I connected to my mikrotik router , pls I want you to help me out, here is my email account if necessary forward the process to me , I will appreciate sir
Yardman
I completely can not understand for what you get such good comments. This video have no sense at all. What you saing has no connection with what you doing. It is beyond comprehension.
@KindkompPl
2 жыл бұрын
Ok, after few minutes it seems that the video and audio are shifted by 1 minute. Still I can't understand how someone who wached it can write a positive feedback not mentioning such error.