Ticket #4680 (closed enhancement: duplicate)
If network settings are changed on host in lifetime of guest, guest can't access network
|Reported by:||abcuser||Owned by:|
I have a notebook with Windows XP SP3 on host and Ubuntu 9.04 on guest. With the same notebook I work at home and at my company. My home network is using dynamic IPs, DNS etc assigned from ISV. In my company I have static IPs.
- Network is working fine on host and guest. I use NAT network settings in VirtualBox for this guest.
- I press <CTRL>+P to pause guest Ubuntu.
- I hibernate Windows XP.
At my company:
- I turn on PC to Windows wake-up from hibernation.
- Change network settings on Windows host, so programs on host can normally access network/internet.
- Switch to Ubuntu guest, press <CTRL>+P to un-pause the guest.
- Check if guest network is working, but it is not working. For example executing: sudo apt-get update returns that there is no server available. The same in Firefox "server not available".
- Try to restart-network like:
sudo service networking restart
sudo /etc/init.d/ networking restart
sudo ifconfig eth3 down (my network card is eth3, checked with ifconfig command).
None of the above commands work. So I try to reboot, so execute: sudo reboot After reboot network is still not working. So I try to halt, so execute: sudo halt System goes down and after manually turning on the system network/internet works fine.
The same problem I have when I come home from work, network is not working. The only work-around I have is halting the system and turning it on again.
It is just annoying and time consuming to must halting guest just to start working.
I have discussed this problem on forum: http://forums.virtualbox.org/viewtopic.php?f=18&t=18913&p=90142 and got a suggestion to open a bug report.
It would be nice if some kind of settings like Device | USB Device check button would be available to recheck the network settings.