User Tools

Site Tools


networking:router:mikrotik_vlan

This is an old revision of the document!


MikroTik VLAN

Metro Ethernet Notes: http://www.experts-exchange.com/Hardware/Networking_Hardware/Routers/Q_23688899.html

Example with Wireless: http://mum.mikrotik.com/presentations/CZ09/VLAN-Workshop-Prague-final.pdf

Great examples with CoS: http://wiki.mikrotik.com/wiki/Vlans_on_Mikrotik_environment

  • VLAN = Broadcast Domain
  • VLAN interfaces on MikroTik devices are “add tag on egress / remove tag from ingress”
  • To be able to forward packets from access-ports to VLANs, we need bridges

Create VLANs

  • Create VLAN sub-interfaces on physical interfaces
  • Bridge the sub-interfaces
  • IP addresses are then configured on the respective bridges
  • Treat EoIP tunnel interfaces like physical interfaces
  1. Configure VLANs on trunk interface ports
    • /interface vlan add name=vlan-10 vlan-id=10 interface=ether5 disabled=no
  2. Create bridges for the VLANs
    • /interface bridge add name=br-vlan10 disabled=no
  3. Add access-ports to the bridges
    • /interface bridge port add interface="vlan-10" bridge="br-vlan10" disabled=no
      /interface bridge port add interface="ether1" bridge="br-vlan10" disabled=no

VLAN Tagging

With Cisco Switch Trunk Ports

Simple Wireless Guest Network

VLANs Over OpenVPN Tunnel

Per VLAN with PPTP

networking/router/mikrotik_vlan.1392490658.txt.gz · Last modified: 2014/02/15 11:57 by gcooper