From owner-freebsd-net@FreeBSD.ORG Sun Apr 29 14:36:01 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D01FB106566B for ; Sun, 29 Apr 2012 14:36:01 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 8F4C78FC08 for ; Sun, 29 Apr 2012 14:36:01 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (89.112.15.178.pppoe.eltel.net [89.112.15.178]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 941EC4AC2D for ; Sun, 29 Apr 2012 18:36:00 +0400 (MSK) Date: Sun, 29 Apr 2012 18:35:59 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <75233009.20120429183559@serebryakov.spb.ru> To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: IPv6 MTU discrovery -- how should it work? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 14:36:01 -0000 Hello, Freebsd-net. My home network is connected to IPv6 world with Hurricane Electric's tunnel (IPv6 over IPv6, "gif"). It has MTU 1280. Everything works till packets are small -- for example, interactive shell (ssh) session over IPv6 works great. But when I need to transfer buil of bytes from server to local network (scp, or even fast scrolling of man page in interactive session) traffic hangs. It starts to work after couple (5-10) minutes, but many applications has timeouts less, that that, and it is very annoying in any case. When I connect to external server twice, and run tcpdump in one session for another one, and then try to use second (sniffed) session for bulk transfer, I can clearly see, that server tries to send IPv6 packets with size 1420 to my local network many times and doesn't get any answer, so it is MTU problem for sure, but how it could be fixed? Also, Youtube doesn't work over IPv6 with same symptoms, so it is not only my servers' problem, it looks like my local network (and tunnel) problem. How should it work? Maybe, I'm filtering out something mandatory on firewall? -- // Black Lion AKA Lev Serebryakov