Vmware Vswitch CLI: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
 
(kein Unterschied)

Aktuelle Version vom 25. März 2024, 18:08 Uhr

# vSwitch_Mgmt mit vmnic1 und vmnic2 erstellen und konfigurieren

esxcli network vswitch standard add --vswitch-name=vSwitch_Mgmt
esxcli network vswitch standard uplink add --uplink-name=vmnic1 --vswitch-name=vSwitch_Mgmt
esxcli network vswitch standard uplink add --uplink-name=vmnic2 --vswitch-name=vSwitch_Mgmt
esxcli network vswitch standard policy failover set --load-balancing=mac --vswitch-name=vSwitch_Mgmt
esxcli network vswitch standard policy failover set --active-uplinks=vmnic1,vmnic2 --vswitch-name=vSwitch_Mgmt

# vSwitch_Extern mit vmnic3 und vmnic4 erstellen und konfigurieren

esxcli network vswitch standard add --vswitch-name=vSwitch_Extern
esxcli network vswitch standard uplink add --uplink-name=vmnic3 --vswitch-name=vSwitch_Extern
esxcli network vswitch standard uplink add --uplink-name=vmnic4 --vswitch-name=vSwitch_Extern
esxcli network vswitch standard policy failover set --load-balancing=mac --vswitch-name=vSwitch_Extern
esxcli network vswitch standard policy failover set --active-uplinks=vmnic3,vmnic4 --vswitch-name=vSwitch_Extern

#vSwitch_Intern ohne Uplink-Adapter erstellen

esxcli network vswitch standard add --vswitch-name=vSwitch_Intern