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: "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Stimulating domains to send gratuitous ARPs
From: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>
Date: Thu, 5 Jul 2007 15:52:09 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 05 Jul 2007 12:50:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1183664755.6902.10.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace/PSCzk9RhQa1UQ2GuKJxbdZDfdAAAAqAQ
Thread-topic: [Xen-devel] Stimulating domains to send gratuitous ARPs
There are existing tools for sending arps -- the problem is knowing what IP 
address to use in the ARP -- it's actually pretty hard to know this in Dom0 
(which is where you know that the ARP needs to be sent) and if you install it 
in DomU you need a way to kick the domain to actually call the utility... (plus 
you have to install a service in DomU which is something I think is a bad idea 
to require).

Whilst I might agree that from a purist point of view having netfront do this 
is a violation of layering, it's already accepted in some other upstream 
drivers -- bonding for example; this virtual network interface driver will send 
gratuitous ARPs for the IP address associated with the bond and for any VLANs 
layered directly on top of the bond when failing over (it just wont send ARPs 
for things above the bridge if it is plugged into a bridge).

Simon

> -----Original Message-----
> From: Ian Campbell [mailto:Ian.Campbell@xxxxxxxxxxxxx]
> Sent: Thursday, July 05, 2007 3:46 PM
> To: Graham, Simon
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Stimulating domains to send gratuitous ARPs
> 
> On Thu, 2007-07-05 at 14:41 -0400, Graham, Simon wrote:
> > I accept that this is not very nice and we should probably have a
> more
> > organized/documented way to do this but I’m not sure what would be
> > appropriate; any suggestions?
> 
> A usespace tool to send such an ARP would be a very useful thing to
> have, if it doesn't already exist.
> 
> The gratuitous arping in netfront is not very popular with the upstream
> Linux folks so this functionality is not in the paravirt_ops patches
> which are going upstream, so we'd need such a tool in the end anyway.
> 
> Ian.
> 
> 
> 
> 

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