fbpx

Can vlans be configured on RouterBoard?

Yes, MikroTik supports up to 4095 vlans as well as allowing Q-in-Q.

VLANs (Virtual Local Area Networks) can be configured on MikroTik RouterBoard devices. VLANs are an essential tool in network management, as they allow a physical network to be segmented into multiple independent virtual networks, which improves the organization, security and management of traffic within a network.

To configure VLANs on a RouterBoard, you can follow these general steps, keeping in mind that the details may vary depending on the specific version of RouterOS and the RouterBoard model you are using:

1. Create the VLAN

First, you must create the VLAN on the device, assigning it a VLAN ID and associating it with a physical interface. This is done from the interface configuration menu.

/interface vlan
add name=vlan10 vlan-id=10 interface=ether2

This command creates a VLAN with ID 10 on the interface ether2 and names her vlan10.

2. Configure the Bridge (if necessary)

If you need multiple interfaces or VLANs to communicate with each other, you may need to configure a bridge and add the VLANs and/or physical interfaces to it.

/interface bridge
add name=bridge1

/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=vlan10

This example creates a new bridge called bridge1 and add the interface ether2 and the VLAN vlan10 to bridge.

3. Assign IP Addresses (if necessary)

To allow communication over the VLAN, you may want to assign it an IP address.

/ip address
add address=192.168.10.1/24 interface=vlan10

This assigns the IP address 192.168.10.1 with a subnet mask of 255.255.255.0 (/24) to the VLAN vlan10.

4. Configure routing (if necessary)

Depending on your network configuration, you may need to configure static routes or use a dynamic routing protocol to allow traffic between different VLANs or between the VLAN and other networks.

Additional considerations

  • RouterOS Model and Version: The specific steps and available options may vary depending on your RouterBoard model and RouterOS version. Be sure to consult the specific documentation for your hardware and software.
  • VLAN Security: Consider implementing appropriate security measures, such as access lists and firewalls, to protect VLANs and control traffic between them.

VLANs are a powerful part of the network configuration on MikroTik RouterBoard devices, allowing great flexibility and control over network and traffic segmentation.

There are no tags for this post.
Did this content help you?
Facebook
Twitter
LinkedIn
WhatsApp
Telegram

Other documents in this category

Leave your comment

Your email address will not be published. Required fields are marked with *

Tutorials available at MikroLABs

No Courses Found!

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

Present in several = 15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

Present in several = 20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

Present in several = 30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

Present in several = 17%

all MikroTik OnLine courses

CW23-AX

Present in several = 30%

all Academy courses

CW23-LIB

Present in several = 25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

Present in several = 22%

all MikroTik OnLine courses

BF23-AX

Present in several = 35%

all Academy courses

BF23-LIB

Present in several = 30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011