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/
Home Products Support Community News


Re: [Xen-devel] [XM-TEST][PATCH] hvm network test fixes

To: adam@xxxxxxxxxxx
Subject: Re: [Xen-devel] [XM-TEST][PATCH] hvm network test fixes
From: Dan Smith <danms@xxxxxxxxxx>
Date: Wed, 01 Feb 2006 13:28:37 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 01 Feb 2006 21:38:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1138827234lc2vuddw1tadam@xxxxxxxxxxx> (Adam Wendt's message of "Wed, 01 Feb 2006 13:14:13")
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: <1138827234lc2vuddw1tadam@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)
AQ> Hm, hping2 doesn't appear to work on my disk image:
AQ> @%@%> hping2 -c 2
AQ> [open_sockpacket] socket(): Address family not supported by protocol
AQ> [main] can't open packet socket

It seems to work on my HVM box:

  @%@%> hping2 -c 2
  HPING (lo NO FLAGS are set, 40 headers + 0 data
  len=40 ip= ttl=64 DF id=0 sport=0 flags=RA seq=0 win=0
  rtt=0.0 ms
  len=40 ip= ttl=64 DF id=1 sport=0 flags=RA seq=1 win=0
  rtt=0.0 ms
  --- hping statistic ---
  2 packets tramitted, 2 packets received, 0% packet loss
  round-trip min/avg/max = 0.0/0.0/0.0 ms

Are you plumbing lo before attempting this?  By default, lo is down
and has no IP.

Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx

Xen-devel mailing list