[Bug 633392] Re: Bridged Guests losing network connectivity
Serge, We've since moved on to Proxmox, but here's the description: eth0 was the external interface, connected to an interface on an OpenBSD firewall (with a switch in between). eth1 was the bridged interface, connected directly to a separate interface on the firewall with a crossover cable. All worked until the bug would show up and drop connectivity. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/633392 Title: Bridged Guests losing network connectivity -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Leann, I have the following in dmesg, but I believe all came before the ssh sessions were established and failed: [ 235.700268] lo: Disabled Privacy Extensions [ 254.123755] ADDRCONF(NETDEV_UP): veth0: link is not ready [ 268.992077] device veth0 entered promiscuous mode [ 268.992104] br0: new device veth0 does not support netpoll (disabling) [ 293.102269] ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 293.102298] br0: port 2(veth0) entering learning state [ 293.102300] br0: port 2(veth0) entering learning state [ 302.120040] br0: port 2(veth0) entering forwarding state [ 303.130042] veth0: no IPv6 routers present [ 303.430064] veth1: no IPv6 routers present -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Leann, I'm testing the kernel you suggested with the bridging setup described by Serge in comment #6 I'll let you know what the results are. -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Leann, Still no luck, the exact same issue persists. When I SSH into the server, invoking a loop that echos test onto the screen, eventually the SSH session breaks: Write failed: Broken pipe I can SSH right back into the IP, but the session will always fail eventually. I can't keep an SSH session alive using the bridge. I am SSHing to other boxes in the same VLAN from this same firewall, but never have this issue with them. -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Soren: See this bug for more info from me on this: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/584048 a) I'll need to find time to set up this test, I'm working with you guys on this while I also have internal issues here at work, so bear with me. b) No, when I SSH to the VM from my firewall and the connection is reset, the VM is inaccessible and the ARP entry on my firewall changes to the MAC address of the physical interface on the host. I can't ping out from the VM, either; all network connectivity is lost. If I'm NOT running a VM and just bridging as Serge's example above had me do, I can immediately SSH back into the box no problem, but the connection interruption still occurs. c) The output of these commands looks exactly the same before, after, and during the problem. -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Serge, Something different happens with this. Now, I get the network instability that I saw before with SSH sessions exiting with Broken Pipe, and the netcat session you showed in the link just hangs. If I try to re-SSH into the box, however, it works again. It looks like the same thing that was happening, only the ARP entry doesn't change (i'm assuming it's because there's no guest) after it does. -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Serge, It takes anywhere from maybe 10-30 minutes during the tests I ran, but it always happens. You think this is an issue with the kernel? -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Serge, Something different happens with this. Now, I get the network instability that I saw before with SSH sessions exiting with Broken Pipe, and the netcat session you showed in the link just hangs. If I try to re-SSH into the box, however, it works again. It looks like the same thing that was happening, only the ARP entry doesn't change (i'm assuming it's because there's no guest) after it does. -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Serge, It takes anywhere from maybe 10-30 minutes during the tests I ran, but it always happens. You think this is an issue with the kernel? -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Serge, No luck, still having the same issues with the new kernel. -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Serge, No luck, still having the same issues with the new kernel. -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 633392] [NEW] Bridged Guests losing network connectivity
Public bug reported: Binary package hint: qemu-kvm Opening at the request of Serge Hallyn. Running 10.04 with KVM and Libvirt, starting VMs with virsh start domain I've tested with OpenBSD 4.7 and Debian Lenny 5.0.5, both of them are having this issue. I notice that networking with the bridge works fine at first for my guests, but after a while, the bridge stops functioning, and I can't reach it via SSH, nor can I ping/ssh out. Also, when this happens, the ARP entry on the firewall I'm using to SSH to the guest changes from the Guest's MAC to the Host's MAC address. On OpenBSD, if I run the /etc/netstart script to re-initialize the interface, the bridge starts functioning again, as if I restarted the VM, but quickly fails again (10-20 minutes). I have to reboot the Debian machine to get networking functioning again. Here is my /etc/network/interfaces on the host: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp auto br0 iface br0 inet static address 192.168.8.166 netmask 255.255.252.0 network 192.168.8.0 broadcast 192.168.11.255 gateway 192.168.8.1 bridge_ports eth1 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off And my /etc/libvirt/qemu/networks/autostart/default.xml: network namedefault/name bridge name=virbr%d / forward/ ip address=192.168.122.1 netmask=255.255.255.0 dhcp range start=192.168.122.2 end=192.168.122.254 / /dhcp /ip /network # iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT udp -- anywhere anywhereudp dpt:domain ACCEPT tcp -- anywhere anywheretcp dpt:domain ACCEPT udp -- anywhere anywhereudp dpt:bootps ACCEPT tcp -- anywhere anywheretcp dpt:bootps Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere 192.168.122.0/24state RELATED,ESTABLISHED ACCEPT all -- 192.168.122.0/24 anywhere ACCEPT all -- anywhere anywhere REJECT all -- anywhere anywherereject-with icmp-port-unreachable REJECT all -- anywhere anywherereject-with icmp-port-unreachable Chain OUTPUT (policy ACCEPT) target prot opt source destination # netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 192.168.8.0 0.0.0.0 255.255.252.0 U 0 0 0 br0 0.0.0.0 192.168.1.1 0.0.0.0 UG0 0 0 eth0 0.0.0.0 192.168.8.1 0.0.0.0 UG0 0 0 br0 # brctl show bridge name bridge id STP enabled interfaces br0 8000.00188b3e8dc0 no eth1 vnet0 virbr0 8000. yes IFCONFIG -- With Guest OS Running # ifconfig -a br0 Link encap:Ethernet HWaddr 00:18:8b:3e:8d:c0 inet addr:192.168.8.166 Bcast:192.168.11.255 Mask:255.255.252.0 inet6 addr: fe80::218:8bff:fe3e:8dc0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:236817 errors:0 dropped:0 overruns:0 frame:0 TX packets:2654 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:17692813 (17.6 MB) TX bytes:362935 (362.9 KB) eth0 Link encap:Ethernet HWaddr 00:18:8b:3e:8d:be inet addr:192.168.1.151 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::218:8bff:fe3e:8dbe/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:76541 errors:0 dropped:0 overruns:0 frame:0 TX packets:62301 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10233726 (10.2 MB) TX bytes:21694280 (21.6 MB) Interrupt:16 Memory:f800-f8012800 eth1 Link encap:Ethernet HWaddr 00:18:8b:3e:8d:c0 inet6 addr: fe80::218:8bff:fe3e:8dc0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:241821 errors:0 dropped:0 overruns:0 frame:0 TX packets:10075 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:22612242 (22.6 MB) TX bytes:1391493 (1.3 MB) Interrupt:16 Memory:f400-f4012800 loLink 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
[Bug 584048] Re: kvm images losing connectivity w/bridged network
Serge: I opened the new bug report as you requested, here: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/633392 -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 633392] [NEW] Bridged Guests losing network connectivity
Public bug reported: Binary package hint: qemu-kvm Opening at the request of Serge Hallyn. Running 10.04 with KVM and Libvirt, starting VMs with virsh start domain I've tested with OpenBSD 4.7 and Debian Lenny 5.0.5, both of them are having this issue. I notice that networking with the bridge works fine at first for my guests, but after a while, the bridge stops functioning, and I can't reach it via SSH, nor can I ping/ssh out. Also, when this happens, the ARP entry on the firewall I'm using to SSH to the guest changes from the Guest's MAC to the Host's MAC address. On OpenBSD, if I run the /etc/netstart script to re-initialize the interface, the bridge starts functioning again, as if I restarted the VM, but quickly fails again (10-20 minutes). I have to reboot the Debian machine to get networking functioning again. Here is my /etc/network/interfaces on the host: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp auto br0 iface br0 inet static address 192.168.8.166 netmask 255.255.252.0 network 192.168.8.0 broadcast 192.168.11.255 gateway 192.168.8.1 bridge_ports eth1 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off And my /etc/libvirt/qemu/networks/autostart/default.xml: network namedefault/name bridge name=virbr%d / forward/ ip address=192.168.122.1 netmask=255.255.255.0 dhcp range start=192.168.122.2 end=192.168.122.254 / /dhcp /ip /network # iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT udp -- anywhere anywhereudp dpt:domain ACCEPT tcp -- anywhere anywheretcp dpt:domain ACCEPT udp -- anywhere anywhereudp dpt:bootps ACCEPT tcp -- anywhere anywheretcp dpt:bootps Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere 192.168.122.0/24state RELATED,ESTABLISHED ACCEPT all -- 192.168.122.0/24 anywhere ACCEPT all -- anywhere anywhere REJECT all -- anywhere anywherereject-with icmp-port-unreachable REJECT all -- anywhere anywherereject-with icmp-port-unreachable Chain OUTPUT (policy ACCEPT) target prot opt source destination # netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 192.168.8.0 0.0.0.0 255.255.252.0 U 0 0 0 br0 0.0.0.0 192.168.1.1 0.0.0.0 UG0 0 0 eth0 0.0.0.0 192.168.8.1 0.0.0.0 UG0 0 0 br0 # brctl show bridge name bridge id STP enabled interfaces br0 8000.00188b3e8dc0 no eth1 vnet0 virbr0 8000. yes IFCONFIG -- With Guest OS Running # ifconfig -a br0 Link encap:Ethernet HWaddr 00:18:8b:3e:8d:c0 inet addr:192.168.8.166 Bcast:192.168.11.255 Mask:255.255.252.0 inet6 addr: fe80::218:8bff:fe3e:8dc0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:236817 errors:0 dropped:0 overruns:0 frame:0 TX packets:2654 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:17692813 (17.6 MB) TX bytes:362935 (362.9 KB) eth0 Link encap:Ethernet HWaddr 00:18:8b:3e:8d:be inet addr:192.168.1.151 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::218:8bff:fe3e:8dbe/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:76541 errors:0 dropped:0 overruns:0 frame:0 TX packets:62301 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10233726 (10.2 MB) TX bytes:21694280 (21.6 MB) Interrupt:16 Memory:f800-f8012800 eth1 Link encap:Ethernet HWaddr 00:18:8b:3e:8d:c0 inet6 addr: fe80::218:8bff:fe3e:8dc0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:241821 errors:0 dropped:0 overruns:0 frame:0 TX packets:10075 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:22612242 (22.6 MB) TX bytes:1391493 (1.3 MB) Interrupt:16 Memory:f400-f4012800 loLink 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
[Bug 584048] Re: kvm images losing connectivity w/bridged network
Serge: I opened the new bug report as you requested, here: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/633392 -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 633392] Re: Bridged Guests losing network connectivity
Here is the netstart script: #!/bin/sh - # # $OpenBSD: netstart,v 1.129 2010/01/12 07:43:41 henning Exp $ # Strip comments (and leading/trailing whitespace if IFS is set) # from a file and spew to stdout stripcom() { local _l [[ -f $1 ]] || return while read _l; do [[ -n ${_l%%#*} ]] echo $_l done$1 } # Returns true if $1 contains only alphanumerics isalphanumeric() { local _n _n=$1 while [ ${#_n} != 0 ]; do case $_n in [A-Za-z0-9]*) ;; *) return 1;; esac _n=${_n#?} done return 0 } # Start the $1 interface ifstart() { if=$1 # Interface names must be alphanumeric only. We check to avoid # configuring backup or temp files, and to catch the * case. if ! isalphanumeric $if; then return fi file=/etc/hostname.$if if ! [ -f $file ]; then echo netstart: $file: No such file or directory return fi # Not using stat(1), we can't rely on having /usr yet set -A stat -- `ls -nL $file` if [ ${stat[0]#???} ${stat[2]} ${stat[3]} != --- 0 0 ]; then echo WARNING: $file is insecure, fixing permissions chmod -LR o-rwx $file chown -LR root.wheel $file fi ifconfig $if /dev/null 21 if [ $? != 0 ]; then # Try to create interface if it does not exist ifconfig $if create /dev/null 21 if [ $? != 0 ]; then return fi fi # Now parse the hostname.* file while :; do if [ $cmd2 ]; then # We are carrying over from the 'read dt dtaddr' # last time. set -- $cmd2 af=$1 name=$2 mask=$3 bcaddr=$4 ext1=$5 cmd2= # Make sure and get any remaining args in ext2, # like the read below i=1 while [ $i -lt 6 -a -n $1 ]; do shift; let i=i+1; done ext2=$@ else # Read the next line or exit the while loop. read af name mask bcaddr ext1 ext2 || break fi # $af can be dhcp, up, rtsol, an address family, # commands, or a comment. case $af in #*|) # skip comments and empty lines continue ;; !*) # parse commands cmd=${af#*!} ${name} ${mask} ${bcaddr} ${ext1} ${ext2} ;; dhcp) [ $name = NONE ] name= [ $mask = NONE ] mask= [ $bcaddr = NONE ] bcaddr= cmd=ifconfig $if $name $mask $bcaddr $ext1 $ext2 down cmd=$cmd;dhclient $if dhcpif=$dhcpif $if ;; rtsol) rtsolif=$rtsolif $if cmd=ifconfig $if $name $mask $bcaddr $ext1 $ext2 up ;; *) read dt dtaddr if [ $name = alias ]; then # perform a 'shift' of sorts alias=$name name=$mask mask=$bcaddr bcaddr=$ext1 ext1=$ext2 ext2= else alias= fi cmd=ifconfig $if $af $alias $name case $dt in dest) cmd=$cmd $dtaddr ;; [a-z!]*) cmd2=$dt $dtaddr ;; esac case $af in inet) if [ ! -n $name ]; then echo /etc/hostname.$if: inet alone is invalid return fi [ $mask ] cmd=$cmd netmask $mask if [ $bcaddr -a X$bcaddr != XNONE ]; then cmd=$cmd broadcast $bcaddr fi [ $alias ] rtcmd=;route -qn add -host $name 127.0.0.1 ;; inet6)
[Bug 633392] Re: Bridged Guests losing network connectivity
Serge, Yes, I want to be able to lock down guests to a specific NIC, this is needed for VLAN segregation, as well as physical diversity. Turning on STP makes no difference, the bug occurs regardless. Which kernel should I try to install and run first? -- Bridged Guests losing network connectivity https://bugs.launchpad.net/bugs/633392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
Serge, I'm testing the new packages now, I'll let you know what I find. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
Serge, No dice; the same problem occurs. Curiously, running the /etc/netstart script in OpenBSD works to restore connectivity, which fails again after a bit. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
Serge, I'm testing the new packages now, I'll let you know what I find. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
Serge, No dice; the same problem occurs. Curiously, running the /etc/netstart script in OpenBSD works to restore connectivity, which fails again after a bit. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
I'll go ahead and test the package when I have a minute here; I've multiple other servers that need attention. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
I'll go ahead and test the package when I have a minute here; I've multiple other servers that need attention. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
I am also not modifying the bridge at all. Where my problem differs from Frank's, however, is my connectivity is lost even if there is steady network traffic to or from the guest. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
I am also not modifying the bridge at all. Where my problem differs from Frank's, however, is my connectivity is lost even if there is steady network traffic to or from the guest. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
If you don't mind, once you verify the host's /proc/net/arp entries before and after it goes bad, I'm going to whip up a recipe for trying to reproduce this without kvm, so we can reclassify it approrpriately. I don't see the ARP entry for the guest at all on the host machine before the networking fails, it's just not there; even after pinging the host machine from the guest, and vice-versa. It doesn't make a difference whether or not STP is enabled on the bridge. BEFORE NETWORKING FAILS: # cat /proc/net/arp IP address HW type Flags HW addressMask Device 192.168.1.1540x1 0x2 00:30:1b:be:63:4f *eth0 192.168.8.1 0x1 0x2 00:15:17:dc:2f:a2 *br0 AFTER NETWORKING FAILS: # cat /proc/net/arp IP address HW type Flags HW addressMask Device 192.168.1.1540x1 0x2 00:30:1b:be:63:4f *eth0 192.168.8.1 0x1 0x2 00:15:17:dc:2f:a2 *br0 -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
If you don't mind, once you verify the host's /proc/net/arp entries before and after it goes bad, I'm going to whip up a recipe for trying to reproduce this without kvm, so we can reclassify it approrpriately. I don't see the ARP entry for the guest at all on the host machine before the networking fails, it's just not there; even after pinging the host machine from the guest, and vice-versa. It doesn't make a difference whether or not STP is enabled on the bridge. BEFORE NETWORKING FAILS: # cat /proc/net/arp IP address HW type Flags HW addressMask Device 192.168.1.1540x1 0x2 00:30:1b:be:63:4f *eth0 192.168.8.1 0x1 0x2 00:15:17:dc:2f:a2 *br0 AFTER NETWORKING FAILS: # cat /proc/net/arp IP address HW type Flags HW addressMask Device 192.168.1.1540x1 0x2 00:30:1b:be:63:4f *eth0 192.168.8.1 0x1 0x2 00:15:17:dc:2f:a2 *br0 -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
I'm also having this problem. Running 10.04 with KVM and Libvirt, starting VMs with virsh start domain I've tested with OpenBSD 4.7 and Debian Lenny 5.0.5, both of them are having this issue. I notice that networking with the bridge works fine at first for my guests, but after a while, the bridge stops functioning, and I can't reach it via SSH, nor can I ping/ssh out. Also, when this happens, the ARP entry on the firewall I'm using to SSH to the guest changes from the Guest's MAC to the Host's MAC address. On OpenBSD, if I run the /etc/netstart script to re-initialize the interface, the bridge starts functioning again, as if I restarted the VM, but quickly fails again (10-20 minutes). I have to reboot the Debian machine to get networking functioning again. Here is my /etc/network/interfaces on the host: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp auto br0 iface br0 inet static address 192.168.8.166 netmask 255.255.252.0 network 192.168.8.0 broadcast 192.168.11.255 gateway 192.168.8.1 bridge_ports eth1 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off And my /etc/libvirt/qemu/networks/autostart/default.xml: network namedefault/name bridge name=virbr%d / forward/ ip address=192.168.122.1 netmask=255.255.255.0 dhcp range start=192.168.122.2 end=192.168.122.254 / /dhcp /ip /network -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
General instability exists with this bug as well. For example, SSHing to the VM: $ ssh r...@192.168.8.166 r...@192.168.8.166's password: Linux deb64 2.6.26-2-amd64 #1 SMP Sun Jun 20 20:16:30 UTC 2010 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jul 22 15:57:28 2010 from 192.168.8.1 deb64:~# /// After waiting a few minutes, and pressing Enter... deb64:~# Write failed: Broken pipe /// Then, trying to re-SSH into the server... $ ssh r...@192.168.8.166 r...@192.168.8.166's password: Read from socket failed: Connection reset by peer $ ssh r...@192.168.8.166 ssh: connect to host 192.168.8.166 port 22: Connection refused This is when the ARP entry changes on the firewall I'm SSHing from, and the bridge connectivity freezes, and I have to restart the VM. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
So now is this going through the firewall? This is from the firewall. What kind of firewall? Do other hosts inside the firewall have the right ARP entry for the guest? What about the host itself? It's a simple i386 OpenBSD 4.7 box with PF enabled. All traffic to and from the Host and the VM is unfiltered. I'll have to check whether the ARP entry changes for the host, but other hosts show the ARP entry change as well. Note that this sounds like a different problem from what others are reporting. Others are saying that their bridge hangs when new devices are added or removed. Note that the OP has said nothing about adding or removing new devices. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
I'm also having this problem. Running 10.04 with KVM and Libvirt, starting VMs with virsh start domain I've tested with OpenBSD 4.7 and Debian Lenny 5.0.5, both of them are having this issue. I notice that networking with the bridge works fine at first for my guests, but after a while, the bridge stops functioning, and I can't reach it via SSH, nor can I ping/ssh out. Also, when this happens, the ARP entry on the firewall I'm using to SSH to the guest changes from the Guest's MAC to the Host's MAC address. On OpenBSD, if I run the /etc/netstart script to re-initialize the interface, the bridge starts functioning again, as if I restarted the VM, but quickly fails again (10-20 minutes). I have to reboot the Debian machine to get networking functioning again. Here is my /etc/network/interfaces on the host: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp auto br0 iface br0 inet static address 192.168.8.166 netmask 255.255.252.0 network 192.168.8.0 broadcast 192.168.11.255 gateway 192.168.8.1 bridge_ports eth1 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off And my /etc/libvirt/qemu/networks/autostart/default.xml: network namedefault/name bridge name=virbr%d / forward/ ip address=192.168.122.1 netmask=255.255.255.0 dhcp range start=192.168.122.2 end=192.168.122.254 / /dhcp /ip /network -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
General instability exists with this bug as well. For example, SSHing to the VM: $ ssh r...@192.168.8.166 r...@192.168.8.166's password: Linux deb64 2.6.26-2-amd64 #1 SMP Sun Jun 20 20:16:30 UTC 2010 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jul 22 15:57:28 2010 from 192.168.8.1 deb64:~# /// After waiting a few minutes, and pressing Enter... deb64:~# Write failed: Broken pipe /// Then, trying to re-SSH into the server... $ ssh r...@192.168.8.166 r...@192.168.8.166's password: Read from socket failed: Connection reset by peer $ ssh r...@192.168.8.166 ssh: connect to host 192.168.8.166 port 22: Connection refused This is when the ARP entry changes on the firewall I'm SSHing from, and the bridge connectivity freezes, and I have to restart the VM. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 584048] Re: kvm images losing connectivity w/bridged network
So now is this going through the firewall? This is from the firewall. What kind of firewall? Do other hosts inside the firewall have the right ARP entry for the guest? What about the host itself? It's a simple i386 OpenBSD 4.7 box with PF enabled. All traffic to and from the Host and the VM is unfiltered. I'll have to check whether the ARP entry changes for the host, but other hosts show the ARP entry change as well. Note that this sounds like a different problem from what others are reporting. Others are saying that their bridge hangs when new devices are added or removed. Note that the OP has said nothing about adding or removing new devices. -- kvm images losing connectivity w/bridged network https://bugs.launchpad.net/bugs/584048 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs