meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| windows:powershell_hyper-v_switchembededteaming [01/01/2025 22:56] – mdl | windows:powershell_hyper-v_switchembededteaming [02/01/2025 18:22] (Version actuelle) – mdl | ||
|---|---|---|---|
| Ligne 15: | Ligne 15: | ||
| </ | </ | ||
| - | * Assignation | ||
| - | <code powershell> | ||
| - | Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName " | ||
| - | </ | ||
| \\ | \\ | ||
| == Modification NIC Teaming == | == Modification NIC Teaming == | ||
| Ligne 26: | Ligne 22: | ||
| </ | </ | ||
| - | * Il faut ré appliquer la conf VLAN sur la carte ManagementOS | ||
| - | <code powershell> | ||
| - | Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName " | ||
| - | </ | + | \\ |
| - | * on créé | + | == création d'une carte virtuelle |
| <code powershell> | <code powershell> | ||
| Add-VMNetworkAdapter -Name LAN_DATA1 -ManagementOS -SwitchName LAN_SWITCH | Add-VMNetworkAdapter -Name LAN_DATA1 -ManagementOS -SwitchName LAN_SWITCH | ||
| + | |||
| + | |||
| + | Get-NetAdapter | ||
| + | |||
| + | Name InterfaceDescription | ||
| + | ---- -------------------- | ||
| + | LAN_OSNIC | ||
| + | Lan_2 | ||
| + | LAN_OSNIC_ISCSI | ||
| + | LAN_10G | ||
| + | Lan_3 | ||
| + | LAN_iSCSI_10G | ||
| + | vEthernet (LAN_DATA1) | ||
| + | Lan_1 | ||
| + | |||
| + | |||
| + | Rename-NetAdapter -Name " | ||
| + | |||
| Get-NetAdapter -Name LAN_DATA1 | New-NetIPAddress -IPAddress 192.168.10.100 | Get-NetAdapter -Name LAN_DATA1 | New-NetIPAddress -IPAddress 192.168.10.100 | ||
| </ | </ | ||
| + | |||
| + | * Assignation | ||
| + | <code powershell> | ||
| + | Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName " | ||
| + | </ | ||
| + | |||
| + | * ou trunk | ||
| + | <code powershell> | ||
| + | Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName " | ||
| + | </ | ||
| + | |||
| \\ | \\ | ||
| == Désactiver une carte == | == Désactiver une carte == | ||