Hello,
On my CCR1009 I have a multiple VLAN setup “new style”. One bridge, multiple VLANs. All is working fine.
All VLANs have said bridge as their interface, like this:
/interface vlan
add interface=bridge-local name=vlan3_guest vlan-id=3
add interface=bridge-local name=vlan5_lte vlan-id=5
add interface=bridge-local name=vlan6_family vlan-id=6
add interface=bridge-local name=vlan100_local vlan-id=100
add interface=bridge-local name=vlan200_dvb vlan-id=200
add interface=bridge-local name=vlan300_cable vlan-id=300
Here is the actual VLAN setup of the bridge:
/interface bridge vlan
add bridge=bridge-local comment="local network" tagged=sfp-sfpplus1,e6-sw1-trunk,bridge-local untagged=ether1,ether2,ether3 vlan-ids=100
add bridge=bridge-local comment="dvb net" tagged=sfp-sfpplus1,e6-sw1-trunk,bridge-local vlan-ids=200
add bridge=bridge-local comment="lte modem" tagged=sfp-sfpplus1,e6-sw1-trunk,bridge-local vlan-ids=5
add bridge=bridge-local comment=Guest tagged=bridge-local,sfp-sfpplus1,e6-sw1-trunk untagged=ether7 vlan-ids=3
add bridge=bridge-local comment=Family tagged=bridge-local,sfp-sfpplus1,e6-sw1-trunk vlan-ids=6
add bridge=bridge-local comment=cable tagged=bridge-local,sfp-sfpplus1 vlan-ids=300
As a side effect, all VLANs inherit the MAC address of the same bridge they are attached to. So they all have the same MAC address.
In some situations this is undesirable. Like using VLANs to connect to ISP. Or multiple VLANs going into the same Windows PC.
Windows uses the MAC address of the default gateway to distinguish networks. As the MAC address of the bridge is the MAC address of the default gateway…
I have found no solution to assign different MAC addresses to different VLANs with the recommended “new style, single bridge” setup.
Is there a way to have different MAC addresses?
Any suggestion would be very welcome.
Thanks!