Announcement

Collapse
No announcement yet.

Changing VM IP Address from SSH session - ESXI 5.5

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Changing VM IP Address from SSH session - ESXI 5.5

    Hello!
    I have SSH access directly to an ESXI 5.5 host using putty.
    I can see a VM running that I want to change the IP address of, now, I can VIEW the IP address by running the following command;
    vim-cmd vmsvc/get.summary VMID | egrep '(ip)'

    However I cannot for the life of me work out how to change the IP. I have all the credentials etc of the VM if required. The VM also has vmware tools installed if that helps?

    Please help.
    Thanks
    Mark

  • #2
    You have to do that through a tool/command inside the guest OS I believe - you can invoke the action from outside the VM though using something like PowerCLI - some references for you:

    http://www.virtu-al.net/2010/02/05/p...voke-vmscript/
    http://www.virten.net/2013/06/run-sc...-vmware-tools/
    VCP2 / VCP3 / VCP4 / VCP 5 / VCAP-DCA4 / VCI / vExpert 2010-2012

    Comment

    Working...
    X