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] RE: [patch, rfc] put IP addresses into xenstore (Gerd Kn

To: "Bonnell, David" <David_Bonnell@xxxxxxx>
Subject: Re: [Xen-devel] RE: [patch, rfc] put IP addresses into xenstore (Gerd Knorr)
From: Gerd Knorr <kraxel@xxxxxxx>
Date: Fri, 23 Dec 2005 14:48:47 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 23 Dec 2005 13:52:02 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E9DE7963E5EA6546B42A979EC28B4D011D804AAC@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <E9DE7963E5EA6546B42A979EC28B4D011D804AAC@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050715)
Bonnell, David wrote:
Arping sends ARP "who-has" requests, either broadcast or directed to a
specific MAC address and displays the responses.

No. It does that if you ping an IP address, but not if you ping a MAC address. For pinging mac addresses it sends a ICMP ping, to the MAC address specified, with broadcast (IP-)address as destination in the header. And thats exactly the problem, machines tend to not respond to broadcast pings for security reasons (allows certain kinds of DoS attacks), so this isn't going to work reliable. Try "echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts" in your domU and receiving the IP address with arping doesn't work any more ...

Another problem is that there are multiple arping versions out there, for example the iputils ship an arping utility to, and that one doesn't even support pinging hosts by MAC address.

cheers,

  Gerd


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

<Prev in Thread] Current Thread [Next in Thread>