From owner-freebsd-net@FreeBSD.ORG Thu May 14 22:09:04 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5507106564A for ; Thu, 14 May 2009 22:09:04 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.freebsd.org (Postfix) with SMTP id 110368FC1C for ; Thu, 14 May 2009 22:09:03 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: (qmail 43899 invoked from network); 14 May 2009 22:09:02 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 14 May 2009 22:09:02 -0000 Date: Fri, 15 May 2009 00:09:02 +0200 (CEST) Message-Id: <20090515.000902.74658525.sthaug@nethelp.no> To: oberman@es.net From: sthaug@nethelp.no In-Reply-To: <20090514214235.B09701CC12@ptavv.es.net> References: <20090514214235.B09701CC12@ptavv.es.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: IPv6 fragmentation weirdness X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 22:09:05 -0000 > First, why is the kernel fragmenting this at all as it fits in the > interface MTU? Good question, I definitely disagree with this behavior and would say that it breaks POLA. But it's documented (see the ping6 -m option). > Can anyone fetch anything from ftp.funet.fi via IPv6? I suspect it is > something in the path that is blocking my traffic, so others may not see > this, but I think the root issues is the kernel fragmenting packets way > below MTU size. I just picked up a copy of the 7.2 bootonly ISO image using IPv6. Slow but usable. My path (from Oslo, Norway) is: sthaug@lab1% traceroute6 ftp.funet.fi traceroute6 to ftp.funet.fi (2001:708:10:9::20:1) from 2001:8c0:8b00:1::2, 64 hops max, 12 byte packets 1 ge-0-0-9-515.br1.fn3.no.catchbone.net 0.254 ms 4.917 ms 0.203 ms 2 c10G-ge-5-1-0.cr2.osls.no.catchbone.net 0.485 ms 0.408 ms 0.399 ms 3 c10G-xe-4-1-0.br1.osls.no.catchbone.net 0.364 ms 0.351 ms 0.361 ms 4 2001:2000:3083:6::1 9.006 ms 8.848 ms 8.966 ms 5 s-ipv6-b1-link.ipv6.telia.net 19.481 ms 19.590 ms 19.412 ms 6 2001:2000:3080:d::2 110.907 ms 109.056 ms 119.495 ms 7 helsinki0-rtr.funet.fi 116.305 ms 123.534 ms 119.472 ms 8 csc0-x0000-helsinki0.ipv6.funet.fi 118.873 ms 117.439 ms 116.054 ms 9 ftp.funet.fi 115.777 ms 116.087 ms 117.735 ms Note that the IPv6 transit from Telia is tunnelled, and the RTT is awful compared to IPv4 (IPv4 RTT to ftp.funet.fi from the same box is around 17 ms). Steinar Haug, Nethelp consulting, sthaug@nethelp.no