VBoxManage cannot assign network settings correctly

Discussions related to using VirtualBox on Windows hosts.
Post Reply
serov
Posts: 11
Joined: 12. Mar 2015, 14:30

VBoxManage cannot assign network settings correctly

Post 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?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: VBoxManage cannot assign network settings correctly

Post by noteirak »

are you running the vboxmanage command in a cygwin prompt or in a regular windows prompt?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
serov
Posts: 11
Joined: 12. Mar 2015, 14:30

Re: VBoxManage cannot assign network settings correctly

Post by serov »

I'm running the vboxmanage command in a cygwin prompt
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: VBoxManage cannot assign network settings correctly

Post 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.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply