VLAN Switch setup in Mikrotik Router Board


VLAN Switch setup in Mikrotik Router Board
VLAN Switch setup in Mikrotik Router Board Setup Below are the Steps & Details.

14034-mlb3844923936_022013-o

Ethernet2 is Master Port for trunking and Ethernet Port 3,4,5 is a Switch Port Manageable work Independently. Before setup you need to reset router and remove all default configuration.

Now Connect PC Lan wired on Ethernet1 (Port 1), Open Winbox & Paste Script on terminal.

Setting Interface as Master
/interface ethernet
set [ find default-name=ether3 ] master-port=ether2
set [ find default-name=ether4 ] master-port=ether2
set [ find default-name=ether5 ] master-port=ether2

Setting Switch Port
VLAN ID & Required setup VLAN ID
/interface ethernet switch port
set 1 vlan-header=add-if-missing vlan-mode=secure
set 2 default-vlan-id=100 vlan-header=always-strip vlan-mode=secure
set 3 default-vlan-id=200 vlan-header=always-strip vlan-mode=secure
set 4 default-vlan-id=300 vlan-header=always-strip vlan-mode=secure

Setting VLAN Switching
/interface ethernet switch vlan
add ports=ether3,ether2 switch=switch1 vlan-id=100
add ports=ether4,ether2 switch=switch1 vlan-id=200
add ports=ether5,ether2 switch=switch1 vlan-id=300

vlan

intervlan-routing

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s