Vmware Netzwerk Komplett: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „<pre> # vswitche # HV02 und HV03 # vSwitch_Mgmt mit vmnic1 und vmnic2 erstellen und konfigurieren esxcli network vswitch standard add --vswitch-name=vSwitch_M…“) |
(kein Unterschied)
|
Aktuelle Version vom 3. Juni 2025, 18:38 Uhr
# vswitche # 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 # PG-MGMT esxcli network vswitch standard portgroup add --portgroup-name=PG-MGMT --vswitch-name=vSwitch_Mgmt esxcli network vswitch standard portgroup set --portgroup-name=PG-MGMT --vlan-id=21 esxcli network vswitch standard portgroup policy failover set --portgroup-name=PG-MGMT --active-uplinks=vmnic1 --standby-uplinks=vmnic2 # PG-ISCSI esxcli network vswitch standard portgroup add --portgroup-name=PG-ISCSI --vswitch-name=vSwitch_Mgmt esxcli network vswitch standard portgroup set --portgroup-name=PG-ISCSI --vlan-id=26 esxcli network vswitch standard portgroup policy failover set --portgroup-name=PG-ISCSI --active-uplinks=vmnic1 # PG-VMOTION esxcli network vswitch standard portgroup add --portgroup-name=PG-VMOTION --vswitch-name=vSwitch_Mgmt esxcli network vswitch standard portgroup set --portgroup-name=PG-VMOTION --vlan-id=26 esxcli network vswitch standard portgroup policy failover set --portgroup-name=PG-VMOTION --active-uplinks=vmnic2 --standby-uplinks=vmnic1 # PG-FT esxcli network vswitch standard portgroup add --portgroup-name=PG-FT --vswitch-name=vSwitch_Mgmt esxcli network vswitch standard portgroup set --portgroup-name=PG-FT --vlan-id=26 esxcli network vswitch standard portgroup policy failover set --portgroup-name=PG-FT --active-uplinks=vmnic1 # PG-VM-MGMT esxcli network vswitch standard portgroup add --portgroup-name=PG-VM-MGMT --vswitch-name=vSwitch_Mgmt esxcli network vswitch standard portgroup set --portgroup-name=PG-VM-MGMT --vlan-id=21 esxcli network vswitch standard portgroup policy failover set --portgroup-name=PG-VM-MGMT --active-uplinks=vmnic1,vmnic2 # PG-VM-SERVER-E-VLAN-260 esxcli network vswitch standard portgroup add --portgroup-name=PG-VM-SERVER-E-VLAN-260 --vswitch-name=vSwitch_Extern esxcli network vswitch standard portgroup set --portgroup-name=PG-VM-SERVER-E-VLAN-260 --vlan-id=260 esxcli network vswitch standard portgroup policy failover set --portgroup-name=PG-VM-SERVER-E-VLAN-260 --active-uplinks=vmnic3,vmnic4 # PG-VM-CLIENTS-E-VLAN-260 esxcli network vswitch standard portgroup add --portgroup-name=PG-VM-CLIENTS-E-VLAN-260 --vswitch-name=vSwitch_Extern esxcli network vswitch standard portgroup set --portgroup-name=PG-VM-CLIENTS-E-VLAN-260 --vlan-id=260 esxcli network vswitch standard portgroup policy failover set --portgroup-name=PG-VM-CLIENTS-E-VLAN-260 --active-uplinks=vmnic3,vmnic4 # PG-VM-UNUSED esxcli network vswitch standard portgroup add --portgroup-name=PG-VM-UNUSED --vswitch-name=vSwitch_Extern esxcli network vswitch standard portgroup set --portgroup-name=PG-VM-UNUSED --vlan-id=999 # PG-VM-SERVER-I-VLAN-300 esxcli network vswitch standard portgroup add --portgroup-name=PG-VM-SERVER-I-VLAN-300 --vswitch-name=vSwitch_Intern esxcli network vswitch standard portgroup set --portgroup-name=PG-VM-SERVER-I-VLAN-300 --vlan-id=300 # PG-VM-CLIENTS-I-VLAN-400 esxcli network vswitch standard portgroup add --portgroup-name=PG-VM-CLIENTS-I-VLAN-400 --vswitch-name=vSwitch_Intern esxcli network vswitch standard portgroup set --portgroup-name=PG-VM-CLIENTS-I-VLAN-400 --vlan-id=400 #Kernel Adapater #HV02 # VMkernel-Port für vMotion erstellen esxcli network ip interface add --interface-name=vmk1 --portgroup-name=PG-VMOTION esxcli network ip interface tag add --interface-name=vmk1 --tagname=VMotion esxcli network ip interface ipv4 set --interface-name=vmk1 --ipv4=172.26.1.202 --netmask=255.255.0.0 --type=static # VMkernel-Port für Fault Tolerance-Protokollierung erstellen esxcli network ip interface add --interface-name=vmk2 --portgroup-name=PG-FT esxcli network ip interface tag add --interface-name=vmk2 --tagname=faultToleranceLogging esxcli network ip interface ipv4 set --interface-name=vmk2 --ipv4=172.26.2.202 --netmask=255.255.0.0 --type=static # VMkernel-Port für iSCSI verwenden esxcli network ip interface add --interface-name=vmk3 --portgroup-name=PG-ISCSI esxcli network ip interface ipv4 set --interface-name=vmk3 --ipv4=172.26.3.202 --netmask=255.255.0.0 --type=static