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: viewtopic.php?t=143620
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.
Code: Select all
/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 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)
Code: Select all
/interface bridge port
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged interface=ether6_iot pvid=93
Code: Select all
/interface bridge vlan
add bridge=bridge tagged=bridge untagged=ether5_iot,ether6_iot vlan-ids=93
What am i doing wrong?
Attached is my full config (redacted of private things)