VLAN sub-if MAC

Hi,

I am using winbox and notice that the physical and all subinterface in VLAN has same MAC, is this normal? I thought subif suppose to have different mac.

Yes, this is normal. The same thing happens with Cisco equipment. There’s no need to be concerned since each interface is on its own broadcast domain, and thus there’s no conflict.

How to change VLAN MAC without creating bridge as described in http://wiki.mikrotik.com/wiki/Change_MAC_address_of_VLAN_interface ?
Under pure Linux, this is performed simply by “/sbin/ip link set vlan10 address 00:11:22:33:44:55”

You can’t. That functionality isn’t exposed.

Why would you want to, though?

For preventing performance slowdown at bridge layer.
“PPPoE over VLAN over Ethernet” should be a bit faster than "“PPPoE over Bridge over VLAN over Ethernet”, is itn’t?

No, why would you want to change the MAC address in the first place?

I have many ADSL modems working as bridges, each connected to untagged port on D-Link switch.
RouterBox is connected to tagged port: N vlan’s for N modems.
By default, RouterBox MAC is the same in all vlan’s == MAC of ether1-gateway.
But remote AC requires that each client must have unique MAC.
So the first PPPoE connection is established normally, and all remaining N-1 are rejected.
Changing VLAN MAC’s solves this problem.

Gotcha.

File an official feature request with support@mikrotik.com and explain your use case. Maybe this functionality will be exposed in future versions. Until then I guess all you can do is use the bridge hack. There simply isn’t any functionality to set a VLAN interface MAC address via the CLI or winbox. “/interface vlan print detail” shows it, but there is no setter.