Create a VLAN with Hyper-V
For Windows 11 Servers such as the RX III/ EX 2C/ VX 3
Section titled “For Windows 11 Servers such as the RX III/ EX 2C/ VX 3”With Intel PROSet and Advanced Network Services (ANS) no longer supported on Windows 11, managing VLANs and network redundancy requires new workflows. This guide shows how to configure basic VLANs on Disguise media servers using Hyper-V and PowerShell.
Install Hyper-V
Section titled “Install Hyper-V”- Open Windows Features:
- Press
Win + S, type Windows Features, and select Turn Windows features on or off.
- Press
- Enable Hyper-V:
- Check:
- Hyper-V Management Tools → Hyper-V Module for Windows PowerShell
- Hyper-V Platform → Hyper-V Hypervisor
- Check:
- Click OK and restart if prompted.
Identify Network Adaptors
Section titled “Identify Network Adaptors”To configure VLANs, you first need to identify the available network adapters.
- Open PowerShell as Administrator.
- Run the following command:
This will list all network adapters and# their details.
Terminal window GET-NETIPCONFIGURATION
Example Output:
InterfaceAlias : Ethernet 1InterfaceIndex : 4IPAddress : 192.168.1.100...Create a Virtual Switch
Section titled “Create a Virtual Switch”Create a virtual switch in Hyper-V to route traffic through a specific network adapter.
-
Run the following command in PowerShell:
Terminal window New-VMSwitch "disguise" -AllowManagementOS $true- Replace
"disguise"with your desired switch name. - The
-AllowManagementOS $trueflag allows Windows to communicate through this switch.
- Replace
-
When prompted, enter the name of the network adapter you identified in Step 1 (e.g.,
Ethernet 1).
Add a VLAN to the Virtual Switch
Section titled “Add a VLAN to the Virtual Switch”Now, create a VLAN on the newly created virtual switch.
- Use this command:
Terminal window Add-VMNetworkAdapter -ManagementOS -Name VLAN1-D3NET -SwitchName "disguise"- Replace
VLAN1-D3NETwith the desired VLAN name. - Replace
"disguise"with the name of the virtual switch you created.
- Replace
Hyper V Limitations and Considerations
Section titled “Hyper V Limitations and Considerations”- No NIC Teaming: Windows 11 does not support NIC teaming, so redundancy for network port failure is not included.
- Single Adapter: Configure VLANs on only one adapter per virtual switch for stability.
- Redundancy Options: Consider using hardware redundancy with stacked switches.
By following this guide, you can successfully configure VLANs on a Disguise server using Windows 11.
Troubleshooting: How to Prevent Hyper-V from Reserving Specific Ports
Section titled “Troubleshooting: How to Prevent Hyper-V from Reserving Specific Ports”When Hyper-V is enabled on a Windows machine, it automatically reserves multiple port ranges within the dynamic port range upon startup. This can cause conflicts if Windows happens to reserve a port required by another application—such as port 56565, the default PSN port needed for a d3 project.
Prerequisites
Section titled “Prerequisites”- You must be logged in as an Administrator.
- Important: Disabling and re-enabling Hyper-V usually requires a system restart. Please save any open work before proceeding.
How to exclude ports
Section titled “How to exclude ports”- Open PowerShell as an Administrator. Right-click the Start button and select Windows PowerShell (Admin) or Terminal (Admin).
- Check currently reserved ports.
Run the following command to see which UDP ports are already reserved:
netsh interface ipv4 show excludedportrange protocol=udp - Temporarily disable Hyper-V.
Run the command below to disable the hypervisor. (Note: You may be prompted to restart your computer here. If so, restart, then reopen PowerShell as Administrator to continue).
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor - Exclude your required port.
Run the following command to exclude your port.
netsh int ipv4 add excludedportrange protocol=udp startport=<port> numberofports=<number> store=persistent - Re-enable Hyper-V.
Once the port is successfully excluded, turn the hypervisor back on:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor - Restart your machine. If you aren’t automatically prompted to do so, restart your computer one final time to ensure Hyper-V is fully active and the new port rules have taken effect.