Page 1 of 1

mikrotik vlan creation question

Posted: Thu Aug 27, 2015 1:04 pm
by jonathan2493
hi,


my goal is to create a vlan and assign it to a bridge interface.

Is there any difference between this method
interface bridge add name=bridge-trunk protocol-mode=rstp
interface bridge port add interface=ether5 bridge=bridge-trunk
interface vlan add name=vlan-100 interface=bridge-trunk vlan-id=100
 interface vlan add name=vlan-200 interface=bridge-trunk vlan-id=200
and this

/interface ethernet switch egress-vlan-tag add \
tagged-ports=ether20 vlan-id=100
/interface ethernet switch egress-vlan-tag add \
tagged-ports=ether20 vlan-id=200

/interface ethernet switch ingress-vlan-translation \
add ports=ether20 customer-vid=0 new-customer-vid=200 sa-learning=yes

Re: mikrotik vlan creation question

Posted: Fri Aug 28, 2015 5:39 am
by rjscomms
Hello,

I am no expert here but I believe that creating a bridge and using ports will use the CPU.

Using your second method means using the switch chip which should be faster as it does not use the CPU.

This is described somewhere on the wiki.

Regards, Dave.