[vbox-dev] Is it possible to retrieve the ip addresses of a guest machine?

Frank Mehnert frank.mehnert at oracle.com
Tue Dec 10 07:36:03 GMT 2013


the syntax is still

  VBoxManage guestproperty enumerate <UUID|VMName>

so first comes 'enumerate' and after that comes a UUID or the VM name.
This didn't change between VBox 4.2.x and VBox 4.3.x. I think this is a
design flaw because all other VBoxManage commands ake the UUID|VNName
first and the subcommand ('enumerate' in this case) next. But currently
there are no intentions to change this.

Kind regards,


On Tuesday 10 December 2013 01:18:31 Aaron Lewis wrote:
> Hi Klaus,
> It works, thanks.
> BTW: With VBox 4.2.18 the command is "guestproperty enumerate uuid",
> was the syntax changed in 4.3?
> On Tue, Dec 10, 2013 at 1:32 AM, Klaus Espenlaub
> <klaus.espenlaub at oracle.com> wrote:
> > Hi Aaron,
> > 
> > On 08.12.2013 05:08, Aaron Lewis wrote:
> >> Hi,
> >> 
> >> Is it possible to retrieve the IP address (all NICs) of a guest
> >> machine, from a host machine?
> >> I mean, without logging onto them and type several commands)
> >> 
> >> (I want to do this for both Linux and Windows vms.)
> > 
> > As long as the VMs have guest additions installed they will push the
> > network config over to the host, check the whole list with "VBoxManage
> > getguestproperty <vmname> enumerate"
> > 
> > Of course this has the details of all network interfaces which the guest
> > knows about, in the order they're enumerated by the guest OS (which can
> > vary). To match it to the VM's network cards use the MAC address.
> > 
> > Klaus

Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20131210/f193f51a/attachment.sig>

More information about the vbox-dev mailing list