[vbox-dev] How-to get network statistics and guest IP addresses from python API ?
klaus.espenlaub at oracle.com
Thu May 19 11:25:11 PDT 2011
On 19.05.2011 12:26, Alexey Eromenko wrote:
> One more Q: How-to match between multiple vNICs and multiple IP addresses ?
By MAC address... we didn't put it there by accident.
Different guest OSes have different (and generally unspecified)
strategies for enumerating network cards, so it's impossible to have the
guest additions report the information in the order the host expects.
> $ 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:
> How do I know which IP belongs to which vNIC ?
> Thanks in advance,
More information about the vbox-dev