Hello,
Here's how to specify the VLAN ID using the Hyper-V Manager.
- Open Hyper-V Manager.
- From the Actions pane, select Virtual Switch Manager.
- Select the virtual switch you wish to configure, check the Enable virtual LAN identification for management operating system.
- You can enter any VLAN ID number or leave the default, then select OK. You'll be prompted to warn you that the change may disrupt your network connectivity, select Yes if you're happy to continue.
VLAN identifiers should be consistent with your network to ensure compatibility between your computer, virtual machines, and other network devices.
Best regards
Zunhui