[vbox-dev] How-to get network statistics and guest IP addresses from python API ?

Alexey Eromenko al4321 at gmail.com
Thu May 19 10:26:13 GMT 2011


One more Q: How-to match between multiple vNICs and multiple IP addresses ?

vNIC1:
10.0.1.1/24

vNIC2:
20.0.1.1/24
20.0.2.1/24
20.0.3.1/24

vNIC3:
30.0.1.1/24
30.0.2.1/24

$ VBoxManage guestproperty enumerate "VM 01"
shows them all... without matching to vNICs.

I get:
Name: /VirtualBox/GuestInfo/Net/1/V4/IP, value: 10.0.3.1, timestamp:
1305796398528785000, flags:
...Net/2/V4/IP
...Net/3/V4/IP
...

How do I know which IP belongs to which vNIC ?

Thanks in advance,
-- 
-Alexey Eromenko "Technologov"




More information about the vbox-dev mailing list