The Computer Oracle

How to find the IP Address of a VM running on VMware (or other methods of using VM)

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Cosmic Puzzle

--

Chapters
00:00 How To Find The Ip Address Of A Vm Running On Vmware (Or Other Methods Of Using Vm)
01:05 Answer 1 Score 2
01:25 Accepted Answer Score 43
02:08 Answer 3 Score 12
02:41 Answer 4 Score 4
02:57 Thank you

--

Full question
https://superuser.com/questions/433988/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#ip #vmwareworkstation

#avk47



ACCEPTED ANSWER

Score 43


First Go in the Virtual Machine Settings.

Found the MAC address

Then in the Network Section, click the Advanced button and read the MAC address

Then in the console execute: arp -a

C:\>arp -a
Interface: 10.98.79.23 --- 0xb
  Internet Address      Physical Address      Type
  10.98.79.10           b8-ac-6f-cb-a1-80     dynamic
  10.98.79.12           78-2b-cb-aa-51-bf     dynamic

Interface: 192.168.20.1 --- 0x1c
  Internet Address      Physical Address      Type
  192.168.20.128        00-0c-29-56-bd-36     dynamic
  192.168.20.255        ff-ff-ff-ff-ff-ff     static

Find the MAC address in the displayed list (That you found in advance setting of network adapter above) and the IP will be on the side of this particular MAC Address.

In this case the IP is: 192.168.20.128




ANSWER 2

Score 12


Please check, if not those input devices are connected to the guest OS as USB devices? Once disconnecting them, they should become accessible to the host OS - and therefore operational.

on Linux the command is:

ip addr

or the rather obsolete:

ifconfig

the equivalent command on Windows is:

ipconfig /all

while the output looks about like that:

eno16777984: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.2.101 netmask 255.255.255.0  broadcast 192.168.2.255
    ...



ANSWER 3

Score 4


On Windows 7,

  1. Copied the MAC address to the clipboard
  2. Open C:\ProgramData\VMware\vmnetdhcp.leases in Notepad
  3. Search for the MAC address string.



ANSWER 4

Score 2


There is a built-in VNC service in Workstation. I've not used it, but the config (below) would seem to suggest that you could enable it, and use your host's IP with a particular port with any of a number of VNC clients to gain control of your virtual machine.

VMWare Workstation VNC Config Setup