Trunk Two MikroTik Switches Using 802.1q Vlans

Created by Faye Admin, Modified on Thu, May 29 at 11:15 AM by Faye Admin

TABLE OF CONTENTS

Scenario: You have one MikroTik RB250GS switch running 802.1Q vlans and you want to extend all or some of those vlans to a second switch. The following diagram borrowed from a post by Ozelo explains:

600px-OverallDiagram.png

The configuration of the first switch (192.168.88.1) is explained in a previous example 802.1Q Router on a Stick Example . The main change to that example is the configuration of port ether5 since we want it to pass all the vlans to the second switch. The two pales you need to make changes are the VLAN tab and the VLANs tab. Confusing, yes but note the "s" on VLAN on one tab.

Configure the first switch as follows:

Switch 1 - VLAN Tab

700px-Switch1-1.png

Switch 1 - VLANS Tab

700px-Switch1-2.png

Then configure the second switch as follows. Please note we have set the IP address of the second switch to 192.168.88.10 so as not to duplicate the witch 1 IP address. This is done on the System tab. In case you ever wonder why there is no setting for netmask or default gateway, that is because the switch does a little magic in determining the source of the packet and returning it to the host without the need for those two pieces of information.

Switch 2 - VLAN Tab

              700px-Switch2-1.png          

Switch 2 - VLANs Tab

All that remains is to create the vlan interfaces on the router and assign IP addresses, DHCP server, etc. to them. Here is a screen shot of the router used for this example, interfaces and IP addresses. The IP here is the one being used to manage the switches:

IPAddresses.png

That is it, you should now have two switches trunked together passing vlans to the second switch.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article