Re: draft-van-beijnum-multi-mtu-05.txt

David Lamparter <equinox@diac24.net> Thu, 14 April 2016 13:36 UTC

Return-Path: <equinox@diac24.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B72E612E203 for <ipv6@ietfa.amsl.com>; Thu, 14 Apr 2016 06:36:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MZZgFbLpx5aA for <ipv6@ietfa.amsl.com>; Thu, 14 Apr 2016 06:36:02 -0700 (PDT)
Received: from eidolon.nox.tf (eidolon.nox.tf [IPv6:2a02:238:f02a:8e2f:1::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00DAF12E1F9 for <ipv6@ietf.org>; Thu, 14 Apr 2016 06:36:02 -0700 (PDT)
Received: from equinox by eidolon.nox.tf with local (Exim 4.86_2) (envelope-from <equinox@diac24.net>) id 1aqhQy-003myU-6v; Thu, 14 Apr 2016 15:35:48 +0200
Date: Thu, 14 Apr 2016 15:35:48 +0200
From: David Lamparter <equinox@diac24.net>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Subject: Re: draft-van-beijnum-multi-mtu-05.txt
Message-ID: <20160414133548.GS518778@eidolon>
References: <20160406151831.GZ518778@eidolon> <570569C2.4030601@acm.org> <20160406212048.GB518778@eidolon> <20160406220411.GC518778@eidolon> <E27329D1-400E-4470-8277-64A664508854@employees.org> <20160414122245.GN518778@eidolon> <alpine.DEB.2.02.1604141512140.16013@uplift.swm.pp.se>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <alpine.DEB.2.02.1604141512140.16013@uplift.swm.pp.se>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/l6dzbS9WgQNreripFI7ycrFAxbc>
Cc: Erik Nordmark <nordmark@acm.org>, Iljitsch van Beijnum <iljitsch@muada.com>, 6man WG <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 13:36:03 -0000

On Thu, Apr 14, 2016 at 03:22:11PM +0200, Mikael Abrahamsson wrote:
> On Thu, 14 Apr 2016, David Lamparter wrote:
> 
> > That's actually the crux of it: this isn't Path MTU discovery.  The MTU 
> > discovered by this mechanism is the first-hop MTU for a lot of paths in 
> > case of a router and it's going to be distinct from the final PMTU 
> > towards a particular destination.  Plus, state on this only ever exists 
> > for direct neighbors, not for any random internet host.
> 
> I don't believe the draft says this.

It doesn't, but by tracking neighbors as pairs of (L2 address, IP
version) it behaves pretty much like that.

> What it does is discover the MTU to an IPv6 address on the same LAN. To 
> then infer that any packets sent VIA this node, is not something the draft 
> (at least explicitly) says. The case could be made to say that any packets 
> sent via the "discovered-to-support-larger-MTU-router" could use this 
> higher MTU, but that's something that isn't obvious, and I think it's up 
> for discussion.
> 
> So if I have this network:
> 
> H1 - R1 - R2 - Internet
> 
> If R1 announces in RA to the LAN where H1 is, that MTU is 1500, but H1 but 
> R1 also sends HintMTU of 9180, should the default route H1 installs 
> based on this RA and points to R1 also have this higher MTU? Maybe. Maybe 
> not.

As mentioned in my other mail: The RA's MTU is for the link, not for the
router.  There is no MTU value for the route or router itself;  and
since the RA MTU value doesn't provide any number and we're bumping the
"effective" interface MTU towards the router, that does pretty much
imply the route to R2/internet inherits that value.

> As I said in the session, I would like more fine granular MTU, so that I 
> can have separate MTU for separate entities.

Well - host-wise, doing PLMTUD as Ole suggest would probably work out
fine.  Need routers to make the problem interesting ;)

> For instance, if I know that most of my devices in my home support 9180, 
> but none of my Internet connections do (they only support 1500), then I 
> would like H1 to have this in its routing table:
> 
> Local /64 HintMTU 9180
> RIO with home /56 HintMTU 9180
> RIO with ::/0 with HintMTU 1500
> 
> Because of this, H1 wouldn't need to spend a lot of time trying to send 
> packets to the Internet with larger MTU than 1500.
>
> This would however require that we allow MTUs tied to not only PIO, but 
> also RIO. I still don't know what to do about the implicit default route 
> that one points to anyone one sees an RA from. Personally I consider this 
> design of the IPv6 protocol to be unfortunate.

Hrm... indeed an annoying problem...


-David