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 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 21:22:41 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 05 Jul 2007 13:21:09 -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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace/PSCzk9RhQa1UQ2GuKJxbdZDfdAAAAqAQAADu9lA=
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 

It's pretty clear it's not going to be accepted in the netfront that goes into 
upstream Linux, at least not without sedating various LKML folk first :)

For bond case you described, you don't need to send ARPs, you just need to send 
any packet with the right src MAC to cause the switches to reconfigure. Since 
the bond driver likely already maintains a list of MAC addrs its operating on 
behalf of this is easy.

Ian


> 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