Package: qemu
Version: 1:2.5+dfsg-4~bpo8+1
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I have installed several VM inside a bigger host with two networks connecting
to the internet. Inside, they are 192.168.1.0/24 and 192.168.2.0/24
Several times a day, unrelated to CPU load or to network load, one of the
interfaces just stops working correctly and loses connectivity with router 1:
>From inside the GUEST:
Ping the router, then the HOST interface in the network 1:
root@cygnus:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
^C
--- 192.168.1.1 ping statistics ---
23 packets transmitted, 0 received, 100% packet loss, time 22175ms
root@cygnus:~# ping 192.168.1.25
PING 192.168.1.25 (192.168.1.25) 56(84) bytes of data.
64 bytes from 192.168.1.25: icmp_seq=1 ttl=64 time=0.070 ms
64 bytes from 192.168.1.25: icmp_seq=2 ttl=64 time=0.117 ms
^C
--- 192.168.1.25 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.070/0.093/0.117/0.025 ms
I could do this experiment because both HOST and GUEST have a card in network 2.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Rebooting the GUEST always resolves the issue, for a few hours
*** End of the template - remove these template lines ***
Network configuration details:
ROUTER:
192.168.1.1 with port 25 redirected to 192.168.1.27
HOST:
root@tochox:~# ifconfig
br0 Link encap:Ethernet HWaddr 6c:f0:49:54:f4:ed
inet addr:192.168.2.25 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::6ef0:49ff:fe54:f4ed/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25896346 errors:0 dropped:8 overruns:0 frame:0
TX packets:16093550 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12784846591 (11.9 GiB) TX bytes:23467943711 (21.8 GiB)
br1 Link encap:Ethernet HWaddr 6c:f0:49:54:f4:eb
inet addr:192.168.1.25 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::6ef0:49ff:fe54:f4eb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5848385 errors:0 dropped:0 overruns:0 frame:0
TX packets:3406134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5939478491 (5.5 GiB) TX bytes:487626261 (465.0 MiB)
eth0 Link encap:Ethernet HWaddr 6c:f0:49:54:f4:ed
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:148811802 errors:0 dropped:0 overruns:0 frame:0
TX packets:271950438 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13015991482 (12.1 GiB) TX bytes:400846637551 (373.3 GiB)
eth1 Link encap:Ethernet HWaddr 6c:f0:49:54:f4:eb
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7163625 errors:0 dropped:0 overruns:0 frame:0
TX packets:4675612 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6687455351 (6.2 GiB) TX bytes:1664608027 (1.5 GiB)
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:65536 Metric:1
RX packets:3335470 errors:0 dropped:0 overruns:0 frame:0
TX packets:3335470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10121336640 (9.4 GiB) TX bytes:10121336640 (9.4 GiB)
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.9.0.1 P-t-P:10.9.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
tun1 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.9.1.6 P-t-P:10.9.1.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vnet0 Link encap:Ethernet HWaddr fe:54:00:57:0a:cc
inet6 addr: fe80::fc54:ff:fe57:acc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31532418 errors:0 dropped:0 overruns:0 frame:0
TX packets:141389409 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:376045797085 (350.2 GiB) TX bytes:9941576502 (9.2 GiB)
vnet1 Link encap:Ethernet HWaddr fe:54:00:ac:36:89
inet6 addr: fe80::fc54:ff:feac:3689/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32206 errors:0 dropped:0 overruns:0 frame:0
TX packets:3872385 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:4700829 (4.4 MiB) TX bytes:249210085 (237.6 MiB)
vnet2 Link encap:Ethernet HWaddr fe:54:00:77:e7:eb
inet6 addr: fe80::fc54:ff:fe77:e7eb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:586597 errors:0 dropped:0 overruns:0 frame:0
TX packets:827949 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1164488332 (1.0 GiB) TX bytes:72478697 (69.1 MiB)
vnet3 Link encap:Ethernet HWaddr fe:54:00:72:5a:1d
inet6 addr: fe80::fc54:ff:fe72:5a1d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:530669 errors:0 dropped:0 overruns:0 frame:0
TX packets:4024075 errors:0 dropped:772 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:136360498 (130.0 MiB) TX bytes:544888161 (519.6 MiB)
vnet4 Link encap:Ethernet HWaddr fe:54:00:3c:ae:64
inet6 addr: fe80::fc54:ff:fe3c:ae64/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:69322 errors:0 dropped:0 overruns:0 frame:0
TX packets:98559 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:6647954 (6.3 MiB) TX bytes:53026810 (50.5 MiB)
vnet5 Link encap:Ethernet HWaddr fe:54:00:8a:d6:1e
inet6 addr: fe80::fc54:ff:fe8a:d61e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4482397 errors:0 dropped:0 overruns:0 frame:0
TX packets:6979025 errors:0 dropped:13 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1552972061 (1.4 GiB) TX bytes:7645573946 (7.1 GiB)
vnet6 Link encap:Ethernet HWaddr fe:54:00:6f:ba:57
inet6 addr: fe80::fc54:ff:fe6f:ba57/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12160 errors:0 dropped:0 overruns:0 frame:0
TX packets:145649 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:511276 (499.2 KiB) TX bytes:14511018 (13.8 MiB)
vnet7 Link encap:Ethernet HWaddr fe:54:00:1b:22:f9
inet6 addr: fe80::fc54:ff:fe1b:22f9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7540103 errors:0 dropped:0 overruns:0 frame:0
TX packets:10250945 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:8468762925 (7.8 GiB) TX bytes:6830600959 (6.3 GiB)
root@tochox:~# ip rule
0: from all lookup local
32765: from 192.168.1.0/24 lookup 1
32766: from all lookup main
32767: from all lookup default
root@tochox:~# ip route show table 1
default via 192.168.1.1 dev br1
192.168.1.0/24 dev br1 proto kernel scope link
GUEST:
root@cygnus:~# ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:00:72:5a:1d
inet addr:192.168.2.27 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe72:5a1d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1297547 errors:0 dropped:76 overruns:0 frame:0
TX packets:71044 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:85911068 (81.9 MiB) TX bytes:28413829 (27.0 MiB)
eth1 Link encap:Ethernet HWaddr 52:54:00:3c:ae:64
inet addr:192.168.1.27 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe3c:ae64/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39972 errors:0 dropped:13 overruns:0 frame:0
TX packets:28209 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22980133 (21.9 MiB) TX bytes:2833134 (2.7 MiB)
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:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@cygnus:~# ip rule
0: from all lookup local
32765: from 192.168.1.27 lookup 1
32766: from all lookup main
32767: from all lookup default
root@cygnus:~# ip route show table 1
default via 192.168.1.25 dev eth1
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.27
-- System Information:
Debian Release: 7.9
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages qemu depends on:
ii qemu-system 1:2.5+dfsg-4~bpo8+1
ii qemu-user 1:2.5+dfsg-4~bpo8+1
ii qemu-utils 1:2.5+dfsg-4~bpo8+1
qemu recommends no packages.
Versions of packages qemu suggests:
pn qemu-user-static <none>
-- debconf information:
Unescaped left brace in regex is deprecated, passed through in regex; marked by
<-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at
/usr/share/perl5/Debconf/Question.pm line 72.
Unescaped left brace in regex is deprecated, passed through in regex; marked by
<-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line
30.