Hi.
I created the following config:
/interface vlan add interface=bridge name=vlan19 vlan-id=19 comment=“untrusted IoT”
/ip address add address=192.168.19.1/24 interface=vlan19 network=192.168.19.0
/ip pool add name=untrusted_iot ranges=192.168.19.100-192.168.19.199
/ip dhcp-server add address-pool=untrusted_iot disabled=no interface=vlan19 name=dhcp19
/ip dhcp-server network add address=192.168.19.0/24 gateway=192.168.19.1 dns-server=192.168.19.1
/interface list member add interface=vlan19 list=nofasttrack
/ip firewall nat add action=masquerade chain=srcnat out-interface=vlan19
/ip firewall filter add action=drop chain=forward in-interface=vlan19 out-interface-list=!external
I’m trying to create a VLAN for IoT devices and only give them Internet access. The above works as intended, however, other devices outside of VLAN 19 on the default or untagged VLAN (1), randomly get an address from this pool, and since they are not in VLAN 19, well they stop communicating.
I’ve got other VLANs on this router where the default gateway is not the router, but a different device all together. These function without issue, no DHCP issues at all.
What and I missing here?
Thanks.