Skip watching entire videos - get the full transcript, search for keywords, and copy with one click.
Share:
Video Transcript
Video Summary
Summary
Core Theme
This content explains how to configure VLANs on a MikroTik router when multiple interfaces need to carry the same VLAN IDs, by utilizing a bridge interface on the router to manage these VLANs before distributing them to managed switches.
Mind Map
Click to expand
Click to explore the full interactive mind map • Zoom, pan, and navigate
If we want to distribute VLANs inside one of the interfaces on our router
we only need to add VLANs on that interface
Then what if there are two or more interfaces that want to carry VLANs with the same VLAN ID in one router?
please watch this video until it's finished
and don't forget for those of you who haven't Subscribe to Mikrotik Indonesia's YouTube channel
please subscribe first
and don't forget to click the bell button, so you can get notifications of the latest videos from us
actually we also have a playlist of videos about VLAN configuration on our YouTube channel
maybe for this video it can be a reference for those of you who want to configure VLANs
directly, in this example case we already have a main router
and there are already two switch devices
both of these switch devices are directly connected to the main router
and for the switches that we use this time using manageable switches
which means that later for this switch we can manage or we can configure VLANs
for illustration, here I have provided for the topology
later for the main router this will be used for IP Address management
and DHCP server for its clients
besides that, here I have also configured it so that later the client can connect to the internet
or what we call basic configuration
besides that, later we will also pass the VLAN
namely VLAN 10 which will be used for IP address distribution to end users
for example to a laptop, or to a mobile phone
and VLAN 99 which will be used to assign IP addresses to these switch devices
or IP address management for the switch devices
if we look at the topology that we have displayed earlier
here for switch1 and switch2 will later be connected to ether4 and ether5
later we will bring VLAN99 and VLAN10 to the switch device.
on two different interfaces inside the same router.
The question is, where do we install the VLAN interface on the main router?
this is what we will discuss in this video
to install VLAN, we can create a Bridge interface first
by inserting ports ether4 and ether5 into the Bridge interface earlier
then for VLAN10 and VLAN99 we attach them to the Bridge interface
immediately we will configure the router first
we open the Winbox
for my router here is already displayed and we will remote it
the first step we have to create is the Bridge interface
we enter the Bridge menu, then we create a new Bridge interface
we just click Ok, then enter Port ether4
and another one is ether5
for ports that you can use this is the port that matches your topology
so for the current topology I use the ether4 and ether5 ports to connect with the switch device
next here I will create a VLAN interface
we go to the Interfaces menu then we create a new interface
with VLAN name
we specify with Name = vlan10 then VLAN ID = 10
then the interface here we choose the Bridge interface
which usually if we create a VLAN we can attach it to the physical interface
because here there will be two physical interfaces that will carry the same VLAN ID
then we can create a Bridge first, then we install the VLAN interface on the bridge interface
we click Ok, then we create another one with Name=vlan99
for this distribution later
or for switch device management
here we have added new interfaces, namely vlan10 and vilan99 to the Bridge interface
after that we will also assign an IP address to each VLAN
we use the IP address 192.168.10.1
which we installed on the router, then the interface we choose vlan10
then we click Ok, and we create another one
we add it with Address=192.168.99.1/24
then we attach it to Interface=vlan99
here we have added the IP address
next we will create DHCP servers on VLAN10 and VLAN99
we select the interface is Interface=vlan10
we next
then we create another one for VLAN99 distribution
here on my previous router I have also done basic configuration
that is, we have added NAT, DNS configuration, then we have also added the route IP address
so if we try to check using new Terminal
then my router can already Ping to google.com
here later should be when the client under this router has got an IP address
then it can connect to the internet
okay, before we configure to the switch device
we try to check once again in the interfaces menu, whether there is already an R flag or not on ether4 and ether5
if not, let's check again
we make sure ether4 and etehr5 are already Running
because earlier we added interfaces ether4 and ether5 to the Bridge interface
then here will be the flag Running Slave (RS)
for the configuration on the router is now complete
we will try to remote on the Switch device
I'll move my ethernet cable to the Switch device first.
Previously on both of these switch devices I have configured for VLANs
so later for ether1 will be used for trunking
Trunking by bringing VLAN10 and VLAN99
then for the access itself on these two switches it will be the same
ether2, ether3, and ether4
we can try to check the VLAN configuration here
here for the VLAN tag or VLAN Trunk we use ether1 (VLAN10)
VLAN99 using ether1 and Switch CPU
because I am using CRS1xx series or 100 series version device
then for the VLAN configuration to add the Trunking Port I will also add the Switch CPU-nyna
then here for the Access Port I add ether2, ether3, and ether4
in the VLAN configuration it is also the same as this
for the VLAN configuration on these two switch devices is the same, because these two switches use CRS series 100
which I will configure at this time is
we will add VLAN99 to the CRS device
or on the Switch device
Where do we add VLAN99?
for VLAN99 we attach it on the Bridge interface too
so later we can create a VLAN, then VLAN ID = 99 and enter it on Interface = bridge1
after that, to check the IP address of the main router
whether it has reached this CRS switch device or not
we will try to add an IP address to interface vlan99
we will use the DHCP client
we enter the IP-DHCP client menu, then here I have also created or added a DHCP client on interface vlan99
and have also got an IP address according to the IP Pool that we configured earlier
for the configuration on both switch devices that I use it
the configuration is the same, because I use the CRS100 series
next I will create interface vlan99 which will be used for IP management on the switch device.
here I have added interface vlan99
inside the Bridge interface that I created earlier
let's check, here I use VLAN ID = 99 and I enter it into Interface = bridge1
we will also check
to make sure the VLAN that we have brought from the main router to the switch has entered or not
we can set the IP address in the IP menu, then DHCP client
because we have also configured the DHCP server earlier
here I have created or added vlan99 to the DHCP client and have obtained the IP address 192.168.99.x
means that the vilan99 has been distributed to the switch device
now for testing, whether the vlan10 can be distributed to the end-user device
Previously we have configured, created port access in the ether2, ether3, and ether4 interfaces.
I'm going to sample the ether2 interface
this is the ethernet connected to my laptop
I will attach it to the ether2 interface
next I will check on my laptop
has it got an IP address that matches the IP address allocation of VLAN10 that we created on the router earlier
my laptop should get an IP address allocation of 192.168.10.x
I will try to check using Command Promt
we type the command ‘IP config’
here you can see I've got the IP address 192.168.10.254
Okay then I will try to check again on the next switch device or Switch Distri 2
I'll move the cable again
I'll attach it to the free interface here
okay now the switch device is showing up in Winbox.
here I have moved in Switch Distri 2
then I check again here, whether there is already a Bridge interface
there is already a Bridge interface here
here I enter ports ether1 to ether4
ether1 for Trunk and ether2, ether3, and ether4 for Access Ports
then I checked again in the Interfaces menu, whether there was already a VLAN99
here is also already there
for the VLAN99 is the same as before, entered on the Bridge interface
then I tried to check again
whether it has got an IP address or not
here we use IP-DHCP Client
here we see that we have obtained an IP address, namely 192.168.99.253
which means that the VLAN99 has been distributed to the switch device
next I will check whether port 2, port 3, and port 4 can provide VLAN10 access.
then my laptop gets the IP address 192.168.10.x as it is on the Switch Distri 1 device
Okay I will move the cable connection again, I will move on port ether4
This is connected to the Switch Distri 2 device
Okay we wait
Now I will check whether the laptop has got an IP address or not.
I use the command ‘IP config’ in the Command Prompt
here I still get the IP address 192.168.10.254
means that switch 1 and switch 2 have been distributed for VLAN99 and VLAN10.
I will also test to the internet, with a google.com ping test from a laptop
here it also looks like it's connected
means that my laptop can already do browsing or other activities on the internet
for this experiment, it means we have succeeded
As an illustration, besides being able to use the Switch device under the router
under this router can also replace with OLT devices
for the Switch function, we can replace it with an OLT device for now.
So later for the VLAN, you can use the PPPoE service or you can use the DHCP Server service.
okay that's all for this video
for those of you who want to buy MikroTik devices or other networking needs
please visit our website, citraweb.com
or in the marketplace with the store name ‘Citraweb’
if you have any questions about this video, you can leave it in the comment section.
also don't forget to Like and Share, so that it can be more useful for others
for those of you who haven't subscribed to the Mikrotik Indonesia channel (Citraweb)
please subscribe first, then don't forget to click the bell button
so you can get notifications of our latest videos
see you in our next video tutorials
See you soon
Click on any text or timestamp to jump to that moment in the video
Share:
Most transcripts ready in under 5 seconds
One-Click Copy125+ LanguagesSearch ContentJump to Timestamps
Paste YouTube URL
Enter any YouTube video link to get the full transcript
Transcript Extraction Form
Most transcripts ready in under 5 seconds
Get Our Chrome Extension
Get transcripts instantly without leaving YouTube. Install our Chrome extension for one-click access to any video's transcript directly on the watch page.