Hello!
This is my first time with RouterOS, always used OpenWRT, so please excuse me if i have done some mistakes, which i probably did.
My idea is to have, on my router (RB5009), various isolated VLANs for different classes of devices. So far i am just testing out with one VLAN for now.
I have followed this guide: http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1
Adapting from the RouterSwitchAP.rsc config, but without the Wi-Fi part (since the rb5009 has not wifi).
I have a bridge for all ports which are also on the hardware switch. On most ports i have not defined any VLAN and PVID is = 1.
I have created a vlan (93) on bridge, along with a DHCP server and dedicated subnet.
/interface vlan
add comment=IoT interface=bridge name=vlan_iot vlan-id=93
/ip dhcp-server
add address-pool=pool_iot interface=vlan_iot name=dhcp1
When I use non-VLAN aware devices on the ports, they correctly use the DHCP server and network i defined on the bridge directly.
When i use VLAN aware devices and set the VLAN to 93, then i correctly get an IP from the DHCP server running on vlan_poe.
I would like to configure two access ports so that my cameras can access the VLAN. These are non-VLAN aware devices, so i:
- added PVID = 93 to the ports (so that outbound packets with 93 are stripped of the vlan)
/interface bridge port
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged interface=ether6_iot pvid=93
- added VLAN 93 to the bridge, untagged = access ports, tagged = bridge (so that inbound packets from those ports are tagged with 93)
/interface bridge vlan
add bridge=bridge tagged=bridge untagged=ether5_iot,ether6_iot vlan-ids=93
However, on these access ports all traffic seems to be dropped. TORCH sees some 802.11 frames and that’s it, every packet has no response, so the only way to access the VLAN is to explicitly tag the packets.
What am i doing wrong?
Attached is my full config (redacted of private things)
rb5009.rsc (10.2 KB)