{"id":9668,"date":"2022-09-09T10:53:02","date_gmt":"2022-09-09T08:53:02","guid":{"rendered":"https:\/\/knowal.sfida.me\/mikrotik-vlan-and-bridge-configuration\/"},"modified":"2022-09-09T11:24:05","modified_gmt":"2022-09-09T09:24:05","slug":"mikrotik-vlan-and-bridge-configuration","status":"publish","type":"post","link":"https:\/\/know.al\/en\/mikrotik-vlan-and-bridge-configuration\/","title":{"rendered":"MikroTik VLAN and Bridge Configuration"},"content":{"rendered":"<p><strong>VLAN and Bridge<\/strong>&nbsp;are two useful features in MikroTik Router. &nbsp;These two features are frequently used in any MikroTik network configuration. VLAN divides a physical interface into multiple logical interfaces. So, you can isolate your network into multiple logical networks on a physical interface. On other hand, MikroTik Bridge integrates multiple physical interfaces in a logical interface. So, you can extend your broadcast domain on multiple physical interfaces and can extend your popular services such as PPPoE or DHCP on multiple physical interfaces. As VLAN and Bridge are useful to any MikroTik network, this article is designed to show the necessary steps to configure VLAN and Bridge in MikroTik Router.<\/p>\n<h5><strong>VLAN in MikroTik<\/strong><\/h5>\n<p>VLAN (<strong>Virtual Local Area Network<\/strong>) is used to create multiple virtual LANs on a single physical interface. It is a layer 2 method that divides a single broadcast domain into multiple broadcast domains. So, proper VLAN planning can increase your network performance as well as network privacy.<\/p>\n<p>There are various situations when you need to create VLAN in your MikroTik router. For example, if your ISP provides your WAN connection through a VLAN, you have to create a VLAN on your WAN interface or if you need to isolate your VIP users from other network users for any security purpose, VALN will be a better solution to isolate your physical network into multiple logical networks.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-7327 alignnone\" src=\"https:\/\/know.al\/wp-content\/uploads\/2020\/08\/VLAN.png\" alt=\"\" width=\"1056\" height=\"816\"><\/p>\n<h6 style=\"text-align: center;\">MikroTik VLAN Network<\/h6>\n<h5><strong>How to Create VLAN in MikroTik<\/strong><\/h5>\n<p>VLAN can easily be created in MikroTik router like other network devices. Following steps will show you how to create VLAN in your MikroTik Router.<\/p>\n<ul>\n<li>Login to your MikroTik Router by winbox with your login credentials.<\/li>\n<li>Click on&nbsp;<em>Interfaces&nbsp;<\/em>menu from left menu bar and then click on VLAN tab.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-7321\" src=\"https:\/\/know.al\/wp-content\/uploads\/2020\/08\/VLAN-1.png\" alt=\"\" width=\"1277\" height=\"959\"><\/p>\n<ul>\n<li>Click on PLUS SIGN (+) to add new VLAN interface. A new window named&nbsp;<em>New Interface <\/em>will appear.<\/li>\n<li>Put your VLAN name what you wish in&nbsp;<em>Nameb <\/em>input field.<\/li>\n<li>Put your VLAN id in&nbsp;<em>VLAN ID <\/em>input field. If you want to create VLAN for WAN connection, your ISP will provide you the VLAN ID. If you want to create VLAN for your network, provide an integer number between 1 to 4095 what you wish.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-7323\" src=\"https:\/\/know.al\/wp-content\/uploads\/2020\/08\/VLAN-2.png\" alt=\"\" width=\"1279\" height=\"963\"><\/p>\n<ul>\n<li>Now choose your physical interface on which you want to create VLAN from&nbsp;<em>Interface <\/em>dropdown menu.<\/li>\n<li>Click&nbsp;<em>Apply <\/em>and&nbsp;<em>OK.&nbsp;<\/em><\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-7325\" src=\"https:\/\/know.al\/wp-content\/uploads\/2020\/08\/VLAN-3.png\" alt=\"\" width=\"416\" height=\"500\"><\/p>\n<p>A new VLAN interface has been created. Similarly, you can create as many VLANs as you want following the above steps.<\/p>\n<p>Your newly created VLAN interface will behave like a physical interface. So, you can assign an IP on this VLAN interface as well as you can use this interface for routing. You will find your newly created VLAN interface all the places where there is an option to select interface such as assigning IP address on an interface, selecting your network gateway interface and so on.<\/p>\n<h5><strong>MikroTik Bridge<\/strong><\/h5>\n<p>Every port in MikroTik Router is a layer 3 port by default and its keep in different broadcast domain. So, if you create a PPPoE server or a DHCP server on any interface, the service cannot be accessible from any other. If you want to use these unused interfaces and want to access your DHCP or PPPoE server from all the interfaces, you have to turn your layer 3 ports to layer 2 ports and bind them to a layer 3 logical port. MikroTik bridge feature has come for this purpose.<\/p>\n<p>MikroTik Bridge turns layer 3 ports to layer 2 ports and bind them with a logical layer 3 port. So, all the bridge ports as well as the logical layer 3 port keep in the same broadcast domain. Now it is possible to access any service like PPPoE or DHCP from any bridged MikroTik port.<\/p>\n<h5><strong>How to Create Bridge in MikroTik Router<\/strong><\/h5>\n<p>There are two major steps to create Bridge in MikroTik Router. First step is creating a logical bridge interface and second step is binding your desired physical interface to this logical interface. Following steps will show you the complete bridge configuration in MikroTik Router.<\/p>\n<ul>\n<li>Login to your MikroTik Router by winbox with your login credentials.<\/li>\n<li>Click on&nbsp;<em>Bridge <\/em>menu item from left menu bar.&nbsp;<em>Bridge<\/em>&nbsp;window will appear now.<\/li>\n<li>Click on&nbsp;<em>Bridge <\/em>tab if not selected and then click on PLUS SIGN (+).&nbsp;<em>New Interface<\/em>&nbsp;window will appear.<\/li>\n<li>Put your bridge interface name as you wish in the<\/li>\n<li>Click&nbsp;<em>Apply <\/em>and&nbsp;<em>OK<\/em><\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-7317\" src=\"https:\/\/know.al\/wp-content\/uploads\/2020\/08\/Bridge-1.png\" alt=\"\" width=\"1021\" height=\"887\"><\/p>\n<ul>\n<li>Now click on&nbsp;<em>Ports <\/em>tab and then click on PLUS SIGN (+).&nbsp;<em>New Bridge Port<\/em>&nbsp;window will appear.<\/li>\n<li>Choose your physical interface that you want to bind to the bridge interface from&nbsp;<em>Interface <\/em>dropdown menu.<\/li>\n<li>Choose your Bridge interface that you created before from&nbsp;<em>Bridge <\/em>dropdown menu.<\/li>\n<li>Click&nbsp;<em>Apply <\/em>and&nbsp;<em>OK<\/em><\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-7319\" src=\"https:\/\/know.al\/wp-content\/uploads\/2020\/08\/Bridge-2.png\" alt=\"\" width=\"946\" height=\"827\"><\/p>\n<p>Repeat steps if you want to add more physical interfaces to your bridge interface.<\/p>\n<p>Creating logical bridge interface and binding physical interfaces to this bridge interface have been completed. Now any service that is created on bridge interface will be accessible from your bound physical interfaces easily.<\/p>\n<h4>If you would like to learn more and certify your knowledge in MikroTik, don\u2019t hesitate to contact us and participate in our trainings. Thank you!<\/h4>\n","protected":false},"excerpt":{"rendered":"<p>VLAN and Bridge&nbsp;are two useful features in MikroTik Router. &nbsp;These two features are frequently used in any MikroTik network configuration. VLAN divides a physical interface into multiple logical interfaces. So, you can isolate your network into multiple logical networks on a physical interface. On other hand, MikroTik Bridge integrates multiple physical interfaces in a logical [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9681,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","footnotes":""},"categories":[26],"tags":[],"class_list":["post-9668","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","post-wrapper","thrv_wrapper"],"_links":{"self":[{"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/posts\/9668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/comments?post=9668"}],"version-history":[{"count":0,"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/posts\/9668\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/media\/9681"}],"wp:attachment":[{"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/media?parent=9668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/categories?post=9668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/know.al\/en\/wp-json\/wp\/v2\/tags?post=9668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}