Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using centos 6.2 guest on a Mavericks host in VirtualBox 4.2.18.

The guest was working fine for maybe a few dozen sleep/wake-up cycles. But then the internet connectivity mysteriously disappeared. It has not returned again on multiple additional sleep/wake-ups.

Here is networking info:

Linux localhost.localdomain 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[cloudera@localhost ~]$ ifconfig -a
eth1      Link encap:Ethernet  HWaddr 08:00:27:EB:4E:4D  
          inet addr:  Bcast:  Mask:
          RX packets:600745 errors:0 dropped:0 overruns:0 frame:0
          TX packets:454956 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:424847635 (405.1 MiB)  TX bytes:46180137 (44.0 MiB)

lo        Link encap:Local Loopback  
          inet addr:  Mask:
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:44851827 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44851827 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:60169754058 (56.0 GiB)  TX bytes:60169754058 (56.0 GiB)

UPDATE After stopping the VM and restarting networking came back up. But .. is there a way to revive the internet connection without a restart?

share|improve this question
I have this same issue. Any luck? – thesmart Aug 13 '14 at 17:51
Networking on virtualbox seems to be hit and miss. With an Ubuntu Host - and the same CentOs Guest - I end up doing sudo service network restart pretty often. As mentioned here, on mac the solution is worse. – javadba Aug 13 '14 at 18:23
I ended up running this on Ubuntu guest every time host wifi changes: sudo dhclient -r && sudo dhclient eth0 and also using the bridged adapter. – thesmart Aug 27 '14 at 23:47
@thesmart I did something along the same lines: sudo service network restart – javadba Aug 28 '14 at 4:27
I have the same issue with a centos virtualbox on windows 8. Hey! sudo service network restart works! Since ya didn't make it an answer, ima steal it ; ) (feel free to steal back) – B T Sep 8 '14 at 18:32
up vote 0 down vote accepted

The reliable way to obtain network availability without a restart is:

sudo service network restart
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.