Page 1 of 1

VBoxManage cannot assign network settings correctly

Posted: 19. May 2015, 12:40
by serov
Hi!

I'm using win7 and cygwin (vbox 4.3.28). Time to time VBoxManage cannot assign network settings correctly at the first time to the network interface. If I run the command secondary all will work OK.

The outputs of command:

Creating host-only interface
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Configuring IP address 10.20.0.1 and network mask 255.255.255.0 on interface: VirtualBox Host-Only Ethernet Adapter...
+ VBoxManage hostonlyif ipconfig 'VirtualBox Host-Only Ethernet Adapter' --ip 10.20.0.1 --netmask 255.255.255.0
+ set +x
Current IP and mask: 0.0.0.0/255.255.255.0
Reassign network settings. Waiting...
sleep 5s
+ VBoxManage hostonlyif ipconfig 'VirtualBox Host-Only Ethernet Adapter' --ip 10.20.0.1 --netmask 255.255.255.0
+ set +x
Current IP and mask: 0.0.0.0/255.255.255.0
Verifying interface VirtualBox Host-Only Ethernet Adapter has IP 10.20.0.1 and mask 255.255.255.0 properly set.
New IP address 10.20.0.1 does not match the applied one 169.254.89.92

Which services I should check before assign network settings to interface?
Could you help me please?

Re: VBoxManage cannot assign network settings correctly

Posted: 19. May 2015, 15:43
by noteirak
are you running the vboxmanage command in a cygwin prompt or in a regular windows prompt?

Re: VBoxManage cannot assign network settings correctly

Posted: 19. May 2015, 17:35
by serov
I'm running the vboxmanage command in a cygwin prompt

Re: VBoxManage cannot assign network settings correctly

Posted: 21. May 2015, 16:10
by noteirak
Try in a regular windows prompt please and let us know if it works better. I would strongly suggest to reboot if you've tried in cygwin since last boot to avoid any settings remaining in memory.