Set the firewall's LAN card to carry all five VLANs with tags. Untagged traffic still passes, so the existing network keeps working.
Find the firewall's LAN card
Hyper-V host
Get-VMNetworkAdapter -VMName "CON-FW-01" | Select-Object Name, SwitchName, MacAddress
Make it a trunk
Hyper-V host
Get-VMNetworkAdapter -VMName "CON-FW-01" | Where-Object SwitchName -eq "CON-LAN" | Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "10,20,30,40,50" -NativeVlanId 0 Get-VMNetworkAdapterVlan -VMName "CON-FW-01"
| Setting | What it does |
|---|---|
| Trunk | The card carries several VLANs, each tagged with its number. |
| AllowedVlanIdList | The VLANs allowed through. |
| NativeVlanId 0 | Untagged traffic passes too, which keeps the old network alive during the move. |
Done when
Check
The last command shows Mode Trunk with 10,20,30,40,50, and existing machines can still reach the internet.


