WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Stimulating domains to send gratuitous ARPs

To: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>, "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>, "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Stimulating domains to send gratuitous ARPs
From: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 5 Jul 2007 23:25:44 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 05 Jul 2007 15:24:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <342BAC0A5467384983B586A6B0B3767105FCE6BF@xxxxxxxxxxxxxxxxxxxxx><1183664755.6902.10.camel@xxxxxxxxxxxxxxxxxxxxx> <342BAC0A5467384983B586A6B0B3767105FCE6DF@xxxxxxxxxxxxxxxxxxxxx> <8A87A9A84C201449A0C56B728ACF491E25FD87@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <342BAC0A5467384983B586A6B0B3767105FCE71F@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace/PSCzk9RhQa1UQ2GuKJxbdZDfdAAAAqAQAADu9lAAAapmIAACz0uw
Thread-topic: [Xen-devel] Stimulating domains to send gratuitous ARPs
> Well, the bonding module itself doesn't track this at all actually; when
> a failover is done, it sends gratuitous ARPs for the following:
> 1. The IP address associated with the bond itself
> 2. The IP addresses associated with an VLANs above the bond (suitably
> encapsulated in the VLAN header).

The Linux bond module isn't well suited to the L2 bridged case anyway. To get 
the effect you want I think you'll have to add MAC addr tracking anyhow.

> In addition, I don’t think that 'any old frame' will work -- it needs to
> be a link-level broadcast frame to ensure that all the switches update
> their forwarding tables 

Sure, it needs to be a link-layer broadcast, but it doesn't particularly even 
need to be a valid IP/ARP packet. Broadcast arp reply works as well as 
anything, and has the additional benefit of also helping folk who do happen to 
be using a routed rather than L2 setup.

Best,
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel