Retrieve IP address of guest
Posted: 23. May 2018, 12:23
I've been searching how to obtain the IP address of a guest VM. I found a way to do that using VBoxManage (enumerate), which can display the IP. However, to be able to use that successfully, one must install the Guest Addons, which are not available for Mac OS X Hosts.
So, is there another way to achieve this? The problem is that I cannot login to my VM, because I do not have an account on it. It is running a webserver, and it is intended to be accessed by a browser (but then you need to know the IP address first, of course).
I know the guest VM is getting an IP address assigned using DHCP (which is taken care of by virtualbox) and it is configured with "Host-only" networking.
I tried to run a scan with (ping) scan with nmap, but I was unable to find it (while it was running).
Any idea how to tackle this? Thanks!
So, is there another way to achieve this? The problem is that I cannot login to my VM, because I do not have an account on it. It is running a webserver, and it is intended to be accessed by a browser (but then you need to know the IP address first, of course).
I know the guest VM is getting an IP address assigned using DHCP (which is taken care of by virtualbox) and it is configured with "Host-only" networking.
I tried to run a scan with (ping) scan with nmap, but I was unable to find it (while it was running).
Any idea how to tackle this? Thanks!