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: