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

Aaron Lewis the.warl0ck.1989 at gmail.com
Tue Dec 10 00:18:31 GMT 2013


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



-- 
Best Regards,
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 mailing list