Home:ALL Converter>Get IP of VM running on an Ubuntu server configured on bridged networking

Get IP of VM running on an Ubuntu server configured on bridged networking

Ask Time:2016-04-20T21:28:12         Author:welthenwel

Json Formatter

I want to set up an exported VM on an Ubuntu Server using VirtualBox on headless mode.

I have the VM up and running and bridged with the ethernet interface of the host (em1), so the dhcp of the host should now assign an IP to the VM if I'm not mistaken.

Is there a way to check if this is working and if yes to get the VM's IP? Since this is on headless mode so without GUI, the only way to login to the VM is through ssh and for that I need the IP..

Author:welthenwel,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/36745377/get-ip-of-vm-running-on-an-ubuntu-server-configured-on-bridged-networking
Eugen :

welthenwel, \nyou can do this with VBoxManage.\nfrom a shell, just type:\n\nVBoxManage guestproperty enumerate VM_NAME --pattern */IP\n\n\nand you will get as response something like in the below image.\n\n\n\nnow, ignore the fact that I run this cmd from a Windows host, because its behaves exactly the same from inside a linux host",
2016-04-21T12:59:27
yy