Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have started virtualmachine using virtualbox in a remote machine (Cent OS) in headless mode with bridgenetwork settings. I have attached a hard disk which already has ubuntu 11.10 installed on it ?

Is there any way i can find out which ip address was allocated to the VirtualBox when it has started ?

I tried going through logs but i am not able to find anything ? I cannot do a remote desktop in to the machine, so i am wondering if i can somehow find out the ip address allocated and then ssh in to the machine directly.

I am not sure how possible is this but i just wanted to ask if any one has encountered this kind of situation.

Thank you

share|improve this question

migrated from Oct 31 '12 at 8:59

This question came from our site for professional and enthusiast programmers.

The guest IP address is chosen by the DHCP server in the network your host system is attached to. As bridged network traffic is directly transfered into the hosts network adapter you will not find anything in the logs on the host system.

Therefore there are two possibilities:

  1. Use the MAC address of the guest system and try to compare it with the data from the DHCP server
  2. If the guest is in the same subnet as the host perform a full nmap subnet scan with running guest and afterwards with paused/shutdown guest. On of the missing hosts should be the virtual machine.
share|improve this answer
Thank you. I have overcome the problem when the system administrator allowed me to do X forwarding. – kich Nov 1 '12 at 14:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.