From owner-freebsd-net@FreeBSD.ORG  Tue Aug 26 19:35:50 2014
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
Delivered-To: freebsd-net@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 4D442986
 for <freebsd-net@freebsd.org>; Tue, 26 Aug 2014 19:35:50 +0000 (UTC)
Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com
 [IPv6:2607:f8b0:4003:c06::22b])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 165773083
 for <freebsd-net@freebsd.org>; Tue, 26 Aug 2014 19:35:50 +0000 (UTC)
Received: by mail-oi0-f43.google.com with SMTP id u20so11119690oif.16
 for <freebsd-net@freebsd.org>; Tue, 26 Aug 2014 12:35:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :content-type; bh=YgpJfNy05MEcjQO4N/5rv5B329MeyD0pQ/1reqWc0os=;
 b=UwlTBtkacO3Nn7TjkymEpA+OlWmPW43eXPWmvrgESc6fUMdJKoMECj7Xc0NZaNXLvI
 ccRGLoS0kqyOtFjHKMXExM0HpOMSDhe+6U5qk3YzVGG275ymDiJin0PQsq5b6WLhTSbI
 vmk80/PdLYbt48Thx3Ptb+hnRIUiwSqtRfYzHADl2H4xBNyEahHEVlvI9FGypxyYjhGU
 ejZFEd73M18KI0Mhj5R2e/oHrz1col2UyjdIQgGx4B42pL2NV4qSdDhxV+Ysd7964Q21
 f4kE/OAp8zVxQPrNeLvG9YLjOoXsU4IZPbq1U12FhXZbtcUAd1BKJeDxLea3SbLMQMW1
 MnPA==
X-Received: by 10.60.119.98 with SMTP id kt2mr29713771oeb.13.1409081749254;
 Tue, 26 Aug 2014 12:35:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.232.163 with HTTP; Tue, 26 Aug 2014 12:35:29 -0700 (PDT)
In-Reply-To: <CAGQ6iC_4kd-ELDtU2jxzAep3rEUtrrdMjau3YuOdQ8Qm5oU6VA@mail.gmail.com>
References: <CAGQ6iC_4kd-ELDtU2jxzAep3rEUtrrdMjau3YuOdQ8Qm5oU6VA@mail.gmail.com>
From: Raimundo Santos <raitech@gmail.com>
Date: Tue, 26 Aug 2014 16:35:29 -0300
Message-ID: <CAGQ6iC8V0Ov+5+3U8ySrcBV-wUqxhd8hJeMrKQN=VSECkW8UCw@mail.gmail.com>
Subject: Re: 9.3 RELEASE not forwarding pkt-gen (netmap) packets over XenServer
To: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Aug 2014 19:35:50 -0000

That is what a tcpdump says (in vm0, the router):


15:38:13.286112 00:1b:21:53:51:3d > 00:1b:21:53:51:39, ethertype IPv4
(0x0800), length 60: (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto
UDP (17), length 46)

    10.0.0.1.0 > 192.168.10.1.0: [udp sum ok] UDP, length 18

15:38:13.286119 00:1b:21:53:51:3d > 00:1b:21:53:51:39, ethertype IPv4
(0x0800), length 60: (tos 0x10, ttl 64, id 0, offset 0, flags [DF], proto
UDP (17), length 46, bad cksum 6605 (->6604)!)

    10.0.0.1.0 > 192.168.10.2.0: [bad udp cksum 0x5e7c -> 0x5e7b!] UDP,
length 18

All of these with txcsum, rxcsum and tso4 disabled.

I am trying to test the performance of this virtual router in using
dummynet to shape by IP and pkt-gen, with its said ability to generate
packets with ranges of IP sources, could be a very good traffic generator.

Once again, thank you!
Raimundo Santos