Page 1 of 1
Losing network connectivity
Posted: 31. May 2012, 20:16
by TusharDesai
Ubuntu 12.04 (x86-64) running in VirtualBox 4.1.16 on Windows 7 host
The machine loses network connectivity after some time of inactivity (i.e. no network traffic). Pings to router don't work. However, the network is still reachable from the windows host.
When the machine is software reboot or shutdown, it hangs.
This has been happening since last week -- possibly due to some software update. Anyone seen this? Can someone please help me debug this?
Re: Losing network connectivity
Posted: 3. Jun 2012, 17:42
by martyscholes
TelliameD wrote:Ubuntu 12.04 (x86-64) running in VirtualBox 4.1.16 on Windows 7 host
The machine loses network connectivity after some time of inactivity (i.e. no network traffic). Pings to router don't work. However, the network is still reachable from the windows host.
When the machine is software reboot or shutdown, it hangs.
This has been happening since last week -- possibly due to some software update. Anyone seen this? Can someone please help me debug this?
This sounds maybe like a MAC address issue. Is the NIC configured in bridge or NAT mode? Is the MAC address on the guest used elsewhere in your network? Has anything changed recently on your network? Is any other network device having problems while Ubuntu is working ok?
Re: Losing network connectivity
Posted: 29. Jun 2012, 10:03
by fezoj
Hi there,
I have similar problem but host: Ubuntu 12.04 LTS, guest: Ubuntu 12.04 LTS.
And when I want to reboot guest, it freezes in deconfiguring network interfaces, also it freezes when restart networking (/etc/inid.d/networking restart)
it happens when restoring from savestate.
please help.
Re: Losing network connectivity
Posted: 10. Jul 2012, 07:44
by fezoj
problem with deconfiguring network interfaces persists...
here is my ifconfig:
Code: Select all
eth1 Link encap:Ethernet HWaddr 20:02:00:20:01:51
inet addr:200.200.200.151 Bcast:200.200.200.255 Mask:255.255.255.0
inet6 addr: fe80::2202:ff:fe20:151/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:929517 errors:0 dropped:48869 overruns:0 frame:0
TX packets:4344413 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:146973793 (146.9 MB) TX bytes:5808596280 (5.8 GB)
eth1:0 Link encap:Ethernet HWaddr 20:02:00:20:01:51
inet addr:200.200.200.1 Bcast:200.200.200.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:57702 errors:0 dropped:0 overruns:0 frame:0
TX packets:57702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12987089 (12.9 MB) TX bytes:12987089 (12.9 MB)
after some investigating I fount out that this commands(/etc/init.d/networking):
Code: Select all
ifdown -a --exclude=lo || true
if ifup -a --exclude=lo then
...
else
...
fi
returns error:
Code: Select all
RTNETLINK answers: File exists
Failed to bring up eth1:0
I followed this link :
http://www.linuxquestions.org/questions ... l5-710766/
But after accompllished this guide I cannot ping host from guest and vica versa...
Can it be problem with virtualbox ?
p.s. sorry for my english
Re: Losing network connectivity
Posted: 10. Jul 2012, 14:41
by Perryg
@fezoj
I see eth1 and eth1:0 in your configuration. It really should be eth0. Is there a reason for the second binding in you network config? (eth*:0)
Linux really wants to see eth0 as the default and you can fix that by the following.
edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot