The goal is to make a RB3011 have the following setup:
eth1: wan-interface (no vlan)
eth2,eth3: tagged vlans 40,41,42,43,44,45,46
eth4: untagged vlan 40
eth5: untagged vlan 41
eth6: untagged vlan 42
eth7: untagged vlan 43
eth8: untagged vlan 44
eth9: untagged vlan 45
eth10: untagged vlan 46
After setting up like I though it should be, I got all the tagged vlans on eth2 and eth3. But none of the untagged ports are just as if they were members of a regular bridge without any vlans defined. And if I connect a device with no vlan defined, even eth2 and eth3 seems to be members of that bridge. I don't know how to explain this behaviour any better, so I'll show the config.
Code: Select all
/interface bridge
add admin-mac=B8:69:F4:BB:84:71 arp=proxy-arp auto-mac=no comment=defconf name=bridge
/interface vlan
add interface=bridge name=vlan40 vlan-id=40
add interface=bridge name=vlan41 vlan-id=41
add interface=bridge name=vlan42 vlan-id=42
add interface=bridge name=vlan43 vlan-id=43
add interface=bridge name=vlan44 vlan-id=44
add interface=bridge name=vlan45 vlan-id=45
add interface=bridge name=vlan46 vlan-id=46
/interface bridge port
add bridge=bridge comment=defconf interface=ether2-master
add bridge=bridge comment=defconf interface=ether6-master pvid=42
add bridge=bridge comment=defconf hw=no interface=sfp1
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4 pvid=40
add bridge=bridge interface=ether5 pvid=41
add bridge=bridge interface=ether7 pvid=43
add bridge=bridge interface=ether8 pvid=44
add bridge=bridge interface=ether9 pvid=45
add bridge=bridge interface=ether10 pvid=46
/interface bridge vlan
add bridge=bridge tagged=ether2-master,ether3 untagged=ether4 vlan-ids=40
add bridge=bridge tagged=ether2-master,ether3 untagged=ether5 vlan-ids=41
add bridge=bridge tagged=ether2-master,ether3 untagged=ether6-master vlan-ids=42
add bridge=bridge tagged=ether2-master,ether3 untagged=ether7 vlan-ids=43
add bridge=bridge tagged=ether2-master,ether3 untagged=ether8 vlan-ids=44
add bridge=bridge tagged=ether2-master,ether3 untagged=ether9 vlan-ids=45
add bridge=bridge tagged=ether2-master,ether3 untagged=ether10 vlan-ids=46
/ip address
add address=192.168.88.1/24 comment=defconf disabled=yes interface=bridge network=192.168.88.0
add address=80.232.36.70/30 interface=ether1 network=80.232.36.68
add address=172.27.40.1/24 interface=vlan40 network=172.27.40.0
add address=172.27.41.1/24 interface=vlan41 network=172.27.41.0
add address=172.27.42.1/24 interface=vlan42 network=172.27.42.0
add address=172.27.43.1/24 interface=vlan43 network=172.27.43.0
add address=172.27.44.1/24 interface=vlan44 network=172.27.44.0
add address=172.27.45.1/24 interface=vlan45 network=172.27.45.0
add address=172.27.46.1/24 interface=vlan46 network=172.27.46.0
With this setup I expected that if I put a pc on eth10 with the ip 172.27.46.2, it would be able to communicate with 172.27.46.1 (routers ip on vlan46). This is not the case. However if I give the pc the address 192.168.88.2 and enable the 192.168.88.1 address, the pc communicates with the router on that address.
Same goes for eth2 and eth3 - if I put the pc with address 192.168.88.2 on eth2 or eth3 - where there should be tagged packets only - it is able to communicate with the router at 192.168.88.1.
What does work is the tagged vlans. Any device connected to eth2 or eth3 using tagged vlan 40-46 communicates with the router on the addresses set on those vlans.
I tried to put ingress-filtering=yes on the bridge, but then the router stopped communicating tagged vlans on eth2 and eth3.
What am I missing for this config?