set DHCP option for VLAN

Hi Community,
i was looking around to find a way for the following scenario:

Have an Mikrotik HexS router with DHCP enabled. I use only static-leases.

My Idea is to have a dynamic tagged vlan configuration by using an DHCP Option to set each device in the Network a specific VLANID.

I have a dynamic device configuration not using a portbased VLAN config on the switches.

I am happy for any Idea :slight_smile:

If you have only static leases and DHCP is on a bridge with vlan-filtering, you can use /int/bridge/host static entries for that and add devices per their MAC.

Cool. I will check this. If i understand right :slight_smile: Thx

so, i can build groups with specific hosts and so the got tagged? I will try…i think i dont really understand.
Is there somehow a documentation or else?