From owner-freebsd-net@FreeBSD.ORG Sat Aug 16 09:58:00 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CFA637B404 for ; Sat, 16 Aug 2003 09:58:00 -0700 (PDT) Received: from hotmail.com (law12-oe16.law12.hotmail.com [64.4.18.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6EF743F93 for ; Sat, 16 Aug 2003 09:57:59 -0700 (PDT) (envelope-from company2210@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 16 Aug 2003 09:57:59 -0700 Received: from 81.17.78.11 by law12-oe16.adinternal.hotmail.com with DAV; Sat, 16 Aug 2003 16:57:59 +0000 X-Originating-IP: [81.17.78.11] X-Originating-Email: [company2210@hotmail.com] From: "Company 2210" To: Date: Sat, 16 Aug 2003 17:58:04 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Message-ID: X-OriginalArrivalTime: 16 Aug 2003 16:57:59.0725 (UTC) FILETIME=[8C4AE5D0:01C36417] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: High UDP Loss issues X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2003 16:58:00 -0000 Hi,=20 I have two FreeBSD 5.0-RELEASE boxes connected over an IPSEC (With = racoon) wireless link ( both are gateways). Now, TCP traffic flows = perfectly, and at the expected speeds ~4.2Mbps. However UDP traffic = flows at 10.6Mbps with enormous loss. An output from netperf is shown = below: $ ./netperf -f K -H 10.0.0.2 -t UDP_STREAM UDP UNIDIRECTIONAL SEND TEST to 10.0.0.2 Socket Message Elapsed Messages =20 Size Size Time Okay Errors Throughput bytes bytes secs # # KBytes/sec 8192 8192 10.00 13084 416919 10462.48 42080 10.00 9 7.20 I've tried playing with the MTU on both boxes (network cards and gif = tunnel interfaces are set to 1500), but it has made no difference. Now, = this is where the plot thickens, I have a second wireless link which = connects to a Windows XP box (Layout below): FREEBSD-BOXA <----------IPSEC--------> FREEBSD-BOXB <------Unencrypted = Wireless Link------> Windows XP - BOX When I run netperf from the Windows XP box to FreeBSD BOXB I get no UDP = errrors: C:\PROGRA~1\NETPERF>netperf -f K -H 81.19.79.1 -t UDP_STREAM UDP UNIDIRECTIONAL SEND TEST to 81.19.79.1 Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # KBytes/sec 8192 8192 10.00 1465 0 1172.00 42080 10.00 9 7.20 C:\PROGRA~1\NETPERF> I am totally at a loss as to why all UDP traffic between the freebsd = boxes has an ultra high error rate, but all other traffic doesn't. I'm = guessing it may be a flow control issue? but I'm not sure how this could = be rectified. Any help greatly appericated. Colin.