I am not used to post on forums, in general I find answers on them, and don't need to post. So sorry if I don't respect rules, I will do my best !
I am doing some tests on host Windows XP SP 3. My problem is not related to guests (no need to have one to reproduce), but only concerns the host.
The problem is related to Host-only Ethernet adapter naming :
Since v5.0.4, when the adapter is created, the name of the adapter changes with qos activation :
- When not activated : the name is "old-style" : << VirtualBox Host-Only Ethernet Adapter #xxx >>
- When activated : the name is "new-style" : << VirtualBox Host-Only Ethernet Adapter #xxx - Packet Scheduler Miniport >>
Note that when you create the network interface, using VboxManage or the GUI, returned name is "old-style". However if you list Host-Only interfaces, new name appears.
Code: Select all
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe hostonlyif create
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interface 'VirtualBox Host-Only Ethernet Adapter #2' was successfully created
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe list hostonlyifs
Name: VirtualBox Host-Only Ethernet Adapter - Packet Scheduler Miniport
GUID: 0c90cec1-0a9c-4614-a8d5-2017a1febe20
DHCP: Disabled
IPAddress: 192.168.56.1
NetworkMask: 255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 08:00:27:00:ac:6a
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter - Packet Scheduler Miniport
Name: VirtualBox Host-Only Ethernet Adapter #2 - Packet Scheduler Miniport
GUID: 49898e7e-fdf9-42bc-8f08-f87814373d12
DHCP: Disabled
IPAddress: 192.168.186.1
NetworkMask: 255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 08:00:27:00:0c:65
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2 - Packet Scheduler Miniport
- create the hostonly interface (vboxmanage hostonlyif create)
- get the name from the output
- configure the interface (vboxmanage hostonlyif ipconfig "%interfaceName%" --ip...)
But since the name returned by "create" is not the name to use for "ipconfig", my script fails.
This problem did not appear on W7 or on another XP SP3 with no qos installed on any other interface.
So here are my questions :
- Is this the expected behaviour ?
- Why did this change between v5.0.2 and v5.0.4 ?
- Should I create a bug ticket ?
- Is there a way to tell VirtualBox not to activate qos on the interface ?
- Do you see an easy way to get the real interface name after creating it so I can configure it with my script ?
Thank you for your help !
Christophe