Vmware Vswitch CLI

Aus Xinux Wiki
Version vom 30. April 2024, 07:24 Uhr von Thomas.will (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen
# HV02 und HV03
# 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