After 22.1 something changed and now you need to have the parent interface enabled (vtnet2 in this case), then you can create that "VLAN 10" and it will work perfectly. You had to have unused parent interfaces enables to make VLAN work over them.
Last but not least the “assign VLAN parent and enable” migration note from 22.1 is no longer required as the boot will attempt to configure all existing hardware devices once with the selected defaults.
Quote from: jorglodita on December 19, 2023, 08:42:01 amAfter 22.1 something changed and now you need to have the parent interface enabled (vtnet2 in this case), then you can create that "VLAN 10" and it will work perfectly. You had to have unused parent interfaces enables to make VLAN work over them.That was reverted in 22.7.4:QuoteLast but not least the “assign VLAN parent and enable” migration note from 22.1 is no longer required as the boot will attempt to configure all existing hardware devices once with the selected defaults.https://docs.opnsense.org/releases/CE_22.7.html