segunda-feira, 1 de dezembro de 2014

Reiniciar Interface de Rede VMWARE



  1. Log in to SSH or Local console as root.
  2. Run these commands:

    /etc/init.d/hostd restart
    /etc/init.d/vpxa restart

    Note: In ESXi 4.x, run this command to restart the vpxa agent:

    service vmware-vpxa restart

  • To reset the management network on a specific VMkernel interface, by default vmk0, run the command:

    esxcli network ip interface set -e false -i vmk0; esxcli network ip interface set -e true -i vmk0
    Note: Using a semicolon (;) between the two commands ensures the VMkernel interface is disabled and then re-enabled in succession. If the management interface is not running on vmk0, change the above command according to the VMkernel interface used.
  • To restart all management agents on the host, run the command: restart

Comandos adicionais:
To verify the config:
esxcfg-vswitch vsift -l
Configuring VLANs:
esxcfg-vswitch -v <VLAN> -p “Service Console” vSwitch0
Check if a port-group already exists:
esxcfg-vswitch -C VMotion
List DNS servers and Search Domains:
esxcli network ip dns search list
esxcli network ip dns server list
VMware’s ifconfig:
esxcli network ip interface list
VMware’s netstat:
esxcli network ip connection list

Nenhum comentário:

Postar um comentário