public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Nils Cant <nils.cant@kangaroot.net>
Cc: kvm@vger.kernel.org
Subject: Re: KVM doesn't send an arp announce after live migrating a domain
Date: Wed, 25 Aug 2010 11:38:12 +0300	[thread overview]
Message-ID: <20100825083812.GG10499@redhat.com> (raw)
In-Reply-To: <4C74CBB0.7080203@kangaroot.net>

On Wed, Aug 25, 2010 at 09:52:16AM +0200, Nils Cant wrote:
> Hey guys,
> 
> not sure if this is a bug or a feature request. It's just something
> we've noticed and are having problems with.
> 
> We're using the qemu-kvm lenny-backports package on Debian 5.0.5.
> 
> When doing a live migration from the virsh shell, the server in
> question becomes unreachable because the ARP cache on our switches
> still thinks the server is on another port.
> 
> As soon as the server sends out some traffic, such as a ping, the
> ARP cache get's updated as expected. If it does nothing, the server
> remains unreachable until the ARP cache expires on the switches. (in
> our case 4 hours)
> 
> We would like to be able to do live migration for customer machines
> on which we have no access, so we really need KVM to send out an ARP
> announcement/gratuitous ARP when doing a live migration.
> 
> Could anyone tell me if this is a bug in KVM, libvirt, or the debian
> qemu-kvm package? (or if I'm doing something wrong? :-) )
> 
qemu sends gratuitous ARP after migration. Check forward delay setting on your
bridge interface. It should be set to zero.
  
> I've been tcpdumping the bridged network interfaces on the hosts
> while doing the migrate, and couldn't see any ARP broadcasts.
> 
> Debian 5.0.5
> Kernel: 2.6.32-bpo.3-amd64
> qemu-kvm                      0.12.4+dfsg-1~bpo50+2
> libvirt0                      0.7.6-1~bpo50+1
> 
> migrate --live testserver qemu+ssh://192.168.1.3/system
> 
> Thanks in advance,
> 
> Nils
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
			Gleb.

  parent reply	other threads:[~2010-08-25  8:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-25  7:52 KVM doesn't send an arp announce after live migrating a domain Nils Cant
2010-08-25  8:37 ` Michael Tokarev
2010-08-25  8:43   ` Gleb Natapov
2010-08-25 10:51     ` Michael Tokarev
2010-08-25 10:59       ` Gleb Natapov
2010-08-25 11:07         ` Gleb Natapov
2010-08-25 11:36         ` Michael Tokarev
2010-08-25 12:15           ` Gleb Natapov
2010-08-25  8:38 ` Gleb Natapov [this message]
2010-08-25  9:21   ` Nils Cant
2010-08-25 10:40     ` Avi Kivity
2010-08-25 10:52       ` Daniel P. Berrange
2010-08-25 11:05         ` Avi Kivity
2010-08-25 11:15           ` Daniel P. Berrange
2010-08-25 11:30             ` Avi Kivity
2010-08-25 11:36               ` Daniel P. Berrange
2010-08-25 11:38                 ` Avi Kivity
2010-08-25 11:42                   ` Daniel P. Berrange
2010-08-25 11:59                     ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100825083812.GG10499@redhat.com \
    --to=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=nils.cant@kangaroot.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox