Network disconnected after waking up from pause
Posted: 30. Dec 2016, 13:02
Hi,
my setup is an up-to-date Debian Testing 64 bit VM on an OS X host. I'm accessing the internet from the VM by the Intel 1000/MT Pro NIC, eth0 interface through NAT on the host.
For longer time now I've had issues with the network connection after waking the VM up from a pause. If I remember correctly it started with Virtualbox 5.1.
From the reboot until I pause the VM everything is fine. After waking up the VM and running it a few seconds the Network Manager in the tray shows me that the VM disconnected. Until guest additions 5.1.8 and kernel 4.6.0.1 I could reconnect by the Network Manager. Now with kernel 4.8.0.2 and guest additions 5.1.12 not even this works anymore. Sudo'ing and running 'ifconfig eth0 down && ifconfig eth0 10.0.2.15 up' brings back the connection but I can't browse anymore.
Going back to kernel 4.6.0.1 with newly compiled guest additions 5.1.12 ends up the same now. Below you find the output of ifconfig eth0 and dmesg | grep -i eth0.
I don't have this issue with Fedora 24 (kernel 4.8.15) and Linux Mint 18 (kernel 4.4.0.57) and guest additions 5.1.12.
To me the cause is either in Debian or Virtualbox. Do you have any ideas how to track this issue down and eventually solve it?
Thank you in advance.
Before pause:
The output of ifconfig eth0 is:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::a00
fefb:31b6 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:fb:31:b6 txqueuelen 1000 (Ethernet)
RX packets 195 bytes 20084 (19.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 220 bytes 20641 (20.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The output of dmesg | grep -i eth0 is:
[ 2.058992] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 08:00:27:fb:31:b6
[ 2.059000] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[ 16.911866] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 16.916570] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 16.917343] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
After waking up from pause and disconnected:
The output of ifconfig eth0 is:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00
fefb:31b6 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:fb:31:b6 txqueuelen 1000 (Ethernet)
RX packets 236 bytes 24346 (23.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 277 bytes 26051 (25.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The output of dmesg | grep -i eth0 is:
[ 2.058992] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 08:00:27:fb:31:b6
[ 2.059000] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[ 16.911866] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 16.916570] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 16.917343] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 237.346780] e1000: eth0 NIC Link is Down
[ 239.897346] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 241.334376] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 243.361374] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 243.362635] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
my setup is an up-to-date Debian Testing 64 bit VM on an OS X host. I'm accessing the internet from the VM by the Intel 1000/MT Pro NIC, eth0 interface through NAT on the host.
For longer time now I've had issues with the network connection after waking the VM up from a pause. If I remember correctly it started with Virtualbox 5.1.
From the reboot until I pause the VM everything is fine. After waking up the VM and running it a few seconds the Network Manager in the tray shows me that the VM disconnected. Until guest additions 5.1.8 and kernel 4.6.0.1 I could reconnect by the Network Manager. Now with kernel 4.8.0.2 and guest additions 5.1.12 not even this works anymore. Sudo'ing and running 'ifconfig eth0 down && ifconfig eth0 10.0.2.15 up' brings back the connection but I can't browse anymore.
Going back to kernel 4.6.0.1 with newly compiled guest additions 5.1.12 ends up the same now. Below you find the output of ifconfig eth0 and dmesg | grep -i eth0.
I don't have this issue with Fedora 24 (kernel 4.8.15) and Linux Mint 18 (kernel 4.4.0.57) and guest additions 5.1.12.
To me the cause is either in Debian or Virtualbox. Do you have any ideas how to track this issue down and eventually solve it?
Thank you in advance.
Before pause:
The output of ifconfig eth0 is:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::a00
ether 08:00:27:fb:31:b6 txqueuelen 1000 (Ethernet)
RX packets 195 bytes 20084 (19.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 220 bytes 20641 (20.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The output of dmesg | grep -i eth0 is:
[ 2.058992] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 08:00:27:fb:31:b6
[ 2.059000] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[ 16.911866] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 16.916570] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 16.917343] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
After waking up from pause and disconnected:
The output of ifconfig eth0 is:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a00
ether 08:00:27:fb:31:b6 txqueuelen 1000 (Ethernet)
RX packets 236 bytes 24346 (23.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 277 bytes 26051 (25.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The output of dmesg | grep -i eth0 is:
[ 2.058992] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 08:00:27:fb:31:b6
[ 2.059000] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[ 16.911866] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 16.916570] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 16.917343] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 237.346780] e1000: eth0 NIC Link is Down
[ 239.897346] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 241.334376] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 243.361374] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 243.362635] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready