Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== VLANs on CHR under Hyper-V ====== <code powershell> # Insert VM into variable $vm = Get-VM -Name Mikrotik # Insert VMs NIC list into variable $nic = Get-VMNetworkAdapter -VM $vm # Identify desired NIC $nic[1] # Enable MAC Address Spoofing Set-VMNetworkAdapter -VMNetworkAdapter $nic[1] -MacAddressSpoofing On # Allow VLANs Set-VMNetworkAdapterVlan -VMNetworkAdapter $nic[1] -NativeVlanId 0 -AllowedVlanIdList "0,1,10,172,666" -trunk </code> mikrotik/conf/vlans_on_chr_under_hyper-v.txt Last modified: 2023/06/16 15:28by 127.0.0.1