Wired 802.1X with dynamic vlan

Hi everyone,

I'm curious — has anyone tried setting up 802.1x for wired connections with dynamic VLANs on OpenWRT? Could you share your configuration?

I'm using OpenWRT 24.10.
I managed to get it working, but only through a script that makes hostapd switch the client to the correct VLAN after successful authentication.

However, I can’t get DHCP to work properly — after switching to the new VLAN, the client doesn’t receive a DHCP address from that subnet.

Mind to share your current configs with (again) the notes of what works and what not.... That would be awesome!

Ps. Edit.. could you share a link to these scripts too please.