no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | windows:powershell_commands:nic_teaming [2019/10/31 09:06] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== NIC Teaming and VLAN tag ====== | ||
| + | Create virtual switch | ||
| + | <code powershell> | ||
| + | Create virtual adapter, connected to newly created switch | ||
| + | <code powershell> | ||
| + | |||
| + | Set VLAN tag to newly created adapter | ||
| + | <code powershell> | ||
| + | # Get adapter into variable | ||
| + | $NIC1 = Get-VMNetworkAdapter -Name " | ||
| + | # Set tag (to desired value) | ||
| + | Set-VMNetworkAdapterVlan -VMNetworkAdapter $NIC1 -Access -VlanId 121 | ||
| + | </ | ||
| + | |||
| + | Set adapter IP address, and you're good to go | ||