Getting Started: MikroTik VLAN Configuration

This video is aimed at teaching new users to MikroTik how to configure VLANs on RouterOS. This is NOT required for the MTCNA, however this is a REQUIRED skill for any network engineer/administrator in their day-to-day life.
Feel free to use the timestamps to skip to any specific section you are interested in.
EVE-NG Setup:
kzread.info/dash/bejne/p3l8lauHYZWfZc4.html
VLAN Explanation:
kzread.info/dash/bejne/m41putWrd6mXgJM.html
Timestamps:
00:00 - Intro
01:57 - Configuring VLANs for a SOHO
10:23 - Configuring VLANs between MikroTiks
Credits:
Intro Music: Ringtail - Waking Up
kzread.info/dash/bejne/hICWuchwYNCsiJc.html
Thumbnail: Created on Canva
Let's connect on Social Media!
🌏 thenetworkberg.com 🌏
🌏 www.linkedin.com/company/thenetworkberg 🌏
🌏 bergnetwork 🌏
🌏 The-Network-Berg-394513498062892/ 🌏
Thanks again for watching

Пікірлер: 99

  • @adrianmego1
    @adrianmego13 жыл бұрын

    Great to see you're back at making content, and I'm also interested in the relationship between VLAN's and bridges, so I'll wait for that video. Thanks again

  • @blindside995
    @blindside9953 жыл бұрын

    You keep knocking it out of the park with quality content covering Mikrotik.

  • @tobyweston-author9034
    @tobyweston-author90342 жыл бұрын

    Super clear and simple to understand! Many thanks!

  • @SaiyanParmos
    @SaiyanParmos3 жыл бұрын

    Thank you so much for posting this video. I understand Vlans but couldn't see how to set them up.

  • @ashleygraemetari523
    @ashleygraemetari5233 жыл бұрын

    Again another great and informative video on VLANs. Thanks!

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Glad you like them!

  • @DaveFamalam
    @DaveFamalam2 жыл бұрын

    Thanks for this great intro - much appreciated!

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    You're very welcome!

  • @darkooooSRB
    @darkooooSRB3 жыл бұрын

    One more great video about networking. Best regards.

  • @rsporsche
    @rsporsche2 жыл бұрын

    Just picked up an RB5009 for my home network, it's a steep learning curve! Ultimately I want to set up a VLAN connection between my VDSL modem and the router for WAN, since the physical interface connecting them is shared by one of my APs, this was helpful.

  • @zl0y
    @zl0y2 жыл бұрын

    I'm glad to see you! Thanks for the new knowledge! but I have a question about vlan!

  • @asong26
    @asong263 жыл бұрын

    Thank you for the great video!

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Glad you liked it!

  • @renaissongsmann8889
    @renaissongsmann88892 жыл бұрын

    Nicely done, sir!

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    Thank you kindly!

  • @kmsbismarck9600
    @kmsbismarck96002 жыл бұрын

    very good video! i am watching the entire playlist and practicing everytime!

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    Awesome. glad that these playlists are helping you. Keep up the practice!

  • @kmsbismarck9600

    @kmsbismarck9600

    2 жыл бұрын

    @@TheNetworkBerg do you have a video explaining bgp? If not i suggest doing a video on it and then setting up an IXP :)

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    @@kmsbismarck9600 I actually have multiple BGP videos some of which I have emulated peering at an IXP during our live streams :) I think one of my coolest videos where I show you have to create VPLS tunnels that are signaled via BGP.

  • @predragsinko2513
    @predragsinko25133 жыл бұрын

    Great job. Thank you.

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Thanks for watching!

  • @andrewholmes8570
    @andrewholmes8570 Жыл бұрын

    You should always "talk about Cisco when showcasing MikroTik". It's important to see how different brands interact in a production ecosystem. It's been the exception rather than the rule (in my experience) to have a company only use one brand. It's usually something along the lines of MikroTik Routers, Cisco Switches, and Ruckus/Ubiquiti/Juniper access points all in the same building.

  • @avihskshetrii

    @avihskshetrii

    Жыл бұрын

    Would be Great for a scenario-based

  • @DecouvrirLaTechnologie
    @DecouvrirLaTechnologie2 жыл бұрын

    Thank you so much for the help. I was trying to get this done with a Aruba Switch for a while but didn't find the time. Now its seems to be pulling the proper Ip adress from DHCP. thanks again

  • @Red1Wollip
    @Red1Wollip3 жыл бұрын

    Being fairly new to Mikrotik I am impressed by your pleasant presentation to teaching Mikrotik Setup

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Thank you Dennis!

  • @uknowimmad
    @uknowimmad3 жыл бұрын

    explained nicely. I have two DSL connections which i want to send over a single wireless link and segregate at the receiving end. How can i achieve this using two RB450s which i have.? I somehow got the idea from your video that i need to create two VLANs for the two connections but how do i create a trunk port to carry both those VLANs on mikrotik ??? Please guide me. thanks

  • @eldanielo0001
    @eldanielo00013 жыл бұрын

    Thank you for the helpful videos! Tomorrow I'll be doing my first VLAN deployment with Mikrotik RB4011 and CRS switches. It would be interesting if you could add an explanation about the /bridge interface vlans. It has been quite tricky for confusing for me.

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Glad it was helpful! I definitely have a planned video on Bridges which I will be working on putting on the channel as part of this "Getting Started:" series :)

  • @Dreamwoodinternational
    @Dreamwoodinternational3 жыл бұрын

    Really appreciate your excellent content on things Mikrotik. I have the Mikrotik RB4011 and CRS328 and wish to set up multiple VLANs. After watching so many videos and reading so many forums etc, I am still not sure whether it's best to create the VLANs on the switch or router (as both have RouterOS) - my gut tells me the switch, with the router 'just' doing Firewall and interVLAN routing as required. Appreciate your thoughts. Many thanks.

  • @grumpazoid
    @grumpazoid3 жыл бұрын

    Thanks you for this very nice explanation. You are quite correct, having completed MTCNA, there is no VLAN info included. I wish to extend my WIFI that is set up with different SSID/subnets for different users. - using another Mikrotik device. I think VLAN is the "approved" way to do this. I am also using bridges for each network so I am guessing you can add a newly created VLAN interface to the bridge??

  • @pieceworkstudios
    @pieceworkstudios Жыл бұрын

    Hi, you're videos are very well done. I know this is an older one but I have a MikroTik Cloud Router/Switch that I want to have act as a pass through distro switch, as in- it accepts two LAN inputs from my Cisco MX firewall, and will pass data from those two LANS onto the respective ports going to my access switches say top row is vlan 100 and bottom row is 200 etc. but without running DHCP since the firewall is handling it. It seems it has to be set up to divy out DHCP but I'm hoping I'm just missing something. I would just plug the access switches directly into the MX but there aren't enough ports. Would you point me to a video that explains that if it is possible? Thx in advance

  • @samwanjala5562
    @samwanjala55623 жыл бұрын

    great content. Which software are you using for the simulation? kindly

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Hi Sam, thank you for the kind words! I make use of EVE-NG for all my labbing :)

  • @nadiralazzabi5858
    @nadiralazzabi58583 жыл бұрын

    Im keep asking myself same question with trying and keep trying to acheive it . How to make egrees traffic for specific port untagged and same as ingrees to become tagged in bridged vlan ??

  • @makeitcloudy
    @makeitcloudy3 жыл бұрын

    Thank you for your great work, which you bring to us with your channel. In case you have time and would like one day to prepare a lab, where you have ccr as a router, and crs3XX series with router OS on it which plays as a L2 device, and distribute vlans, to hypotetical hypervisors, that would be a great help, as they slightly differs within it's configuration between series of CRS1XX, CRS2XX and 3XX, which is quite confusing to grasp for a begginer like me. Thx again !

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    I would actually love to do that, but I do not see any images from MikroTik that I can download as a virtual switch to play with. I may reach out to them directly to ask if this is something we can do on a virtual level so that I can properly go into VLANs on L2 from MikroTik devices.

  • @makeitcloudy

    @makeitcloudy

    3 жыл бұрын

    @@TheNetworkBerg Does it mean that tile and arm version of the router os, differs by the prism of the syntax and gui between the x86 (used on EVE-NG which seems to be router board based) ? If this is the case, then indeed I fully understand the challenge. Maybe mikrotik can help there for a scenario, unless I figure this out as non network SME and share it here or there ;)

  • @makeitcloudy

    @makeitcloudy

    3 жыл бұрын

    have managed setting up the setup, it was not that easy for a newcomer like me, was cutting myself off from the CRS few times, but serial did it's trick, one of the most important things to pay attention to, it to add tagged management vlan on the bridge besides the bond interface on the CRS3XX, as bridge has the contact with the CPU, where the other vlans which you pass as L2, as per my understanding will be terminated on the switch chip. This link wiki.mikrotik.com/wiki/Manual:CRS3xx_VLANs_with_Bonds was very helpfull to end up with DHCP being spread across access ports, and mgmt VLAN still accessible. Thx for your videos, I've learned a lot from them as well.

  • @BostjanCadej
    @BostjanCadej3 жыл бұрын

    Thank you for great videos. I have a question: how do you separate wireless devices with VLANs?

  • @irfankhalifa5647

    @irfankhalifa5647

    3 жыл бұрын

    Set a VLAN tag on an SSID?

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Hi, As Irfan said you will just create the VLAN tag under the WLAN interface and associate that with an SSID (So if people connect to GUEST) it might be a different VLAN.

  • @BostjanCadej

    @BostjanCadej

    3 жыл бұрын

    @@TheNetworkBerg If you have just 2 VLANs that is ok. When you have much more VLANs, you get degredation in wireless performance if you have a lot of SSIDs. :(

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    @@BostjanCadej That is true, though different hardware, channels, etc can help with adding a few more VLANs, I typically see 3 VLANs that sites want to use, one being an extension of the LAN on the WLAN, a Guest network and then something for the Mobile devices that users bring.

  • @aaroncorbin4641
    @aaroncorbin46412 жыл бұрын

    Great Video! Thank you for this. I don't suppose you have managed to get QinQ working at all on ROS?

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    I use QnQ quite a lot in my own networks, here's a recent video from the MTCRE course that I am busy making, be sure to check it out as I am uploading new videos to the playlist nearly every other day. kzread.info/dash/bejne/hnV7ucGRc9SpltY.html

  • @premvinod1919
    @premvinod19192 жыл бұрын

    Could we use any mikrotik switch as olt like fiber optical pon power out ?

  • 3 жыл бұрын

    Hi, thanks for the great video. I installed EVE NG so I could test my own network, where I have two Mikrotics. It's similar to what you say at the end of the video. I can assign an IP (but only to Ethernet, VLAN somehow not work). I can pinknut on the IP, but I can't open the 2nd router in Winbox. It is no longer in the video whether you can open it. Can you please tell me where the mistake is?

  • @kartovo

    @kartovo

    2 жыл бұрын

    Cau Jirko, did you solve this out pls ?

  • 2 жыл бұрын

    @@kartovo no :-(

  • @Hanesy
    @Hanesy3 жыл бұрын

    amazing explanation

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Glad you think so!

  • @Hanesy

    @Hanesy

    3 жыл бұрын

    @@TheNetworkBerg looking forward for more videos. 😁👌

  • @Hanesy

    @Hanesy

    3 жыл бұрын

    @@TheNetworkBerg I have a question. VLAN is on the same interface right? now, is it neccessary to have put static ip on client pc?

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    @@Hanesy you can run a DHCP server on a specific VLAN, this will allow machines on the same VLAN to receive IPs from the DHCP server, so you do not have to add a static IP to make things work, but adding a static IP will definitely make things work as well.

  • @Hanesy

    @Hanesy

    3 жыл бұрын

    @@TheNetworkBerg oh I see.. I get it now. I will try it. Thank you very much. :)

  • @universalgenius1
    @universalgenius13 жыл бұрын

    How will it translate from vlan10 to vlan 1189

  • @romanmikhalev3518
    @romanmikhalev35183 жыл бұрын

    Hi Berg, can you explain a little bit about PIM and IGMP protocol on mikrotik routers and how it's working?

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Hi Roman, will definitely see if a video can be made regarding IGMP on MikroTik. Though this will more than likely only be after I finish this series"Getting Started" to help out new people to MikroTik in general.

  • @romanmikhalev3518

    @romanmikhalev3518

    3 жыл бұрын

    @@TheNetworkBerg it would be great!!!

  • @isaiahcass5888
    @isaiahcass58883 жыл бұрын

    what is that tool you are using to virtually set all of this up? I would love something like this to practice on.

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Hi, the tool is called EVE-NG, I have a video on how to set this up as well as other videos on the channel explaining it in more detail and how to configure labs and import appliances :) kzread.info/dash/bejne/p3l8lauHYZWfZc4.html

  • @ldavader2704
    @ldavader2704 Жыл бұрын

    Hi Network Berg, I'm trying to autodiscover my network wired printer from a different vlan and subnet. My printer that is on a specific vlan, this isn't bridged and is assigned on a specific interface and I'm trying to find it over a wireless connection provided by the same Mikrotik (has its own antennas). From what I've seen, multicast packets don't go through, even activating igmp proxy. I'm aware they are different broadcasts domains, but is there any way of acheiving this? I have also taken into account that multicast TTL is 1 and have attempted to increase it with a mangle rule. Note: between both nets there is a firewall general accept. No traffic is filtered. The printer can be manually added by ip.

  • @bakareoluwatobitimothy6841
    @bakareoluwatobitimothy68413 жыл бұрын

    Really like your video, liked and subbed... However, i will really appreciate it if you can answer how to convert or make an incoming LAN (eg; 192.168.1.20/24 without a VLAN ID) to a VLAN and add it to your trunk in mikrotik. The way of doing it in cisco seems easier and clear but not in mikrotik. Thanks for your swift and concise response and God bless.

  • @jasonwright3754
    @jasonwright37543 жыл бұрын

    What was that Cisco network topology tool you are using?

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Hi Jason, I am not making use of any Cisco network topology tool. I am using a network emulator called EVE-NG which is basically a VM that houses all the network images I am using and creates "real" routers in virtual space. Really fun and great place to learn concepts without having to buy actual hardware or be afraid of breaking anything in the lab :D!

  • @TanKianW79
    @TanKianW792 жыл бұрын

    You can do the VLAN using the bridge interface too. I normally use the interface functions when I want to rename the interface or bond the interface.

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    Yeah that's true, there's actually 3 ways to do VLANs, either via virtual interface, bridge or even the switch chip. Although you can really only do stuff like QnQ with the virtual interfaces. But they all have their uses :)

  • @ramsamba59
    @ramsamba592 ай бұрын

    Can you zoom in on the WinBox and other graphics? In a few videos of yours you keep them at such a small size that it is really so difficult to make out. It really would make a lot of difference. In any case, thanks for putting out these videos.

  • @TheNetworkBerg

    @TheNetworkBerg

    2 ай бұрын

    Hi Ram, Thank you for your suggestion, this is one of my first and older videos. I suggest maybe taking a look at some of my newer ones :) If you are looking specifically to get more information about VLANs I would actually suggest the following two videos: MTCRE VLAN configuration: kzread.info/dash/bejne/ZnaDu9Othpezc7w.htmlsi=4ri729Zox5n_VMlC Configuring a bridge to manage VLANs: kzread.info/dash/bejne/Zo5nlNGIgNSpocY.htmlsi=1kIalXHix19MqfY4 Thanks for watching

  • @itzdarshh
    @itzdarshh3 жыл бұрын

    Can someone from your team help me to create Vlan in my existing mikrotik? I will give you network diagram and I need it badly.

  • @element1064
    @element10642 жыл бұрын

    hi, is there an application for Mikrotik to learn like we do for Cisco on Packet tracer and build networks?

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    You can download EVE-NG or GNS3 and build real virtual topologies to learn with like I do in my videos. I have a playlist that you can follow to install EVE-NG and import CHRs (MikroTiks) to lab with kzread.info/head/PLJ7SGFemsLl1ZSsdcdYqeCFDM71dz97XS

  • @ilar10N
    @ilar10N3 жыл бұрын

    please post about MTU and MSS

  • @absurtwawwaw1038
    @absurtwawwaw1038 Жыл бұрын

    how to use 2 port VLAN Trunk port?

  • @vasjabatareikin6016
    @vasjabatareikin60163 жыл бұрын

    What platform is use for lab setup ? Is this GNS3 ?

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    No this emulator is called EVE-NG, there is a link in the description on how to install it if you are interested.

  • @jawharomeryaba8696
    @jawharomeryaba86962 жыл бұрын

    what is the name of this sofware (Web GUI) you are using ?

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    EVE-NG, it's a VM that I run to create virtual topologies

  • @weinosby
    @weinosby3 жыл бұрын

    can i use ordinary switch to work for vlans?

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Hello, you will first have to see if the switch you are working on supports VLANs or "Dot1Q" most switches these days run it by default, however, you do have stuff like dumb unmanaged switches that are made to just run on VLAN1 and not have anything else configured on it. So check first if your switch supports VLANs then you can add them.

  • @michaelgronlund1854
    @michaelgronlund18548 ай бұрын

    In regards to radio,... They would be the equivalent of CB Sidebands.

  • @goranskoc4152
    @goranskoc41522 жыл бұрын

    so placing more vlans on a single physical interface behaves like a subinterface (int gi0/0.10) on a cisco rtr

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    Indeed, it works very similar to that.

  • @goranskoc4152

    @goranskoc4152

    2 жыл бұрын

    @@TheNetworkBerg got it! I have one more question pls.. on rb2011, how can i create a normal vlan for 3 access points and give it an ip address as gateway for those access points (on cisco it would be: int vlan 10, ip address x.x.x.x x.x.x.x, exit, int range gi0/1 - gi0/3, sw mode acc, sw access vlan 10) so it would be routable between other vlans and internet?

  • @serhiih.7055
    @serhiih.70552 жыл бұрын

    But this implementation of VLANs means using software capabilities of Router OS, not the hardware? There is another way to do it via bridges with VLAN filtering enabled, but now I'm quite confused

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    Some people tend to become confused when it comes to MikroTik and VLANs due to there being 3 ways of implementing VLANs. 1) Software defined (SVIs) 2) Bridges 3) Hardware defined via Switch Chip I preferentially use software defined VLANs as I mostly work on MikroTik routers and not switches, this is also the only way you can implement things such as QnQ (802.1ad)

  • @serhiih.7055

    @serhiih.7055

    2 жыл бұрын

    @@TheNetworkBerg thanks for response

  • @user-dc3fv9wc9x
    @user-dc3fv9wc9x3 жыл бұрын

    Hi , why we use /30 subnetting in mikrotik ?

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    Hi, subnets used depends on the requirement of services you want to deliver. If you are delivering a point-to-point service then /31 or /30 is preferred unless you bring in multiple devices to do stuff like VRRP then you will need a /29. If you are planning networks for your customers then you can whatever size subnet will allow for all current devices plus at least a 15% for possible growth. Most people just use /24 by default as this is very easy to setup and understand the IP scope.

  • @user-dc3fv9wc9x

    @user-dc3fv9wc9x

    3 жыл бұрын

    @@TheNetworkBerg Thanks for the clarification , i work for an internet company , and there are main RouterBoard (CCR) and sub RouterBoard that works as a switch , ok ! i noticed that the RB switches it has ip and who subnet /30 . can you explain that , please ?

  • @user-dc3fv9wc9x

    @user-dc3fv9wc9x

    3 жыл бұрын

    example 192.168.177.14/30 - address 192.168.177.12/30 - network

  • @pavelsnestjorkins6990
    @pavelsnestjorkins69902 жыл бұрын

    Can i run vlan on bridge ?

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    Yes, you can either add VLAN interfaces to the bridge or enable vlan filtering on the bridge settings and tag/untag vlans from there.

  • @Markus_Meldekopf
    @Markus_Meldekopf2 жыл бұрын

    Hi Johnny van den Berg. In this video you show a software EVE (minute 2.51) with various MikroTik devices. How does that work? Have you also made a video? Is there a real RouteOS from Mikrotik behind the icons in the software? Can you insert and configure any number of MicroTik devices? I know a lot of questions, but you do it so well. I have now gone through almost all the videos. Thank you. Greetings Markus Hi Johnny van den Berg. In diesem Video zeigst Du eine Software EVE (Minute 2.51) mit verschiedensten MikroTik Geräten. Wie funkioniert das? Hast Du dazu auch ein Video gemacht? Liegt hinter den Icons in der Software ein reales RouteOS von Mikrotik? Kannst Du belibig viele MicroTik Endgeräte einfügen und konfigurieren? Ich weiß viele Fragen aber Du machst das so gut. Habe jetzt fast alle Videos durch. Dankeschön. Gruß Markus

  • @TheNetworkBerg

    @TheNetworkBerg

    2 жыл бұрын

    Hello, yes these are RoS images that are "Real" routers, you can download them from MikroTIk's site. Here is a playlist on how to install it on EVE-NG as well as how to install EVE-NG :) kzread.info/head/PLJ7SGFemsLl1ZSsdcdYqeCFDM71dz97XS

  • @jimmertzos3967
    @jimmertzos39673 жыл бұрын

    nice video overall, however you left me with more questions than answers

  • @TheNetworkBerg

    @TheNetworkBerg

    3 жыл бұрын

    You're welcome to ask any questions you might have, definitely what the comment section is for :)

  • @babatrlalan
    @babatrlalan3 жыл бұрын

    I downvoted this video because 90% of the presentation screen is empty and the useful informationnia so tiny that I have to zoom in to follow. I get it: you have a huge monitor, good luck with that!

Келесі