[vbox-dev] Is it possible to retrieve the ip addresses of a guest machine?
the.warl0ck.1989 at gmail.com
Tue Dec 10 16:01:03 UTC 2013
Hah It has to be two different persons who wrote the code of these commands ;-P
On Tue, Dec 10, 2013 at 3:36 PM, Frank Mehnert <frank.mehnert at oracle.com> wrote:
> 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
> vbox-dev mailing list
> vbox-dev at virtualbox.org
Aaron Lewis - PGP: 0xDFE6C29E ( http://keyserver.veridis.com )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
More information about the vbox-dev