From owner-freebsd-net@FreeBSD.ORG Thu Dec 13 03:50:44 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 68F80F82 for ; Thu, 13 Dec 2012 03:50:44 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id DD8B48FC12 for ; Thu, 13 Dec 2012 03:50:43 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so1345273lah.13 for ; Wed, 12 Dec 2012 19:50:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wYe6FQRwWUQrKTsApUNswmwGWPoTsLjaOJXzBcTK05k=; b=p6se/h8tZSaLQ/r+xRffRfSNJIqUCZjAa1sVFqPacqXAa33i4l4z0zBJmIHkB6erIC OrFE/YXakZulLM7Lsk+g/eICYyqjt7U3YdaOGd1UYBsLlpVpB9I34sVW6hSCbxmmoDw6 HboyqRPyq51BvKeiF36dcZR6tJPPiPIiT+sVkST0hoFBizTaM/WPywMVSuMfo9BzN2Dk oOSyAltkZGCdtANpFj2px6958f0difwFkR1ghD3ExZqr/1RFs+sn4cMzKCh3R4JTrzK8 9N5PUJrIbsPZD8zpB80RUithgLkQnzbmSQr1tDmpMz1VVEUjrObr0nCbX1Q9AEeOXOhn BECg== MIME-Version: 1.0 Received: by 10.112.47.168 with SMTP id e8mr320400lbn.46.1355370642542; Wed, 12 Dec 2012 19:50:42 -0800 (PST) Received: by 10.112.61.33 with HTTP; Wed, 12 Dec 2012 19:50:42 -0800 (PST) Date: Wed, 12 Dec 2012 22:50:42 -0500 Message-ID: Subject: ipv6 route ignores MTU. From: Zaphod Beeblebrox To: FreeBSD Net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 13 Dec 2012 03:50:44 -0000 On a: FreeBSD virtual.accountingreality.com 9.1-RC2 FreeBSD 9.1-RC2 #6 r241240: Sat Oct 6 01:43:35 EDT 2012 root@virtual.accountingreality.com:/usr/obj/usr/src/sys/VRA amd64 I have set a high MTU: em0: flags=8843 metric 0 mtu 9014 options=4019b ether 00:15:17:0d:04:a8 inet x.y.z.q netmask 0xffffffe0 broadcast x.y.z.q1 inet6 fe80::215:17ff:fe0d:4a8%em0 prefixlen 64 scopeid 0x5 inet6 2001:1928:1::52 prefixlen 64 inet 192.168.221.2 netmask 0xffffff00 broadcast 192.168.221.255 nd6 options=21 media: Ethernet autoselect (1000baseT ) status: active curiously, although: [1:2:301]root@virtual:~> route -n get 192.168.221.84 route to: 192.168.221.84 destination: 192.168.221.0 mask: 255.255.255.0 interface: em0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 9014 1 0 shows the correct MTU, [1:5:304]root@virtual:~> route -n get -inet6 2001:1928:1::84 route to: 2001:1928:1::84 destination: 2001:1928:1:: mask: ffff:ffff:ffff:ffff:: interface: em0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 shows the wrong MTU. The MTU in this case is set in the ifconfig_em0 rc.conf entry and the machine has been rebooted.