Menu Close

Category: Practical – Mikrotik

Setting LAN network with three VLANs on Mikrotik RouterOS switch and Cisco IOS router on-stick.

In this article, I will set up a simple LAN network consisting of two PCs, one Mikrotik box that acts as a L2 LAN switch, and one Cisco router that connects everything to the internet using NAT. PCs and Mikrotik switch are in the separate VirtualLANs (VLANs). My VLAN definition is:

  • VLAN10, name Home, network address: 10.1.10.0/24, Mikrotik port: Ether 2
  • VLAN20, name IoT, network address: 10.1.20.0/24, Mikrotik port: Ether 3
  • VLAN99, name MGMT, network address: 10.1.99.0/24, Mikrotik port: bridge
  • Ether port 1 will act as the trunk

Devices addresses:

Setting a simple LAN network with Mikrotik RouterOS and Cisco IOS

In this article, as the RouterOS CLI newbie, I will set up a simple LAN network consisting of two PCs, one Mikrotik box that acts as a simple L2 LAN switch, and one Cisco router that connects everything to the internet using NAT. All four devices are in the same broadcast domain and have IP addresses from the network address space : 10.1.1.0/24

Devices addresses: