VMWare Kernel NetAdpater: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=Liste der | = Liste der VMkernel Netzwerkadapter anzeigen = | ||
* | *esxcli network ip interface list | ||
= | |||
* | = VMkernel Netzwerkadapter entfernen = | ||
= | *esxcli network ip interface remove --interface-name=vmkX | ||
* | |||
= VMkernel Netzwerkadapter zu einer Portgruppe hinzufügen = | |||
*esxcli network ip interface add --interface-name=vmkX --portgroup-name=PG-Name | |||
*esxcli network ip interface ipv4 set --interface-name=vmkX --type=static --ipv4=192.168.1.2 --netmask=255.255.255.0 | |||
= Portgruppe löschen = | |||
*esxcli network vswitch standard portgroup remove --portgroup-name=PG-Name --vswitch-name=vSwitchX | |||
= vSwitch erstellen = | |||
*esxcli network vswitch standard add --vswitch-name=vSwitch_Extern | |||
= Uplinks zum vSwitch hinzufügen = | |||
*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 | |||
= Load Balancing auf Basis des Quell-MAC-Hashs konfigurieren = | |||
*esxcli network vswitch standard policy failover set --load-balancing=mac --vswitch-name=vSwitch_Extern | |||
= Alle Adapter als aktiv einstellen = | |||
*esxcli network vswitch standard policy failover set --active-uplinks=vmnic3,vmnic4 --vswitch-name=vSwitch_Extern | |||
= vSwitch erstellen = | |||
*esxcli network vswitch standard add --vswitch-name=vSwitch_Extern | |||
= Uplinks zum vSwitch hinzufügen = | |||
*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 | |||
= Load Balancing auf Basis des Quell-MAC-Hashs konfigurieren = | |||
*esxcli network vswitch standard policy failover set --load-balancing=mac --vswitch-name=vSwitch_Extern | |||
= Alle Adapter als aktiv einstellen = | |||
*esxcli network vswitch standard policy failover set --active-uplinks=vmnic3,vmnic4 --vswitch-name=vSwitch_Extern | |||
= Portgruppe mit VLAN auf vSwitch hinzufügen = | |||
*esxcli network vswitch standard portgroup add --portgroup-name=Management --vswitch-name=vSwitch0 | |||
*esxcli network vswitch standard portgroup set --portgroup-name=Management --vlan-id=3121 | |||
*esxcli network vswitch standard portgroup policy failover set --portgroup-name=PG-MGMT --active-uplinks=vmnic1 --standby-uplinks=vmnic2 | |||
Aktuelle Version vom 25. März 2024, 18:02 Uhr
Liste der VMkernel Netzwerkadapter anzeigen
- esxcli network ip interface list
VMkernel Netzwerkadapter entfernen
- esxcli network ip interface remove --interface-name=vmkX
VMkernel Netzwerkadapter zu einer Portgruppe hinzufügen
- esxcli network ip interface add --interface-name=vmkX --portgroup-name=PG-Name
- esxcli network ip interface ipv4 set --interface-name=vmkX --type=static --ipv4=192.168.1.2 --netmask=255.255.255.0
Portgruppe löschen
- esxcli network vswitch standard portgroup remove --portgroup-name=PG-Name --vswitch-name=vSwitchX
vSwitch erstellen
- esxcli network vswitch standard add --vswitch-name=vSwitch_Extern
Uplinks zum vSwitch hinzufügen
- 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
Load Balancing auf Basis des Quell-MAC-Hashs konfigurieren
- esxcli network vswitch standard policy failover set --load-balancing=mac --vswitch-name=vSwitch_Extern
Alle Adapter als aktiv einstellen
- esxcli network vswitch standard policy failover set --active-uplinks=vmnic3,vmnic4 --vswitch-name=vSwitch_Extern
vSwitch erstellen
- esxcli network vswitch standard add --vswitch-name=vSwitch_Extern
Uplinks zum vSwitch hinzufügen
- 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
Load Balancing auf Basis des Quell-MAC-Hashs konfigurieren
- esxcli network vswitch standard policy failover set --load-balancing=mac --vswitch-name=vSwitch_Extern
Alle Adapter als aktiv einstellen
- esxcli network vswitch standard policy failover set --active-uplinks=vmnic3,vmnic4 --vswitch-name=vSwitch_Extern
Portgruppe mit VLAN auf vSwitch hinzufügen
- esxcli network vswitch standard portgroup add --portgroup-name=Management --vswitch-name=vSwitch0
- esxcli network vswitch standard portgroup set --portgroup-name=Management --vlan-id=3121
- esxcli network vswitch standard portgroup policy failover set --portgroup-name=PG-MGMT --active-uplinks=vmnic1 --standby-uplinks=vmnic2