Vmware: Difference between revisions

From DWIKI
mNo edit summary
Line 25: Line 25:
  esxcli network ip interface ipv4 get
  esxcli network ip interface ipv4 get


==Set network address
==Set network address==
  esxcli network ip interface ipv4 set -i vmk0 -t static --ipv4=192.168.12.11 -N 255.255.255.0
  esxcli network ip interface ipv4 set -i vmk0 -t static --ipv4=192.168.12.11 -N 255.255.255.0



Revision as of 13:21, 20 February 2019

Links

FAQ

Cloning on command line

Used vmkfstool and create new VM using "Use existing virtual disk"

Info

esxtop

Remount nfs


Get system UUID

esxcli system uuid get


Network configuration

https://www.altaro.com/vmware/vsphere-networking-basics-part-1/

Show network addresses

esxcli network ip interface ipv4 get

Set network address

esxcli network ip interface ipv4 set -i vmk0 -t static --ipv4=192.168.12.11 -N 255.255.255.0

Show routing table

 esxcli network ip route ipv4 list


Show VM information

vim-cmd vmsvc/getallvms
vim-cmd vmsvc/get.guest <vmid>