Dienstag, 14. Dezember 2010

ESX Host: Netzwerk Interfaces konfigurieren (vswif,vswitch)

Konfiguration der virtuellen NetzwerkSwitche (vswif,vswitch)

Log in to the Service Console as root from the physical service console or KVM.
Note: SSH causes a disconnection.

Execute the following commands:
esxcfg-nics –l
esxcfg-vswitch –l
esxcfg-vswif –l

Note: These commands provide a list of current configuration, even if no uplinks are listed in esxcfg-vswitch –l. If any of the commands produces an error, you may have to rebuild the host as this procedure may not resolve the issue.

Delete vswif0 with the command:
esxcfg-vswif –d vswif0

Delete portgroup from vSwitch0 with the command:
esxcfg-vswitch –D “Service Console” vSwitch0

Delete vSwitch0 with the command:
esxcfg-vswitch –d vSwitch0

Create vSwitch0 with the command:
esxcfg-vswitch –a vSwitch0

Create portgroup with the command:
esxcfg-vswitch –A “Service Console” vSwitch0

Add the NIC uplink with the command:
esxcfg-vswitch –L vmnic7 vSwitch0

Add the service console node with the command:
esxcfg-vswif –a vswif0 –i 123.123.123.123 –n 255.255.xxx.x –p “Service Console”

Keine Kommentare: