r/mikrotik • u/feedc0de_ • 16h ago
Implementing VLANs on AC devices which mikrotik doesnt want
Mikrotik specifically went extra efforts to block vlan usage on older wifi AC devices.
Previously i configured the cap client so that the wifi interfaces are created static and not assigned to any bridge, and then i had scripts running which create bridge-ports with custom vlan based on SSID.
This whole setup was super clumsy and kept writing to flash all day and also with newer firmware versions the free space got so little that simple config saves didnt work anymore because only 100kb are free but with fragmentation its not writable again.
I started hacking the official mikrotik packages and simply implemented something they dont want the public to see: old ac devices with vlan support enabled (required ~5 patches to their binaries)
Creating a configuration with vlan does not result in the wifi manager to stop creaating interfaces or ssids. Why is mikrotik like this, the hardware is so nice but the software is sometimes so trash.
Let me know if there is demand for this and if I should write a long explaination how exactly it works and what it takes to set it up (sadly requires wiping all configs on the device and running custom hacked npks with custom signatures to be able to apply patches)

This is tested on hap-AC2 and cap-ac devices
