
From nobody Thu May 15 15:41:20 2014
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF4451A0195; Thu, 15 May 2014 15:41:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.852
X-Spam-Level: 
X-Spam-Status: No, score=-4.852 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] autolearn=ham
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 ge_zz0NgZoFx; Thu, 15 May 2014 15:41:13 -0700 (PDT)
Received: from blv-mbsout-01.boeing.com (blv-mbsout-01.boeing.com [130.76.32.231]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 902891A0158; Thu, 15 May 2014 15:41:13 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by blv-mbsout-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id s4FMf6pc030594; Thu, 15 May 2014 15:41:06 -0700
Received: from XCH-PHX-109.sw.nos.boeing.com (xch-phx-109.sw.nos.boeing.com [130.247.25.36]) by blv-mbsout-01.boeing.com (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id s4FMf0Nf030277 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Thu, 15 May 2014 15:41:00 -0700
Received: from XCH-BLV-506.nw.nos.boeing.com (2002:82f7:19c4::82f7:19c4) by XCH-PHX-109.sw.nos.boeing.com (2002:82f7:1924::82f7:1924) with Microsoft SMTP Server (TLS) id 14.3.181.6; Thu, 15 May 2014 15:40:59 -0700
Received: from XCH-BLV-504.nw.nos.boeing.com ([169.254.4.105]) by XCH-BLV-506.nw.nos.boeing.com ([169.254.6.199]) with mapi id 14.03.0181.006; Thu, 15 May 2014 15:40:58 -0700
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "tsv-area@ietf.org" <tsv-area@ietf.org>
Thread-Topic: Fragmentation and Path MTU text in nvo3 dataplane reqts draft
Thread-Index: Ac9vtnHd0ZAyZrcySACl53YRIUspEwA1bjtw
Date: Thu, 15 May 2014 22:40:58 +0000
Message-ID: <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com>
References: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com>
In-Reply-To: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [130.247.104.6]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/kvlDZYwA96kBfKCNMtg4p9gXzr8
Cc: Mark Townsley <townsley@cisco.com>, "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 May 2014 22:41:16 -0000

Hi,

> -----Original Message-----
> From: tsv-area [mailto:tsv-area-bounces@ietf.org] On Behalf Of Black, Dav=
id
> Sent: Wednesday, May 14, 2014 1:53 PM
> To: tsvwg@ietf.org; tsv-area@ietf.org
> Subject: Fragmentation and Path MTU text in nvo3 dataplane reqts draft
>=20
> <WG chair hat off>
>=20
> Over in the nvo3 WG, draft-ietf-nvo3-dataplane-requirements-03 contains
> some text on dealing with the fragmentation and MTU effects of tunnels.
> I thought I'd ask for some early review of this text, given recent IESG
> excitement around fragmentation and Path MTU topics in another draft:

All tunnels have trouble with path MTU, and in some cases have no choice
but to fragment. However, they should strive to tune out fragmentation
and forward whole packets whenever possible.

Over in the intarea, there have been sporadic ongoing discussions about
how to recommend generic MTU mitigations for tunnels. Joe Touch and Mark
Townsley have been working for a long time on a document titled
"Tunnels in the Internet Architecture":

http://tools.ietf.org/id/draft-ietf-intarea-tunnels-00.txt

That document should be the place to put generic recommendations for
tunnel MTU handling that apply to all tunnel types.

Tunnel MTU issues keep popping up in all places, and this is just
another example. Is it time to revive Joe and Mark's document?

Thanks - Fred
fred.l.templin@boeing.=20

> http://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-fragmentation/ba=
llot/
>=20
> I believe that the nvo3 draft is in better shape in these areas.  Nonethe=
less,
> I've included its current text on fragmentation and path MTU below, and (=
on
> behalf of the draft authors and nvo3 WG chairs) I'm looking for input on
> what that text should say and why.
>=20
> In nvo3 terminology, an overlay network is an inner network that is tunne=
led
> over an outer underlay network.  The nvo3 WG also uses "Tenant System" as
> the term for a sender/receiver of network traffic because multi-tenancy i=
s
> an important motivation for the WG's activities in network virtualization=
.
>=20
> --------------------------------------
>=20
> 3.5. Path MTU
>=20
>        The tunnel overlay header can cause the MTU of the path to the
>        egress tunnel endpoint to be exceeded.
>=20
>        IP fragmentation SHOULD be avoided for performance reasons.
>=20
>        The interface MTU as seen by a Tenant System SHOULD be adjusted su=
ch
>        that no fragmentation is needed. This can be achieved by
>        configuration or be discovered dynamically.
>=20
>        Either of the following options MUST be supported:
>=20
>           o Classical ICMP-based MTU Path Discovery [RFC1191] [RFC1981] o=
r
>             Extended MTU Path Discovery techniques such as defined in
>             [RFC4821]
>=20
>           o Segmentation and reassembly support from the overlay layer
>             operations without relying on the Tenant Systems to know abou=
t
>             the end-to-end MTU
>=20
>           o The underlay network MAY be designed in such a way that the M=
TU
>             can accommodate the extra tunnel overhead.
>=20
> --------------------------------------
>=20
> </WG chair hat off>
>=20
> Thanks,
> --David
> ----------------------------------------------------
> David L. Black, Distinguished Engineer
> EMC Corporation, 176 South St., Hopkinton, MA=A0 01748
> +1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508) 293-7=
786
> david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
> ----------------------------------------------------


From nobody Fri May 16 11:28:45 2014
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 275BF1A0326; Fri, 16 May 2014 11:28:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.852
X-Spam-Level: 
X-Spam-Status: No, score=-4.852 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] autolearn=ham
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 B2a7oI7THVmu; Fri, 16 May 2014 11:28:01 -0700 (PDT)
Received: from stl-mbsout-02.boeing.com (stl-mbsout-02.boeing.com [130.76.96.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F19661A0322; Fri, 16 May 2014 11:28:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by stl-mbsout-02.boeing.com (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id s4GIRqfv009963; Fri, 16 May 2014 13:27:52 -0500
Received: from XCH-PHX-111.sw.nos.boeing.com (xch-phx-111.sw.nos.boeing.com [130.247.25.132]) by stl-mbsout-02.boeing.com (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id s4GIRmhQ009726 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Fri, 16 May 2014 13:27:49 -0500
Received: from XCH-BLV-205.nw.nos.boeing.com (10.57.37.61) by XCH-PHX-111.sw.nos.boeing.com (130.247.25.132) with Microsoft SMTP Server (TLS) id 14.3.181.6; Fri, 16 May 2014 11:27:47 -0700
Received: from XCH-BLV-504.nw.nos.boeing.com ([169.254.4.105]) by XCH-BLV-205.nw.nos.boeing.com ([169.254.5.221]) with mapi id 14.03.0181.006; Fri, 16 May 2014 11:27:45 -0700
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "tsv-area@ietf.org" <tsv-area@ietf.org>
Thread-Topic: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
Thread-Index: AQHPcTSH/Asq9x/h/UWLdY5SldYekg==
Date: Fri, 16 May 2014 18:27:44 +0000
Message-ID: <2134F8430051B64F815C691A62D983181B2AD6AE@XCH-BLV-504.nw.nos.boeing.com>
References: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com> <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com>
In-Reply-To: <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [130.247.104.6]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/3ZElCrLfN4o_3FBNO_bZb14QwLo
Cc: Mark Townsley <townsley@cisco.com>, "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 May 2014 18:28:03 -0000

> That document should be the place to put generic recommendations for
> tunnel MTU handling that apply to all tunnel types.

In case you are wondering what I think "generic recommendations for
tunnel MTU handling" should look like, here is what I think:

   The tunnel link Maximum Transmission Unit (MTU) is 64KB minus the
   encapsulation overhead for IPv4 [RFC0791] and 4GB minus the
   encapsulation overhead for IPv6 [RFC2675].  This is the most that
   IPv4 and IPv6 (respectively) can convey within the constraints of
   protocol constants, but actual sizes available for tunneling will
   frequently be much smaller.

   The base tunneling specifications for IPv4 and IPv6 typically set a
   static MTU on the tunnel ingress to 1500 bytes minus the
   encapsulation overhead or smaller still if the tunnel is likely to
   incur additional encapsulations on the path.  This can result in path
   MTU related black holes when packets that are too large to be
   accommodated over the tunnel are dropped, but the resulting ICMP
   Packet Too Big (PTB) messages are lost on the return path.  As a
   result, tunnels use the following MTU mitigations to accommodate
   larger packets.

   Tunnels set their ingress MTU to the larger of the
   underlying interface MTU minus the encapsulation overhead, and 1500
   bytes.  Tunnels optionally cache per-egress MTU values in
   the underlying IP path MTU discovery cache initialized to the
   underlying interface MTU.

   Tunnels admit packets that are no larger than 1280 bytes minus the
   encapsulation overhead (*) as well as packets that are larger than
   1500 bytes into the tunnel without fragmentation, i.e., as long as
   they are no larger than the tunnel ingress MTU before encapsulation
   and also no larger than the cached per-egress MTU following
   encapsulation.  For IPv4, the ingress sets the "Don't Fragment" (DF)
   bit to 0 for packets no larger than 1280 bytes minus the encapsulation
   overhead (*) and sets the DF bit to 1 for packets larger than 1500
   bytes.  If a large packet is lost in the path, the ingress may
   optionally cache the MTU reported in the resulting PTB message or may
   ignore the message, e.g., if there is a possibility that the message
   is spurious.

   For packets admitted into the tunnel that are larger than 1280 bytes
   minus the encapsulation overhead (*) but no larger than 1500 bytes,
   the ingress uses IP fragmentation to fragment the encapsulated packet
   into two pieces (where the first fragment contains 1024 bytes of the
   fragmented inner packet) then sends the fragments to the egress.
   If the outer protocol is IPv4, the node sends the fragments with
   DF set to 0 and subject to rate limiting to avoid
   reassembly errors [RFC4963][RFC6864].  For both IPv4 and IPv6, the
   ingress also sends a 1500 byte probe message (**) to the egress,
   subject to rate limiting. To construct a probe, the ingress prepares
   an ICMPv6 Neighbor Solicitation (NS) message with trailing padding
   octets added to a length of 1500 bytes but does not include the
   length of the padding in the IPv6 Payload Length field.  The ingress
   then encapsulates the NS in the outer encapsulation headers (while
   including the length of the padding in the outer length fields), sets
   DF to 1 (for IPv4) and sends the padded NS message to the neighbor.
   If the egress returns an NA message, the ingress may then send whole
   packets within this size range and (for IPv4) relax the rate limiting
   requirement. (Note that for tunnels that do not perform IPv6 neighbor
   discovery, an ICMP echo request message can be used instead of NS.)=20

   The egress MUST be capable of reassembling packets up to 1500 bytes
   plus the encapsulation overhead length.  It is therefore RECOMMENDED
   that the egress be capable of reassembling at least 2KB.

   (*) Note that if it is known without probing that the minimum Path
   MTU to a tunnel egress is MINMTU bytes (where 1280 < MINMTU < 1500)
   then MINMTU can be used instead of 1280 in the fragmentation threshold
   considerations listed above.

   (**) It is RECOMMENDED that no probes smaller than 1500 bytes be used
   for MTU probing purposes, since smaller probes may be fragmented if
   there is a nested tunnel somewhere on the path to the egress.
   Probe sizes larger than 1500 bytes MAY be used, but may be
   unnecessary since original sources are expected to use [RFC4821]
   when sending large packets.

I think this applies to all IP-in-(foo)-in-IP tunnel types, and could go
as a set of generic recommendations to be cited by other documents.

Comments?

Thanks - Fred
fred.l.templin@boeing.com

> -----Original Message-----
> From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of Templin, F=
red L
> Sent: Thursday, May 15, 2014 3:41 PM
> To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane=
 reqts draft
>=20
> Hi,
>=20
> > -----Original Message-----
> > From: tsv-area [mailto:tsv-area-bounces@ietf.org] On Behalf Of Black, D=
avid
> > Sent: Wednesday, May 14, 2014 1:53 PM
> > To: tsvwg@ietf.org; tsv-area@ietf.org
> > Subject: Fragmentation and Path MTU text in nvo3 dataplane reqts draft
> >
> > <WG chair hat off>
> >
> > Over in the nvo3 WG, draft-ietf-nvo3-dataplane-requirements-03 contains
> > some text on dealing with the fragmentation and MTU effects of tunnels.
> > I thought I'd ask for some early review of this text, given recent IESG
> > excitement around fragmentation and Path MTU topics in another draft:
>=20
> All tunnels have trouble with path MTU, and in some cases have no choice
> but to fragment. However, they should strive to tune out fragmentation
> and forward whole packets whenever possible.
>=20
> Over in the intarea, there have been sporadic ongoing discussions about
> how to recommend generic MTU mitigations for tunnels. Joe Touch and Mark
> Townsley have been working for a long time on a document titled
> "Tunnels in the Internet Architecture":
>=20
> http://tools.ietf.org/id/draft-ietf-intarea-tunnels-00.txt
>=20
> That document should be the place to put generic recommendations for
> tunnel MTU handling that apply to all tunnel types.
>=20
> Tunnel MTU issues keep popping up in all places, and this is just
> another example. Is it time to revive Joe and Mark's document?
>=20
> Thanks - Fred
> fred.l.templin@boeing.
>=20
> > http://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-fragmentation/=
ballot/
> >
> > I believe that the nvo3 draft is in better shape in these areas.  Nonet=
heless,
> > I've included its current text on fragmentation and path MTU below, and=
 (on
> > behalf of the draft authors and nvo3 WG chairs) I'm looking for input o=
n
> > what that text should say and why.
> >
> > In nvo3 terminology, an overlay network is an inner network that is tun=
neled
> > over an outer underlay network.  The nvo3 WG also uses "Tenant System" =
as
> > the term for a sender/receiver of network traffic because multi-tenancy=
 is
> > an important motivation for the WG's activities in network virtualizati=
on.
> >
> > --------------------------------------
> >
> > 3.5. Path MTU
> >
> >        The tunnel overlay header can cause the MTU of the path to the
> >        egress tunnel endpoint to be exceeded.
> >
> >        IP fragmentation SHOULD be avoided for performance reasons.
> >
> >        The interface MTU as seen by a Tenant System SHOULD be adjusted =
such
> >        that no fragmentation is needed. This can be achieved by
> >        configuration or be discovered dynamically.
> >
> >        Either of the following options MUST be supported:
> >
> >           o Classical ICMP-based MTU Path Discovery [RFC1191] [RFC1981]=
 or
> >             Extended MTU Path Discovery techniques such as defined in
> >             [RFC4821]
> >
> >           o Segmentation and reassembly support from the overlay layer
> >             operations without relying on the Tenant Systems to know ab=
out
> >             the end-to-end MTU
> >
> >           o The underlay network MAY be designed in such a way that the=
 MTU
> >             can accommodate the extra tunnel overhead.
> >
> > --------------------------------------
> >
> > </WG chair hat off>
> >
> > Thanks,
> > --David
> > ----------------------------------------------------
> > David L. Black, Distinguished Engineer
> > EMC Corporation, 176 South St., Hopkinton, MA=A0 01748
> > +1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508) 293=
-7786
> > david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
> > ----------------------------------------------------
>=20
> _______________________________________________
> Int-area mailing list
> Int-area@ietf.org
> https://www.ietf.org/mailman/listinfo/int-area


From nobody Fri May 16 11:56:43 2014
Return-Path: <linda.dunbar@huawei.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 900321A00EA; Fri, 16 May 2014 11:56:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.851
X-Spam-Level: 
X-Spam-Status: No, score=-4.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, WEIRD_QUOTING=0.001] autolearn=ham
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 18HE9YlAbHSb; Fri, 16 May 2014 11:56:36 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D6C61A0147; Fri, 16 May 2014 11:56:35 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BEF61684; Fri, 16 May 2014 18:56:26 +0000 (GMT)
Received: from LHREML404-HUB.china.huawei.com (10.201.5.218) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 16 May 2014 19:55:21 +0100
Received: from DFWEML703-CHM.china.huawei.com (10.193.5.130) by lhreml404-hub.china.huawei.com (10.201.5.218) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 16 May 2014 19:56:25 +0100
Received: from DFWEML701-CHM.china.huawei.com ([169.254.1.127]) by dfweml703-chm.china.huawei.com ([169.254.5.104]) with mapi id 14.03.0158.001;  Fri, 16 May 2014 11:56:13 -0700
From: Linda Dunbar <linda.dunbar@huawei.com>
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "tsv-area@ietf.org" <tsv-area@ietf.org>
Thread-Topic: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
Thread-Index: Ac9vtnHd0ZAyZrcySACl53YRIUspEwA1bjtwADjCOwAADdAtAA==
Date: Fri, 16 May 2014 18:56:14 +0000
Message-ID: <4A95BA014132FF49AE685FAB4B9F17F645D0B178@dfweml701-chm.china.huawei.com>
References: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com> <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com> <2134F8430051B64F815C691A62D983181B2AD6AE@XCH-BLV-504.nw.nos.boeing.com>
In-Reply-To: <2134F8430051B64F815C691A62D983181B2AD6AE@XCH-BLV-504.nw.nos.boeing.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.47.156.197]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/tvFzYkW3jkyNv9djzN_Bx_LuLTE
Cc: Mark Townsley <townsley@cisco.com>, "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 May 2014 18:56:39 -0000

I am confused of the math here. If most physical links MTU is 1500 bytes (o=
r 2000 bytes for some), how do we have""4GB"" minus the encapsulation overh=
ead for IPv6, as the "tunnel link Maximum Transmission Unit (MTU)".=20

Is 4GB correct ???

Linda=20

-----Original Message-----
From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of Templin, Fre=
d L
Sent: Friday, May 16, 2014 1:28 PM
To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
Cc: Mark Townsley; int-area@ietf.org
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane r=
eqts draft

> That document should be the place to put generic recommendations for=20
> tunnel MTU handling that apply to all tunnel types.

In case you are wondering what I think "generic recommendations for tunnel =
MTU handling" should look like, here is what I think:

   The tunnel link Maximum Transmission Unit (MTU) is 64KB minus the
   encapsulation overhead for IPv4 [RFC0791] and 4GB minus the
   encapsulation overhead for IPv6 [RFC2675].  This is the most that
   IPv4 and IPv6 (respectively) can convey within the constraints of
   protocol constants, but actual sizes available for tunneling will
   frequently be much smaller.

   The base tunneling specifications for IPv4 and IPv6 typically set a
   static MTU on the tunnel ingress to 1500 bytes minus the
   encapsulation overhead or smaller still if the tunnel is likely to
   incur additional encapsulations on the path.  This can result in path
   MTU related black holes when packets that are too large to be
   accommodated over the tunnel are dropped, but the resulting ICMP
   Packet Too Big (PTB) messages are lost on the return path.  As a
   result, tunnels use the following MTU mitigations to accommodate
   larger packets.

   Tunnels set their ingress MTU to the larger of the
   underlying interface MTU minus the encapsulation overhead, and 1500
   bytes.  Tunnels optionally cache per-egress MTU values in
   the underlying IP path MTU discovery cache initialized to the
   underlying interface MTU.

   Tunnels admit packets that are no larger than 1280 bytes minus the
   encapsulation overhead (*) as well as packets that are larger than
   1500 bytes into the tunnel without fragmentation, i.e., as long as
   they are no larger than the tunnel ingress MTU before encapsulation
   and also no larger than the cached per-egress MTU following
   encapsulation.  For IPv4, the ingress sets the "Don't Fragment" (DF)
   bit to 0 for packets no larger than 1280 bytes minus the encapsulation
   overhead (*) and sets the DF bit to 1 for packets larger than 1500
   bytes.  If a large packet is lost in the path, the ingress may
   optionally cache the MTU reported in the resulting PTB message or may
   ignore the message, e.g., if there is a possibility that the message
   is spurious.

   For packets admitted into the tunnel that are larger than 1280 bytes
   minus the encapsulation overhead (*) but no larger than 1500 bytes,
   the ingress uses IP fragmentation to fragment the encapsulated packet
   into two pieces (where the first fragment contains 1024 bytes of the
   fragmented inner packet) then sends the fragments to the egress.
   If the outer protocol is IPv4, the node sends the fragments with
   DF set to 0 and subject to rate limiting to avoid
   reassembly errors [RFC4963][RFC6864].  For both IPv4 and IPv6, the
   ingress also sends a 1500 byte probe message (**) to the egress,
   subject to rate limiting. To construct a probe, the ingress prepares
   an ICMPv6 Neighbor Solicitation (NS) message with trailing padding
   octets added to a length of 1500 bytes but does not include the
   length of the padding in the IPv6 Payload Length field.  The ingress
   then encapsulates the NS in the outer encapsulation headers (while
   including the length of the padding in the outer length fields), sets
   DF to 1 (for IPv4) and sends the padded NS message to the neighbor.
   If the egress returns an NA message, the ingress may then send whole
   packets within this size range and (for IPv4) relax the rate limiting
   requirement. (Note that for tunnels that do not perform IPv6 neighbor
   discovery, an ICMP echo request message can be used instead of NS.)=20

   The egress MUST be capable of reassembling packets up to 1500 bytes
   plus the encapsulation overhead length.  It is therefore RECOMMENDED
   that the egress be capable of reassembling at least 2KB.

   (*) Note that if it is known without probing that the minimum Path
   MTU to a tunnel egress is MINMTU bytes (where 1280 < MINMTU < 1500)
   then MINMTU can be used instead of 1280 in the fragmentation threshold
   considerations listed above.

   (**) It is RECOMMENDED that no probes smaller than 1500 bytes be used
   for MTU probing purposes, since smaller probes may be fragmented if
   there is a nested tunnel somewhere on the path to the egress.
   Probe sizes larger than 1500 bytes MAY be used, but may be
   unnecessary since original sources are expected to use [RFC4821]
   when sending large packets.

I think this applies to all IP-in-(foo)-in-IP tunnel types, and could go as=
 a set of generic recommendations to be cited by other documents.

Comments?

Thanks - Fred
fred.l.templin@boeing.com

> -----Original Message-----
> From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of=20
> Templin, Fred L
> Sent: Thursday, May 15, 2014 3:41 PM
> To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3=20
> dataplane reqts draft
>=20
> Hi,
>=20
> > -----Original Message-----
> > From: tsv-area [mailto:tsv-area-bounces@ietf.org] On Behalf Of=20
> > Black, David
> > Sent: Wednesday, May 14, 2014 1:53 PM
> > To: tsvwg@ietf.org; tsv-area@ietf.org
> > Subject: Fragmentation and Path MTU text in nvo3 dataplane reqts=20
> > draft
> >
> > <WG chair hat off>
> >
> > Over in the nvo3 WG, draft-ietf-nvo3-dataplane-requirements-03=20
> > contains some text on dealing with the fragmentation and MTU effects of=
 tunnels.
> > I thought I'd ask for some early review of this text, given recent=20
> > IESG excitement around fragmentation and Path MTU topics in another dra=
ft:
>=20
> All tunnels have trouble with path MTU, and in some cases have no=20
> choice but to fragment. However, they should strive to tune out=20
> fragmentation and forward whole packets whenever possible.
>=20
> Over in the intarea, there have been sporadic ongoing discussions=20
> about how to recommend generic MTU mitigations for tunnels. Joe Touch=20
> and Mark Townsley have been working for a long time on a document=20
> titled "Tunnels in the Internet Architecture":
>=20
> http://tools.ietf.org/id/draft-ietf-intarea-tunnels-00.txt
>=20
> That document should be the place to put generic recommendations for=20
> tunnel MTU handling that apply to all tunnel types.
>=20
> Tunnel MTU issues keep popping up in all places, and this is just=20
> another example. Is it time to revive Joe and Mark's document?
>=20
> Thanks - Fred
> fred.l.templin@boeing.
>=20
> > http://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-fragmentati
> > on/ballot/
> >
> > I believe that the nvo3 draft is in better shape in these areas. =20
> > Nonetheless, I've included its current text on fragmentation and=20
> > path MTU below, and (on behalf of the draft authors and nvo3 WG=20
> > chairs) I'm looking for input on what that text should say and why.
> >
> > In nvo3 terminology, an overlay network is an inner network that is=20
> > tunneled over an outer underlay network.  The nvo3 WG also uses=20
> > "Tenant System" as the term for a sender/receiver of network traffic=20
> > because multi-tenancy is an important motivation for the WG's activitie=
s in network virtualization.
> >
> > --------------------------------------
> >
> > 3.5. Path MTU
> >
> >        The tunnel overlay header can cause the MTU of the path to the
> >        egress tunnel endpoint to be exceeded.
> >
> >        IP fragmentation SHOULD be avoided for performance reasons.
> >
> >        The interface MTU as seen by a Tenant System SHOULD be adjusted =
such
> >        that no fragmentation is needed. This can be achieved by
> >        configuration or be discovered dynamically.
> >
> >        Either of the following options MUST be supported:
> >
> >           o Classical ICMP-based MTU Path Discovery [RFC1191] [RFC1981]=
 or
> >             Extended MTU Path Discovery techniques such as defined in
> >             [RFC4821]
> >
> >           o Segmentation and reassembly support from the overlay layer
> >             operations without relying on the Tenant Systems to know ab=
out
> >             the end-to-end MTU
> >
> >           o The underlay network MAY be designed in such a way that the=
 MTU
> >             can accommodate the extra tunnel overhead.
> >
> > --------------------------------------
> >
> > </WG chair hat off>
> >
> > Thanks,
> > --David
> > ----------------------------------------------------
> > David L. Black, Distinguished Engineer EMC Corporation, 176 South=20
> > St., Hopkinton, MA=A0 01748
> > +1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508) 293=
-7786
> > david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
> > ----------------------------------------------------
>=20
> _______________________________________________
> Int-area mailing list
> Int-area@ietf.org
> https://www.ietf.org/mailman/listinfo/int-area

_______________________________________________
Int-area mailing list
Int-area@ietf.org
https://www.ietf.org/mailman/listinfo/int-area


From nobody Fri May 16 12:11:33 2014
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4EFFC1A0322; Fri, 16 May 2014 12:11:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.851
X-Spam-Level: 
X-Spam-Status: No, score=-4.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, WEIRD_QUOTING=0.001] autolearn=ham
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 4NkM30vP0dFI; Fri, 16 May 2014 12:11:07 -0700 (PDT)
Received: from slb-mbsout-02.boeing.com (slb-mbsout-02.boeing.com [130.76.64.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5351A1A0366; Fri, 16 May 2014 12:09:57 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by slb-mbsout-02.boeing.com (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id s4GJ9nIj010204; Fri, 16 May 2014 12:09:49 -0700
Received: from XCH-PHX-113.sw.nos.boeing.com (xch-phx-113.sw.nos.boeing.com [130.247.25.136]) by slb-mbsout-02.boeing.com (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id s4GJ9ete010096 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Fri, 16 May 2014 12:09:41 -0700
Received: from XCH-BLV-504.nw.nos.boeing.com ([169.254.4.105]) by XCH-PHX-113.sw.nos.boeing.com ([169.254.13.51]) with mapi id 14.03.0181.006; Fri, 16 May 2014 12:09:40 -0700
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: Linda Dunbar <linda.dunbar@huawei.com>, "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "tsv-area@ietf.org" <tsv-area@ietf.org>
Thread-Topic: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
Thread-Index: AQHPcTpiayvL/eBQg0aL8rjprMnvlQ==
Date: Fri, 16 May 2014 19:09:39 +0000
Message-ID: <2134F8430051B64F815C691A62D983181B2AD82D@XCH-BLV-504.nw.nos.boeing.com>
References: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com> <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com> <2134F8430051B64F815C691A62D983181B2AD6AE@XCH-BLV-504.nw.nos.boeing.com> <4A95BA014132FF49AE685FAB4B9F17F645D0B178@dfweml701-chm.china.huawei.com>
In-Reply-To: <4A95BA014132FF49AE685FAB4B9F17F645D0B178@dfweml701-chm.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [130.247.104.6]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/3WM2uXbzURlI05uj4yI_9WJneTY
Cc: Mark Townsley <townsley@cisco.com>, "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 May 2014 19:11:20 -0000

Hi Linda,

The maximum MTU for an IPv4 link is 64KB (per RFC0791) and the maximum
MTU for an IPv6 link is 4GB (per RFC2675). For tunnels over IPv4, the
IPv4 network itself is the link layer for the tunnel. For tunnels over
IPv6, the IPv6 network is the link-layer. That means that the largest
encapsulated packet that will fit over an IPv4 "link" is 64KB minus
the encapsulation overhead, and the largest over an IPv6 "link" is
4GB minus overhead. But, typical values will be much smaller than
this because most underlying links configure smaller MTUs.

Thanks - Fred
fred.l.templin@boeing.com

> -----Original Message-----
> From: Linda Dunbar [mailto:linda.dunbar@huawei.com]
> Sent: Friday, May 16, 2014 11:56 AM
> To: Templin, Fred L; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane=
 reqts draft
>=20
> I am confused of the math here. If most physical links MTU is 1500 bytes =
(or 2000 bytes for some), how
> do we have""4GB"" minus the encapsulation overhead for IPv6, as the "tunn=
el link Maximum Transmission
> Unit (MTU)".
>=20
> Is 4GB correct ???
>=20
> Linda
>=20
> -----Original Message-----
> From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of Templin, F=
red L
> Sent: Friday, May 16, 2014 1:28 PM
> To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane=
 reqts draft
>=20
> > That document should be the place to put generic recommendations for
> > tunnel MTU handling that apply to all tunnel types.
>=20
> In case you are wondering what I think "generic recommendations for tunne=
l MTU handling" should look
> like, here is what I think:
>=20
>    The tunnel link Maximum Transmission Unit (MTU) is 64KB minus the
>    encapsulation overhead for IPv4 [RFC0791] and 4GB minus the
>    encapsulation overhead for IPv6 [RFC2675].  This is the most that
>    IPv4 and IPv6 (respectively) can convey within the constraints of
>    protocol constants, but actual sizes available for tunneling will
>    frequently be much smaller.
>=20
>    The base tunneling specifications for IPv4 and IPv6 typically set a
>    static MTU on the tunnel ingress to 1500 bytes minus the
>    encapsulation overhead or smaller still if the tunnel is likely to
>    incur additional encapsulations on the path.  This can result in path
>    MTU related black holes when packets that are too large to be
>    accommodated over the tunnel are dropped, but the resulting ICMP
>    Packet Too Big (PTB) messages are lost on the return path.  As a
>    result, tunnels use the following MTU mitigations to accommodate
>    larger packets.
>=20
>    Tunnels set their ingress MTU to the larger of the
>    underlying interface MTU minus the encapsulation overhead, and 1500
>    bytes.  Tunnels optionally cache per-egress MTU values in
>    the underlying IP path MTU discovery cache initialized to the
>    underlying interface MTU.
>=20
>    Tunnels admit packets that are no larger than 1280 bytes minus the
>    encapsulation overhead (*) as well as packets that are larger than
>    1500 bytes into the tunnel without fragmentation, i.e., as long as
>    they are no larger than the tunnel ingress MTU before encapsulation
>    and also no larger than the cached per-egress MTU following
>    encapsulation.  For IPv4, the ingress sets the "Don't Fragment" (DF)
>    bit to 0 for packets no larger than 1280 bytes minus the encapsulation
>    overhead (*) and sets the DF bit to 1 for packets larger than 1500
>    bytes.  If a large packet is lost in the path, the ingress may
>    optionally cache the MTU reported in the resulting PTB message or may
>    ignore the message, e.g., if there is a possibility that the message
>    is spurious.
>=20
>    For packets admitted into the tunnel that are larger than 1280 bytes
>    minus the encapsulation overhead (*) but no larger than 1500 bytes,
>    the ingress uses IP fragmentation to fragment the encapsulated packet
>    into two pieces (where the first fragment contains 1024 bytes of the
>    fragmented inner packet) then sends the fragments to the egress.
>    If the outer protocol is IPv4, the node sends the fragments with
>    DF set to 0 and subject to rate limiting to avoid
>    reassembly errors [RFC4963][RFC6864].  For both IPv4 and IPv6, the
>    ingress also sends a 1500 byte probe message (**) to the egress,
>    subject to rate limiting. To construct a probe, the ingress prepares
>    an ICMPv6 Neighbor Solicitation (NS) message with trailing padding
>    octets added to a length of 1500 bytes but does not include the
>    length of the padding in the IPv6 Payload Length field.  The ingress
>    then encapsulates the NS in the outer encapsulation headers (while
>    including the length of the padding in the outer length fields), sets
>    DF to 1 (for IPv4) and sends the padded NS message to the neighbor.
>    If the egress returns an NA message, the ingress may then send whole
>    packets within this size range and (for IPv4) relax the rate limiting
>    requirement. (Note that for tunnels that do not perform IPv6 neighbor
>    discovery, an ICMP echo request message can be used instead of NS.)
>=20
>    The egress MUST be capable of reassembling packets up to 1500 bytes
>    plus the encapsulation overhead length.  It is therefore RECOMMENDED
>    that the egress be capable of reassembling at least 2KB.
>=20
>    (*) Note that if it is known without probing that the minimum Path
>    MTU to a tunnel egress is MINMTU bytes (where 1280 < MINMTU < 1500)
>    then MINMTU can be used instead of 1280 in the fragmentation threshold
>    considerations listed above.
>=20
>    (**) It is RECOMMENDED that no probes smaller than 1500 bytes be used
>    for MTU probing purposes, since smaller probes may be fragmented if
>    there is a nested tunnel somewhere on the path to the egress.
>    Probe sizes larger than 1500 bytes MAY be used, but may be
>    unnecessary since original sources are expected to use [RFC4821]
>    when sending large packets.
>=20
> I think this applies to all IP-in-(foo)-in-IP tunnel types, and could go =
as a set of generic
> recommendations to be cited by other documents.
>=20
> Comments?
>=20
> Thanks - Fred
> fred.l.templin@boeing.com
>=20
> > -----Original Message-----
> > From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of
> > Templin, Fred L
> > Sent: Thursday, May 15, 2014 3:41 PM
> > To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > Cc: Mark Townsley; int-area@ietf.org
> > Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3
> > dataplane reqts draft
> >
> > Hi,
> >
> > > -----Original Message-----
> > > From: tsv-area [mailto:tsv-area-bounces@ietf.org] On Behalf Of
> > > Black, David
> > > Sent: Wednesday, May 14, 2014 1:53 PM
> > > To: tsvwg@ietf.org; tsv-area@ietf.org
> > > Subject: Fragmentation and Path MTU text in nvo3 dataplane reqts
> > > draft
> > >
> > > <WG chair hat off>
> > >
> > > Over in the nvo3 WG, draft-ietf-nvo3-dataplane-requirements-03
> > > contains some text on dealing with the fragmentation and MTU effects =
of tunnels.
> > > I thought I'd ask for some early review of this text, given recent
> > > IESG excitement around fragmentation and Path MTU topics in another d=
raft:
> >
> > All tunnels have trouble with path MTU, and in some cases have no
> > choice but to fragment. However, they should strive to tune out
> > fragmentation and forward whole packets whenever possible.
> >
> > Over in the intarea, there have been sporadic ongoing discussions
> > about how to recommend generic MTU mitigations for tunnels. Joe Touch
> > and Mark Townsley have been working for a long time on a document
> > titled "Tunnels in the Internet Architecture":
> >
> > http://tools.ietf.org/id/draft-ietf-intarea-tunnels-00.txt
> >
> > That document should be the place to put generic recommendations for
> > tunnel MTU handling that apply to all tunnel types.
> >
> > Tunnel MTU issues keep popping up in all places, and this is just
> > another example. Is it time to revive Joe and Mark's document?
> >
> > Thanks - Fred
> > fred.l.templin@boeing.
> >
> > > http://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-fragmentati
> > > on/ballot/
> > >
> > > I believe that the nvo3 draft is in better shape in these areas.
> > > Nonetheless, I've included its current text on fragmentation and
> > > path MTU below, and (on behalf of the draft authors and nvo3 WG
> > > chairs) I'm looking for input on what that text should say and why.
> > >
> > > In nvo3 terminology, an overlay network is an inner network that is
> > > tunneled over an outer underlay network.  The nvo3 WG also uses
> > > "Tenant System" as the term for a sender/receiver of network traffic
> > > because multi-tenancy is an important motivation for the WG's activit=
ies in network
> virtualization.
> > >
> > > --------------------------------------
> > >
> > > 3.5. Path MTU
> > >
> > >        The tunnel overlay header can cause the MTU of the path to the
> > >        egress tunnel endpoint to be exceeded.
> > >
> > >        IP fragmentation SHOULD be avoided for performance reasons.
> > >
> > >        The interface MTU as seen by a Tenant System SHOULD be adjuste=
d such
> > >        that no fragmentation is needed. This can be achieved by
> > >        configuration or be discovered dynamically.
> > >
> > >        Either of the following options MUST be supported:
> > >
> > >           o Classical ICMP-based MTU Path Discovery [RFC1191] [RFC198=
1] or
> > >             Extended MTU Path Discovery techniques such as defined in
> > >             [RFC4821]
> > >
> > >           o Segmentation and reassembly support from the overlay laye=
r
> > >             operations without relying on the Tenant Systems to know =
about
> > >             the end-to-end MTU
> > >
> > >           o The underlay network MAY be designed in such a way that t=
he MTU
> > >             can accommodate the extra tunnel overhead.
> > >
> > > --------------------------------------
> > >
> > > </WG chair hat off>
> > >
> > > Thanks,
> > > --David
> > > ----------------------------------------------------
> > > David L. Black, Distinguished Engineer EMC Corporation, 176 South
> > > St., Hopkinton, MA=A0 01748
> > > +1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508) 2=
93-7786
> > > david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
> > > ----------------------------------------------------
> >
> > _______________________________________________
> > Int-area mailing list
> > Int-area@ietf.org
> > https://www.ietf.org/mailman/listinfo/int-area
>=20
> _______________________________________________
> Int-area mailing list
> Int-area@ietf.org
> https://www.ietf.org/mailman/listinfo/int-area


From nobody Fri May 16 13:02:35 2014
Return-Path: <linda.dunbar@huawei.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 596DF1A015D; Fri, 16 May 2014 13:02:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.851
X-Spam-Level: 
X-Spam-Status: No, score=-4.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, WEIRD_QUOTING=0.001] autolearn=ham
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 QbtGW1bffxM4; Fri, 16 May 2014 13:02:29 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19D361A0167; Fri, 16 May 2014 13:02:26 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BGV77907; Fri, 16 May 2014 20:02:18 +0000 (GMT)
Received: from LHREML406-HUB.china.huawei.com (10.201.5.243) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 16 May 2014 21:01:14 +0100
Received: from DFWEML705-CHM.china.huawei.com (10.193.5.142) by lhreml406-hub.china.huawei.com (10.201.5.243) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 16 May 2014 21:02:17 +0100
Received: from DFWEML701-CHM.china.huawei.com ([169.254.1.127]) by dfweml705-chm.china.huawei.com ([169.254.7.19]) with mapi id 14.03.0158.001; Fri, 16 May 2014 13:02:09 -0700
From: Linda Dunbar <linda.dunbar@huawei.com>
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "tsv-area@ietf.org" <tsv-area@ietf.org>
Thread-Topic: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
Thread-Index: Ac9vtnHd0ZAyZrcySACl53YRIUspEwA1bjtwADjCOwAADdAtAP//nTSAgABoWoA=
Date: Fri, 16 May 2014 20:02:09 +0000
Message-ID: <4A95BA014132FF49AE685FAB4B9F17F645D0B464@dfweml701-chm.china.huawei.com>
References: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com> <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com> <2134F8430051B64F815C691A62D983181B2AD6AE@XCH-BLV-504.nw.nos.boeing.com> <4A95BA014132FF49AE685FAB4B9F17F645D0B178@dfweml701-chm.china.huawei.com> <2134F8430051B64F815C691A62D983181B2AD82D@XCH-BLV-504.nw.nos.boeing.com>
In-Reply-To: <2134F8430051B64F815C691A62D983181B2AD82D@XCH-BLV-504.nw.nos.boeing.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.47.156.197]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/bRcVwkjSMmRffhXugZp-Ra__Glo
Cc: Mark Townsley <townsley@cisco.com>, "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 May 2014 20:02:32 -0000

Can we challenge the 4GB MTU size recommendation by RFC2675? Network consis=
ts of nodes and links. The MTU of a network should be limited by the MTU of=
 the links.=20

With 4GB MTU recommendation, it would require the network ingress node to f=
ragment packets and egress node to reassemble packets. =20

If the network ingress can fragment and egress can reassemble packets, ther=
e is no need to define the network MTU size. Therefore, this recommendation=
 is meaningless.=20

Linda

-----Original Message-----
From: Templin, Fred L [mailto:Fred.L.Templin@boeing.com]=20
Sent: Friday, May 16, 2014 2:10 PM
To: Linda Dunbar; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
Cc: Mark Townsley; int-area@ietf.org
Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane r=
eqts draft

Hi Linda,

The maximum MTU for an IPv4 link is 64KB (per RFC0791) and the maximum MTU =
for an IPv6 link is 4GB (per RFC2675). For tunnels over IPv4, the
IPv4 network itself is the link layer for the tunnel. For tunnels over IPv6=
, the IPv6 network is the link-layer. That means that the largest encapsula=
ted packet that will fit over an IPv4 "link" is 64KB minus the encapsulatio=
n overhead, and the largest over an IPv6 "link" is 4GB minus overhead. But,=
 typical values will be much smaller than this because most underlying link=
s configure smaller MTUs.

Thanks - Fred
fred.l.templin@boeing.com

> -----Original Message-----
> From: Linda Dunbar [mailto:linda.dunbar@huawei.com]
> Sent: Friday, May 16, 2014 11:56 AM
> To: Templin, Fred L; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3=20
> dataplane reqts draft
>=20
> I am confused of the math here. If most physical links MTU is 1500=20
> bytes (or 2000 bytes for some), how do we have""4GB"" minus the=20
> encapsulation overhead for IPv6, as the "tunnel link Maximum Transmission=
 Unit (MTU)".
>=20
> Is 4GB correct ???
>=20
> Linda
>=20
> -----Original Message-----
> From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of=20
> Templin, Fred L
> Sent: Friday, May 16, 2014 1:28 PM
> To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3=20
> dataplane reqts draft
>=20
> > That document should be the place to put generic recommendations for=20
> > tunnel MTU handling that apply to all tunnel types.
>=20
> In case you are wondering what I think "generic recommendations for=20
> tunnel MTU handling" should look like, here is what I think:
>=20
>    The tunnel link Maximum Transmission Unit (MTU) is 64KB minus the
>    encapsulation overhead for IPv4 [RFC0791] and 4GB minus the
>    encapsulation overhead for IPv6 [RFC2675].  This is the most that
>    IPv4 and IPv6 (respectively) can convey within the constraints of
>    protocol constants, but actual sizes available for tunneling will
>    frequently be much smaller.
>=20
>    The base tunneling specifications for IPv4 and IPv6 typically set a
>    static MTU on the tunnel ingress to 1500 bytes minus the
>    encapsulation overhead or smaller still if the tunnel is likely to
>    incur additional encapsulations on the path.  This can result in path
>    MTU related black holes when packets that are too large to be
>    accommodated over the tunnel are dropped, but the resulting ICMP
>    Packet Too Big (PTB) messages are lost on the return path.  As a
>    result, tunnels use the following MTU mitigations to accommodate
>    larger packets.
>=20
>    Tunnels set their ingress MTU to the larger of the
>    underlying interface MTU minus the encapsulation overhead, and 1500
>    bytes.  Tunnels optionally cache per-egress MTU values in
>    the underlying IP path MTU discovery cache initialized to the
>    underlying interface MTU.
>=20
>    Tunnels admit packets that are no larger than 1280 bytes minus the
>    encapsulation overhead (*) as well as packets that are larger than
>    1500 bytes into the tunnel without fragmentation, i.e., as long as
>    they are no larger than the tunnel ingress MTU before encapsulation
>    and also no larger than the cached per-egress MTU following
>    encapsulation.  For IPv4, the ingress sets the "Don't Fragment" (DF)
>    bit to 0 for packets no larger than 1280 bytes minus the encapsulation
>    overhead (*) and sets the DF bit to 1 for packets larger than 1500
>    bytes.  If a large packet is lost in the path, the ingress may
>    optionally cache the MTU reported in the resulting PTB message or may
>    ignore the message, e.g., if there is a possibility that the message
>    is spurious.
>=20
>    For packets admitted into the tunnel that are larger than 1280 bytes
>    minus the encapsulation overhead (*) but no larger than 1500 bytes,
>    the ingress uses IP fragmentation to fragment the encapsulated packet
>    into two pieces (where the first fragment contains 1024 bytes of the
>    fragmented inner packet) then sends the fragments to the egress.
>    If the outer protocol is IPv4, the node sends the fragments with
>    DF set to 0 and subject to rate limiting to avoid
>    reassembly errors [RFC4963][RFC6864].  For both IPv4 and IPv6, the
>    ingress also sends a 1500 byte probe message (**) to the egress,
>    subject to rate limiting. To construct a probe, the ingress prepares
>    an ICMPv6 Neighbor Solicitation (NS) message with trailing padding
>    octets added to a length of 1500 bytes but does not include the
>    length of the padding in the IPv6 Payload Length field.  The ingress
>    then encapsulates the NS in the outer encapsulation headers (while
>    including the length of the padding in the outer length fields), sets
>    DF to 1 (for IPv4) and sends the padded NS message to the neighbor.
>    If the egress returns an NA message, the ingress may then send whole
>    packets within this size range and (for IPv4) relax the rate limiting
>    requirement. (Note that for tunnels that do not perform IPv6 neighbor
>    discovery, an ICMP echo request message can be used instead of NS.)
>=20
>    The egress MUST be capable of reassembling packets up to 1500 bytes
>    plus the encapsulation overhead length.  It is therefore RECOMMENDED
>    that the egress be capable of reassembling at least 2KB.
>=20
>    (*) Note that if it is known without probing that the minimum Path
>    MTU to a tunnel egress is MINMTU bytes (where 1280 < MINMTU < 1500)
>    then MINMTU can be used instead of 1280 in the fragmentation threshold
>    considerations listed above.
>=20
>    (**) It is RECOMMENDED that no probes smaller than 1500 bytes be used
>    for MTU probing purposes, since smaller probes may be fragmented if
>    there is a nested tunnel somewhere on the path to the egress.
>    Probe sizes larger than 1500 bytes MAY be used, but may be
>    unnecessary since original sources are expected to use [RFC4821]
>    when sending large packets.
>=20
> I think this applies to all IP-in-(foo)-in-IP tunnel types, and could=20
> go as a set of generic recommendations to be cited by other documents.
>=20
> Comments?
>=20
> Thanks - Fred
> fred.l.templin@boeing.com
>=20
> > -----Original Message-----
> > From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of=20
> > Templin, Fred L
> > Sent: Thursday, May 15, 2014 3:41 PM
> > To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > Cc: Mark Townsley; int-area@ietf.org
> > Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3=20
> > dataplane reqts draft
> >
> > Hi,
> >
> > > -----Original Message-----
> > > From: tsv-area [mailto:tsv-area-bounces@ietf.org] On Behalf Of=20
> > > Black, David
> > > Sent: Wednesday, May 14, 2014 1:53 PM
> > > To: tsvwg@ietf.org; tsv-area@ietf.org
> > > Subject: Fragmentation and Path MTU text in nvo3 dataplane reqts=20
> > > draft
> > >
> > > <WG chair hat off>
> > >
> > > Over in the nvo3 WG, draft-ietf-nvo3-dataplane-requirements-03
> > > contains some text on dealing with the fragmentation and MTU effects =
of tunnels.
> > > I thought I'd ask for some early review of this text, given recent=20
> > > IESG excitement around fragmentation and Path MTU topics in another d=
raft:
> >
> > All tunnels have trouble with path MTU, and in some cases have no=20
> > choice but to fragment. However, they should strive to tune out=20
> > fragmentation and forward whole packets whenever possible.
> >
> > Over in the intarea, there have been sporadic ongoing discussions=20
> > about how to recommend generic MTU mitigations for tunnels. Joe=20
> > Touch and Mark Townsley have been working for a long time on a=20
> > document titled "Tunnels in the Internet Architecture":
> >
> > http://tools.ietf.org/id/draft-ietf-intarea-tunnels-00.txt
> >
> > That document should be the place to put generic recommendations for=20
> > tunnel MTU handling that apply to all tunnel types.
> >
> > Tunnel MTU issues keep popping up in all places, and this is just=20
> > another example. Is it time to revive Joe and Mark's document?
> >
> > Thanks - Fred
> > fred.l.templin@boeing.
> >
> > > http://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-fragmenta
> > > ti
> > > on/ballot/
> > >
> > > I believe that the nvo3 draft is in better shape in these areas.
> > > Nonetheless, I've included its current text on fragmentation and=20
> > > path MTU below, and (on behalf of the draft authors and nvo3 WG
> > > chairs) I'm looking for input on what that text should say and why.
> > >
> > > In nvo3 terminology, an overlay network is an inner network that=20
> > > is tunneled over an outer underlay network.  The nvo3 WG also uses=20
> > > "Tenant System" as the term for a sender/receiver of network=20
> > > traffic because multi-tenancy is an important motivation for the=20
> > > WG's activities in network
> virtualization.
> > >
> > > --------------------------------------
> > >
> > > 3.5. Path MTU
> > >
> > >        The tunnel overlay header can cause the MTU of the path to the
> > >        egress tunnel endpoint to be exceeded.
> > >
> > >        IP fragmentation SHOULD be avoided for performance reasons.
> > >
> > >        The interface MTU as seen by a Tenant System SHOULD be adjuste=
d such
> > >        that no fragmentation is needed. This can be achieved by
> > >        configuration or be discovered dynamically.
> > >
> > >        Either of the following options MUST be supported:
> > >
> > >           o Classical ICMP-based MTU Path Discovery [RFC1191] [RFC198=
1] or
> > >             Extended MTU Path Discovery techniques such as defined in
> > >             [RFC4821]
> > >
> > >           o Segmentation and reassembly support from the overlay laye=
r
> > >             operations without relying on the Tenant Systems to know =
about
> > >             the end-to-end MTU
> > >
> > >           o The underlay network MAY be designed in such a way that t=
he MTU
> > >             can accommodate the extra tunnel overhead.
> > >
> > > --------------------------------------
> > >
> > > </WG chair hat off>
> > >
> > > Thanks,
> > > --David
> > > ----------------------------------------------------
> > > David L. Black, Distinguished Engineer EMC Corporation, 176 South=20
> > > St., Hopkinton, MA=A0 01748
> > > +1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508) 2=
93-7786
> > > david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
> > > ----------------------------------------------------
> >
> > _______________________________________________
> > Int-area mailing list
> > Int-area@ietf.org
> > https://www.ietf.org/mailman/listinfo/int-area
>=20
> _______________________________________________
> Int-area mailing list
> Int-area@ietf.org
> https://www.ietf.org/mailman/listinfo/int-area


From nobody Fri May 16 13:13:52 2014
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 82C5B1A017C; Fri, 16 May 2014 13:13:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.851
X-Spam-Level: 
X-Spam-Status: No, score=-4.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, WEIRD_QUOTING=0.001] autolearn=ham
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 BOzYVIR1Ysuq; Fri, 16 May 2014 13:13:45 -0700 (PDT)
Received: from blv-mbsout-01.boeing.com (blv-mbsout-01.boeing.com [130.76.32.231]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8B9D1A0066; Fri, 16 May 2014 13:13:45 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by blv-mbsout-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id s4GKDcoR015590; Fri, 16 May 2014 13:13:38 -0700
Received: from XCH-PHX-410.sw.nos.boeing.com (xch-phx-410.sw.nos.boeing.com [10.57.37.41]) by blv-mbsout-01.boeing.com (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id s4GKDTIg015001 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Fri, 16 May 2014 13:13:29 -0700
Received: from XCH-BLV-403.nw.nos.boeing.com (130.247.25.62) by XCH-PHX-410.sw.nos.boeing.com (10.57.37.41) with Microsoft SMTP Server (TLS) id 14.3.181.6; Fri, 16 May 2014 13:13:28 -0700
Received: from XCH-BLV-504.nw.nos.boeing.com ([169.254.4.105]) by XCH-BLV-403.nw.nos.boeing.com ([169.254.3.26]) with mapi id 14.03.0181.006; Fri, 16 May 2014 13:13:27 -0700
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: Linda Dunbar <linda.dunbar@huawei.com>, "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "tsv-area@ietf.org" <tsv-area@ietf.org>
Thread-Topic: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
Thread-Index: AQHPcTpiayvL/eBQg0aL8rjprMnvlZtEFlOA//+L7nA=
Date: Fri, 16 May 2014 20:13:27 +0000
Message-ID: <2134F8430051B64F815C691A62D983181B2ADA4E@XCH-BLV-504.nw.nos.boeing.com>
References: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com> <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com> <2134F8430051B64F815C691A62D983181B2AD6AE@XCH-BLV-504.nw.nos.boeing.com> <4A95BA014132FF49AE685FAB4B9F17F645D0B178@dfweml701-chm.china.huawei.com> <2134F8430051B64F815C691A62D983181B2AD82D@XCH-BLV-504.nw.nos.boeing.com> <4A95BA014132FF49AE685FAB4B9F17F645D0B464@dfweml701-chm.china.huawei.com>
In-Reply-To: <4A95BA014132FF49AE685FAB4B9F17F645D0B464@dfweml701-chm.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [130.247.104.6]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/bCNrYgj_DYrErLFjQTiL8tX0wBU
Cc: Mark Townsley <townsley@cisco.com>, "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 May 2014 20:13:49 -0000

Hi Linda,

> -----Original Message-----
> From: Linda Dunbar [mailto:linda.dunbar@huawei.com]
> Sent: Friday, May 16, 2014 1:02 PM
> To: Templin, Fred L; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane=
 reqts draft
>=20
> Can we challenge the 4GB MTU size recommendation by RFC2675? Network cons=
ists of nodes and links. The
> MTU of a network should be limited by the MTU of the links.

Yes, the path MTU is the minimum MTU of all links in the path. The
path MTU minus the encapsulation is the largest packet that will
traverse the tunnel without fragmentation. But, consider that the
path MTU may be as large 64KB for IPv4 or 4GB for IPv6.

> With 4GB MTU recommendation, it would require the network ingress node to=
 fragment packets and egress
> node to reassemble packets.

No, if you look further into my text you will see that we will never
allow fragmentation for packets larger than 1500 bytes; anything
larger will go as an unfragmented whole packet or will be dropped
at a link within the tunnel that configures an insufficient MTU.
64KB/4GB are not "recommendations"; they are protocol constants.

> If the network ingress can fragment and egress can reassemble packets, th=
ere is no need to define the
> network MTU size. Therefore, this recommendation is meaningless.

Fragmentation and reassembly limit is 1500 bytes; larger packets
go through unfragmented or not at all. Take care of the smalls,
and let the bigs take care of themselves.

Thanks - Fred
fred.l.templin@boeing.com
=20
> Linda
>=20
> -----Original Message-----
> From: Templin, Fred L [mailto:Fred.L.Templin@boeing.com]
> Sent: Friday, May 16, 2014 2:10 PM
> To: Linda Dunbar; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane=
 reqts draft
>=20
> Hi Linda,
>=20
> The maximum MTU for an IPv4 link is 64KB (per RFC0791) and the maximum MT=
U for an IPv6 link is 4GB
> (per RFC2675). For tunnels over IPv4, the
> IPv4 network itself is the link layer for the tunnel. For tunnels over IP=
v6, the IPv6 network is the
> link-layer. That means that the largest encapsulated packet that will fit=
 over an IPv4 "link" is 64KB
> minus the encapsulation overhead, and the largest over an IPv6 "link" is =
4GB minus overhead. But,
> typical values will be much smaller than this because most underlying lin=
ks configure smaller MTUs.
>=20
> Thanks - Fred
> fred.l.templin@boeing.com
>=20
> > -----Original Message-----
> > From: Linda Dunbar [mailto:linda.dunbar@huawei.com]
> > Sent: Friday, May 16, 2014 11:56 AM
> > To: Templin, Fred L; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > Cc: Mark Townsley; int-area@ietf.org
> > Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3
> > dataplane reqts draft
> >
> > I am confused of the math here. If most physical links MTU is 1500
> > bytes (or 2000 bytes for some), how do we have""4GB"" minus the
> > encapsulation overhead for IPv6, as the "tunnel link Maximum Transmissi=
on Unit (MTU)".
> >
> > Is 4GB correct ???
> >
> > Linda
> >
> > -----Original Message-----
> > From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of
> > Templin, Fred L
> > Sent: Friday, May 16, 2014 1:28 PM
> > To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > Cc: Mark Townsley; int-area@ietf.org
> > Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3
> > dataplane reqts draft
> >
> > > That document should be the place to put generic recommendations for
> > > tunnel MTU handling that apply to all tunnel types.
> >
> > In case you are wondering what I think "generic recommendations for
> > tunnel MTU handling" should look like, here is what I think:
> >
> >    The tunnel link Maximum Transmission Unit (MTU) is 64KB minus the
> >    encapsulation overhead for IPv4 [RFC0791] and 4GB minus the
> >    encapsulation overhead for IPv6 [RFC2675].  This is the most that
> >    IPv4 and IPv6 (respectively) can convey within the constraints of
> >    protocol constants, but actual sizes available for tunneling will
> >    frequently be much smaller.
> >
> >    The base tunneling specifications for IPv4 and IPv6 typically set a
> >    static MTU on the tunnel ingress to 1500 bytes minus the
> >    encapsulation overhead or smaller still if the tunnel is likely to
> >    incur additional encapsulations on the path.  This can result in pat=
h
> >    MTU related black holes when packets that are too large to be
> >    accommodated over the tunnel are dropped, but the resulting ICMP
> >    Packet Too Big (PTB) messages are lost on the return path.  As a
> >    result, tunnels use the following MTU mitigations to accommodate
> >    larger packets.
> >
> >    Tunnels set their ingress MTU to the larger of the
> >    underlying interface MTU minus the encapsulation overhead, and 1500
> >    bytes.  Tunnels optionally cache per-egress MTU values in
> >    the underlying IP path MTU discovery cache initialized to the
> >    underlying interface MTU.
> >
> >    Tunnels admit packets that are no larger than 1280 bytes minus the
> >    encapsulation overhead (*) as well as packets that are larger than
> >    1500 bytes into the tunnel without fragmentation, i.e., as long as
> >    they are no larger than the tunnel ingress MTU before encapsulation
> >    and also no larger than the cached per-egress MTU following
> >    encapsulation.  For IPv4, the ingress sets the "Don't Fragment" (DF)
> >    bit to 0 for packets no larger than 1280 bytes minus the encapsulati=
on
> >    overhead (*) and sets the DF bit to 1 for packets larger than 1500
> >    bytes.  If a large packet is lost in the path, the ingress may
> >    optionally cache the MTU reported in the resulting PTB message or ma=
y
> >    ignore the message, e.g., if there is a possibility that the message
> >    is spurious.
> >
> >    For packets admitted into the tunnel that are larger than 1280 bytes
> >    minus the encapsulation overhead (*) but no larger than 1500 bytes,
> >    the ingress uses IP fragmentation to fragment the encapsulated packe=
t
> >    into two pieces (where the first fragment contains 1024 bytes of the
> >    fragmented inner packet) then sends the fragments to the egress.
> >    If the outer protocol is IPv4, the node sends the fragments with
> >    DF set to 0 and subject to rate limiting to avoid
> >    reassembly errors [RFC4963][RFC6864].  For both IPv4 and IPv6, the
> >    ingress also sends a 1500 byte probe message (**) to the egress,
> >    subject to rate limiting. To construct a probe, the ingress prepares
> >    an ICMPv6 Neighbor Solicitation (NS) message with trailing padding
> >    octets added to a length of 1500 bytes but does not include the
> >    length of the padding in the IPv6 Payload Length field.  The ingress
> >    then encapsulates the NS in the outer encapsulation headers (while
> >    including the length of the padding in the outer length fields), set=
s
> >    DF to 1 (for IPv4) and sends the padded NS message to the neighbor.
> >    If the egress returns an NA message, the ingress may then send whole
> >    packets within this size range and (for IPv4) relax the rate limitin=
g
> >    requirement. (Note that for tunnels that do not perform IPv6 neighbo=
r
> >    discovery, an ICMP echo request message can be used instead of NS.)
> >
> >    The egress MUST be capable of reassembling packets up to 1500 bytes
> >    plus the encapsulation overhead length.  It is therefore RECOMMENDED
> >    that the egress be capable of reassembling at least 2KB.
> >
> >    (*) Note that if it is known without probing that the minimum Path
> >    MTU to a tunnel egress is MINMTU bytes (where 1280 < MINMTU < 1500)
> >    then MINMTU can be used instead of 1280 in the fragmentation thresho=
ld
> >    considerations listed above.
> >
> >    (**) It is RECOMMENDED that no probes smaller than 1500 bytes be use=
d
> >    for MTU probing purposes, since smaller probes may be fragmented if
> >    there is a nested tunnel somewhere on the path to the egress.
> >    Probe sizes larger than 1500 bytes MAY be used, but may be
> >    unnecessary since original sources are expected to use [RFC4821]
> >    when sending large packets.
> >
> > I think this applies to all IP-in-(foo)-in-IP tunnel types, and could
> > go as a set of generic recommendations to be cited by other documents.
> >
> > Comments?
> >
> > Thanks - Fred
> > fred.l.templin@boeing.com
> >
> > > -----Original Message-----
> > > From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of
> > > Templin, Fred L
> > > Sent: Thursday, May 15, 2014 3:41 PM
> > > To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > > Cc: Mark Townsley; int-area@ietf.org
> > > Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3
> > > dataplane reqts draft
> > >
> > > Hi,
> > >
> > > > -----Original Message-----
> > > > From: tsv-area [mailto:tsv-area-bounces@ietf.org] On Behalf Of
> > > > Black, David
> > > > Sent: Wednesday, May 14, 2014 1:53 PM
> > > > To: tsvwg@ietf.org; tsv-area@ietf.org
> > > > Subject: Fragmentation and Path MTU text in nvo3 dataplane reqts
> > > > draft
> > > >
> > > > <WG chair hat off>
> > > >
> > > > Over in the nvo3 WG, draft-ietf-nvo3-dataplane-requirements-03
> > > > contains some text on dealing with the fragmentation and MTU effect=
s of tunnels.
> > > > I thought I'd ask for some early review of this text, given recent
> > > > IESG excitement around fragmentation and Path MTU topics in another=
 draft:
> > >
> > > All tunnels have trouble with path MTU, and in some cases have no
> > > choice but to fragment. However, they should strive to tune out
> > > fragmentation and forward whole packets whenever possible.
> > >
> > > Over in the intarea, there have been sporadic ongoing discussions
> > > about how to recommend generic MTU mitigations for tunnels. Joe
> > > Touch and Mark Townsley have been working for a long time on a
> > > document titled "Tunnels in the Internet Architecture":
> > >
> > > http://tools.ietf.org/id/draft-ietf-intarea-tunnels-00.txt
> > >
> > > That document should be the place to put generic recommendations for
> > > tunnel MTU handling that apply to all tunnel types.
> > >
> > > Tunnel MTU issues keep popping up in all places, and this is just
> > > another example. Is it time to revive Joe and Mark's document?
> > >
> > > Thanks - Fred
> > > fred.l.templin@boeing.
> > >
> > > > http://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-fragmenta
> > > > ti
> > > > on/ballot/
> > > >
> > > > I believe that the nvo3 draft is in better shape in these areas.
> > > > Nonetheless, I've included its current text on fragmentation and
> > > > path MTU below, and (on behalf of the draft authors and nvo3 WG
> > > > chairs) I'm looking for input on what that text should say and why.
> > > >
> > > > In nvo3 terminology, an overlay network is an inner network that
> > > > is tunneled over an outer underlay network.  The nvo3 WG also uses
> > > > "Tenant System" as the term for a sender/receiver of network
> > > > traffic because multi-tenancy is an important motivation for the
> > > > WG's activities in network
> > virtualization.
> > > >
> > > > --------------------------------------
> > > >
> > > > 3.5. Path MTU
> > > >
> > > >        The tunnel overlay header can cause the MTU of the path to t=
he
> > > >        egress tunnel endpoint to be exceeded.
> > > >
> > > >        IP fragmentation SHOULD be avoided for performance reasons.
> > > >
> > > >        The interface MTU as seen by a Tenant System SHOULD be adjus=
ted such
> > > >        that no fragmentation is needed. This can be achieved by
> > > >        configuration or be discovered dynamically.
> > > >
> > > >        Either of the following options MUST be supported:
> > > >
> > > >           o Classical ICMP-based MTU Path Discovery [RFC1191] [RFC1=
981] or
> > > >             Extended MTU Path Discovery techniques such as defined =
in
> > > >             [RFC4821]
> > > >
> > > >           o Segmentation and reassembly support from the overlay la=
yer
> > > >             operations without relying on the Tenant Systems to kno=
w about
> > > >             the end-to-end MTU
> > > >
> > > >           o The underlay network MAY be designed in such a way that=
 the MTU
> > > >             can accommodate the extra tunnel overhead.
> > > >
> > > > --------------------------------------
> > > >
> > > > </WG chair hat off>
> > > >
> > > > Thanks,
> > > > --David
> > > > ----------------------------------------------------
> > > > David L. Black, Distinguished Engineer EMC Corporation, 176 South
> > > > St., Hopkinton, MA=A0 01748
> > > > +1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508)=
 293-7786
> > > > david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
> > > > ----------------------------------------------------
> > >
> > > _______________________________________________
> > > Int-area mailing list
> > > Int-area@ietf.org
> > > https://www.ietf.org/mailman/listinfo/int-area
> >
> > _______________________________________________
> > Int-area mailing list
> > Int-area@ietf.org
> > https://www.ietf.org/mailman/listinfo/int-area


From nobody Fri May 16 13:45:51 2014
Return-Path: <touch@isi.edu>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 010211A028C; Fri, 16 May 2014 13:45:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.851
X-Spam-Level: 
X-Spam-Status: No, score=-4.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651] autolearn=ham
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 l88ps8oNHLO9; Fri, 16 May 2014 13:45:36 -0700 (PDT)
Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B55511A0319; Fri, 16 May 2014 13:45:36 -0700 (PDT)
Received: from [128.9.160.166] (abc.isi.edu [128.9.160.166]) (authenticated bits=0) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id s4GKimeo024080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 16 May 2014 13:44:51 -0700 (PDT)
Message-ID: <537678C0.8090602@isi.edu>
Date: Fri, 16 May 2014 13:44:48 -0700
From: Joe Touch <touch@isi.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "tsv-area@ietf.org" <tsv-area@ietf.org>
References: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com> <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com>
In-Reply-To: <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/6enQlePJSVP7nNJcvdwIiBVNwW0
Cc: Mark Townsley <townsley@cisco.com>, "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 May 2014 20:45:40 -0000

On 5/15/2014 3:40 PM, Templin, Fred L wrote:
> Hi,
>
>> -----Original Message-----
>> From: tsv-area [mailto:tsv-area-bounces@ietf.org] On Behalf Of Black, David
>> Sent: Wednesday, May 14, 2014 1:53 PM
>> To: tsvwg@ietf.org; tsv-area@ietf.org
>> Subject: Fragmentation and Path MTU text in nvo3 dataplane reqts draft
>>
>> <WG chair hat off>
...
> Over in the intarea, there have been sporadic ongoing discussions about
> how to recommend generic MTU mitigations for tunnels. Joe Touch and Mark
> Townsley have been working for a long time on a document titled
> "Tunnels in the Internet Architecture":
>
> http://tools.ietf.org/id/draft-ietf-intarea-tunnels-00.txt
>
> That document should be the place to put generic recommendations for
> tunnel MTU handling that apply to all tunnel types.
>
> Tunnel MTU issues keep popping up in all places, and this is just
> another example. Is it time to revive Joe and Mark's document?

It's being revived - Mark and I already discussed it, and I'm preparing 
a revision; my cycles are thin, though - I just completed one on TCP 
security and another on transport ports, but this is next on my table.

Joe


From nobody Fri May 16 13:46:04 2014
Return-Path: <linda.dunbar@huawei.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9198B1A033A; Fri, 16 May 2014 13:45:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.851
X-Spam-Level: 
X-Spam-Status: No, score=-4.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, WEIRD_QUOTING=0.001] autolearn=ham
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 EAuMKWPUt2dW; Fri, 16 May 2014 13:45:44 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9433D1A032F; Fri, 16 May 2014 13:45:43 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BEF66024; Fri, 16 May 2014 20:45:35 +0000 (GMT)
Received: from LHREML405-HUB.china.huawei.com (10.201.5.242) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 16 May 2014 21:44:30 +0100
Received: from DFWEML704-CHM.china.huawei.com (10.193.5.141) by lhreml405-hub.china.huawei.com (10.201.5.242) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 16 May 2014 21:45:34 +0100
Received: from DFWEML701-CHM.china.huawei.com ([169.254.1.127]) by dfweml704-chm.china.huawei.com ([169.254.6.56]) with mapi id 14.03.0158.001; Fri, 16 May 2014 13:45:19 -0700
From: Linda Dunbar <linda.dunbar@huawei.com>
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "tsv-area@ietf.org" <tsv-area@ietf.org>
Thread-Topic: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
Thread-Index: Ac9vtnHd0ZAyZrcySACl53YRIUspEwA1bjtwADjCOwAADdAtAP//nTSAgABoWoD//6l6gIAAbvCA
Date: Fri, 16 May 2014 20:45:18 +0000
Message-ID: <4A95BA014132FF49AE685FAB4B9F17F645D0B4EC@dfweml701-chm.china.huawei.com>
References: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com> <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com> <2134F8430051B64F815C691A62D983181B2AD6AE@XCH-BLV-504.nw.nos.boeing.com> <4A95BA014132FF49AE685FAB4B9F17F645D0B178@dfweml701-chm.china.huawei.com> <2134F8430051B64F815C691A62D983181B2AD82D@XCH-BLV-504.nw.nos.boeing.com> <4A95BA014132FF49AE685FAB4B9F17F645D0B464@dfweml701-chm.china.huawei.com> <2134F8430051B64F815C691A62D983181B2ADA4E@XCH-BLV-504.nw.nos.boeing.com>
In-Reply-To: <2134F8430051B64F815C691A62D983181B2ADA4E@XCH-BLV-504.nw.nos.boeing.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.47.156.197]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/J3VxdUNXt0bgrvHVJCQ3j6HYXc4
Cc: Mark Townsley <townsley@cisco.com>, "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 May 2014 20:45:51 -0000

Fred,=20

Thanks for the clarification.=20

Since the topic is about tunneling, a.k.a. encapsulating additional headers=
 to data packets that increases the risk of exceeding link MTU, we should f=
ocus on the Path MTU, not the network Layer MTU.=20

So we shouldn't use the 64K/4GB recommended by RFC2675 for "The tunnel link=
 Maximum Transmission Unit"


Linda

-----Original Message-----
From: Templin, Fred L [mailto:Fred.L.Templin@boeing.com]=20


No, if you look further into my text you will see that we will never allow =
fragmentation for packets larger than 1500 bytes; anything larger will go a=
s an unfragmented whole packet or will be dropped at a link within the tunn=
el that configures an insufficient MTU.
64KB/4GB are not "recommendations"; they are protocol constants.

> If the network ingress can fragment and egress can reassemble packets,=20
> there is no need to define the network MTU size. Therefore, this recommen=
dation is meaningless.

Fragmentation and reassembly limit is 1500 bytes; larger packets go through=
 unfragmented or not at all. Take care of the smalls, and let the bigs take=
 care of themselves.

Thanks - Fred
fred.l.templin@boeing.com
=20
> Linda
>=20
> -----Original Message-----
> From: Templin, Fred L [mailto:Fred.L.Templin@boeing.com]
> Sent: Friday, May 16, 2014 2:10 PM
> To: Linda Dunbar; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3=20
> dataplane reqts draft
>=20
> Hi Linda,
>=20
> The maximum MTU for an IPv4 link is 64KB (per RFC0791) and the maximum=20
> MTU for an IPv6 link is 4GB (per RFC2675). For tunnels over IPv4, the
> IPv4 network itself is the link layer for the tunnel. For tunnels over=20
> IPv6, the IPv6 network is the link-layer. That means that the largest=20
> encapsulated packet that will fit over an IPv4 "link" is 64KB minus=20
> the encapsulation overhead, and the largest over an IPv6 "link" is 4GB mi=
nus overhead. But, typical values will be much smaller than this because mo=
st underlying links configure smaller MTUs.
>=20
> Thanks - Fred
> fred.l.templin@boeing.com
>=20
> > -----Original Message-----
> > From: Linda Dunbar [mailto:linda.dunbar@huawei.com]
> > Sent: Friday, May 16, 2014 11:56 AM
> > To: Templin, Fred L; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > Cc: Mark Townsley; int-area@ietf.org
> > Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3=20
> > dataplane reqts draft
> >
> > I am confused of the math here. If most physical links MTU is 1500=20
> > bytes (or 2000 bytes for some), how do we have""4GB"" minus the=20
> > encapsulation overhead for IPv6, as the "tunnel link Maximum Transmissi=
on Unit (MTU)".
> >
> > Is 4GB correct ???
> >
> > Linda
> >
> > -----Original Message-----
> > From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of=20
> > Templin, Fred L
> > Sent: Friday, May 16, 2014 1:28 PM
> > To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > Cc: Mark Townsley; int-area@ietf.org
> > Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3=20
> > dataplane reqts draft
> >
> > > That document should be the place to put generic recommendations=20
> > > for tunnel MTU handling that apply to all tunnel types.
> >
> > In case you are wondering what I think "generic recommendations for=20
> > tunnel MTU handling" should look like, here is what I think:
> >
> >    The tunnel link Maximum Transmission Unit (MTU) is 64KB minus the
> >    encapsulation overhead for IPv4 [RFC0791] and 4GB minus the
> >    encapsulation overhead for IPv6 [RFC2675].  This is the most that
> >    IPv4 and IPv6 (respectively) can convey within the constraints of
> >    protocol constants, but actual sizes available for tunneling will
> >    frequently be much smaller.
> >
> >    The base tunneling specifications for IPv4 and IPv6 typically set a
> >    static MTU on the tunnel ingress to 1500 bytes minus the
> >    encapsulation overhead or smaller still if the tunnel is likely to
> >    incur additional encapsulations on the path.  This can result in pat=
h
> >    MTU related black holes when packets that are too large to be
> >    accommodated over the tunnel are dropped, but the resulting ICMP
> >    Packet Too Big (PTB) messages are lost on the return path.  As a
> >    result, tunnels use the following MTU mitigations to accommodate
> >    larger packets.
> >
> >    Tunnels set their ingress MTU to the larger of the
> >    underlying interface MTU minus the encapsulation overhead, and 1500
> >    bytes.  Tunnels optionally cache per-egress MTU values in
> >    the underlying IP path MTU discovery cache initialized to the
> >    underlying interface MTU.
> >
> >    Tunnels admit packets that are no larger than 1280 bytes minus the
> >    encapsulation overhead (*) as well as packets that are larger than
> >    1500 bytes into the tunnel without fragmentation, i.e., as long as
> >    they are no larger than the tunnel ingress MTU before encapsulation
> >    and also no larger than the cached per-egress MTU following
> >    encapsulation.  For IPv4, the ingress sets the "Don't Fragment" (DF)
> >    bit to 0 for packets no larger than 1280 bytes minus the encapsulati=
on
> >    overhead (*) and sets the DF bit to 1 for packets larger than 1500
> >    bytes.  If a large packet is lost in the path, the ingress may
> >    optionally cache the MTU reported in the resulting PTB message or ma=
y
> >    ignore the message, e.g., if there is a possibility that the message
> >    is spurious.
> >
> >    For packets admitted into the tunnel that are larger than 1280 bytes
> >    minus the encapsulation overhead (*) but no larger than 1500 bytes,
> >    the ingress uses IP fragmentation to fragment the encapsulated packe=
t
> >    into two pieces (where the first fragment contains 1024 bytes of the
> >    fragmented inner packet) then sends the fragments to the egress.
> >    If the outer protocol is IPv4, the node sends the fragments with
> >    DF set to 0 and subject to rate limiting to avoid
> >    reassembly errors [RFC4963][RFC6864].  For both IPv4 and IPv6, the
> >    ingress also sends a 1500 byte probe message (**) to the egress,
> >    subject to rate limiting. To construct a probe, the ingress prepares
> >    an ICMPv6 Neighbor Solicitation (NS) message with trailing padding
> >    octets added to a length of 1500 bytes but does not include the
> >    length of the padding in the IPv6 Payload Length field.  The ingress
> >    then encapsulates the NS in the outer encapsulation headers (while
> >    including the length of the padding in the outer length fields), set=
s
> >    DF to 1 (for IPv4) and sends the padded NS message to the neighbor.
> >    If the egress returns an NA message, the ingress may then send whole
> >    packets within this size range and (for IPv4) relax the rate limitin=
g
> >    requirement. (Note that for tunnels that do not perform IPv6 neighbo=
r
> >    discovery, an ICMP echo request message can be used instead of=20
> > NS.)
> >
> >    The egress MUST be capable of reassembling packets up to 1500 bytes
> >    plus the encapsulation overhead length.  It is therefore RECOMMENDED
> >    that the egress be capable of reassembling at least 2KB.
> >
> >    (*) Note that if it is known without probing that the minimum Path
> >    MTU to a tunnel egress is MINMTU bytes (where 1280 < MINMTU < 1500)
> >    then MINMTU can be used instead of 1280 in the fragmentation thresho=
ld
> >    considerations listed above.
> >
> >    (**) It is RECOMMENDED that no probes smaller than 1500 bytes be use=
d
> >    for MTU probing purposes, since smaller probes may be fragmented if
> >    there is a nested tunnel somewhere on the path to the egress.
> >    Probe sizes larger than 1500 bytes MAY be used, but may be
> >    unnecessary since original sources are expected to use [RFC4821]
> >    when sending large packets.
> >
> > I think this applies to all IP-in-(foo)-in-IP tunnel types, and=20
> > could go as a set of generic recommendations to be cited by other docum=
ents.
> >
> > Comments?
> >
> > Thanks - Fred
> > fred.l.templin@boeing.com
> >
> > > -----Original Message-----
> > > From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of=20
> > > Templin, Fred L
> > > Sent: Thursday, May 15, 2014 3:41 PM
> > > To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > > Cc: Mark Townsley; int-area@ietf.org
> > > Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3=20
> > > dataplane reqts draft
> > >
> > > Hi,
> > >
> > > > -----Original Message-----
> > > > From: tsv-area [mailto:tsv-area-bounces@ietf.org] On Behalf Of=20
> > > > Black, David
> > > > Sent: Wednesday, May 14, 2014 1:53 PM
> > > > To: tsvwg@ietf.org; tsv-area@ietf.org
> > > > Subject: Fragmentation and Path MTU text in nvo3 dataplane reqts=20
> > > > draft
> > > >
> > > > <WG chair hat off>
> > > >
> > > > Over in the nvo3 WG, draft-ietf-nvo3-dataplane-requirements-03
> > > > contains some text on dealing with the fragmentation and MTU effect=
s of tunnels.
> > > > I thought I'd ask for some early review of this text, given=20
> > > > recent IESG excitement around fragmentation and Path MTU topics in =
another draft:
> > >
> > > All tunnels have trouble with path MTU, and in some cases have no=20
> > > choice but to fragment. However, they should strive to tune out=20
> > > fragmentation and forward whole packets whenever possible.
> > >
> > > Over in the intarea, there have been sporadic ongoing discussions=20
> > > about how to recommend generic MTU mitigations for tunnels. Joe=20
> > > Touch and Mark Townsley have been working for a long time on a=20
> > > document titled "Tunnels in the Internet Architecture":
> > >
> > > http://tools.ietf.org/id/draft-ietf-intarea-tunnels-00.txt
> > >
> > > That document should be the place to put generic recommendations=20
> > > for tunnel MTU handling that apply to all tunnel types.
> > >
> > > Tunnel MTU issues keep popping up in all places, and this is just=20
> > > another example. Is it time to revive Joe and Mark's document?
> > >
> > > Thanks - Fred
> > > fred.l.templin@boeing.
> > >
> > > > http://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-fragmen
> > > > ta
> > > > ti
> > > > on/ballot/
> > > >
> > > > I believe that the nvo3 draft is in better shape in these areas.
> > > > Nonetheless, I've included its current text on fragmentation and=20
> > > > path MTU below, and (on behalf of the draft authors and nvo3 WG
> > > > chairs) I'm looking for input on what that text should say and why.
> > > >
> > > > In nvo3 terminology, an overlay network is an inner network that=20
> > > > is tunneled over an outer underlay network.  The nvo3 WG also=20
> > > > uses "Tenant System" as the term for a sender/receiver of=20
> > > > network traffic because multi-tenancy is an important motivation=20
> > > > for the WG's activities in network
> > virtualization.
> > > >
> > > > --------------------------------------
> > > >
> > > > 3.5. Path MTU
> > > >
> > > >        The tunnel overlay header can cause the MTU of the path to t=
he
> > > >        egress tunnel endpoint to be exceeded.
> > > >
> > > >        IP fragmentation SHOULD be avoided for performance reasons.
> > > >
> > > >        The interface MTU as seen by a Tenant System SHOULD be adjus=
ted such
> > > >        that no fragmentation is needed. This can be achieved by
> > > >        configuration or be discovered dynamically.
> > > >
> > > >        Either of the following options MUST be supported:
> > > >
> > > >           o Classical ICMP-based MTU Path Discovery [RFC1191] [RFC1=
981] or
> > > >             Extended MTU Path Discovery techniques such as defined =
in
> > > >             [RFC4821]
> > > >
> > > >           o Segmentation and reassembly support from the overlay la=
yer
> > > >             operations without relying on the Tenant Systems to kno=
w about
> > > >             the end-to-end MTU
> > > >
> > > >           o The underlay network MAY be designed in such a way that=
 the MTU
> > > >             can accommodate the extra tunnel overhead.
> > > >
> > > > --------------------------------------
> > > >
> > > > </WG chair hat off>
> > > >
> > > > Thanks,
> > > > --David
> > > > ----------------------------------------------------
> > > > David L. Black, Distinguished Engineer EMC Corporation, 176=20
> > > > South St., Hopkinton, MA=A0 01748
> > > > +1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508)=
 293-7786
> > > > david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
> > > > ----------------------------------------------------
> > >
> > > _______________________________________________
> > > Int-area mailing list
> > > Int-area@ietf.org
> > > https://www.ietf.org/mailman/listinfo/int-area
> >
> > _______________________________________________
> > Int-area mailing list
> > Int-area@ietf.org
> > https://www.ietf.org/mailman/listinfo/int-area


From nobody Fri May 16 13:57:14 2014
Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F334A1A01D4; Fri, 16 May 2014 13:57:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.851
X-Spam-Level: 
X-Spam-Status: No, score=-4.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, WEIRD_QUOTING=0.001] autolearn=ham
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 lFCYoFlzNosP; Fri, 16 May 2014 13:57:07 -0700 (PDT)
Received: from blv-mbsout-02.boeing.com (blv-mbsout-02.boeing.com [130.76.32.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E91E1A006C; Fri, 16 May 2014 13:57:07 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by blv-mbsout-02.boeing.com (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id s4GKuxST019483; Fri, 16 May 2014 13:56:59 -0700
Received: from XCH-PHX-410.sw.nos.boeing.com (xch-phx-410.sw.nos.boeing.com [10.57.37.41]) by blv-mbsout-02.boeing.com (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id s4GKuthR019447 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Fri, 16 May 2014 13:56:57 -0700
Received: from XCH-BLV-504.nw.nos.boeing.com ([169.254.4.105]) by XCH-PHX-410.sw.nos.boeing.com ([169.254.10.15]) with mapi id 14.03.0181.006; Fri, 16 May 2014 13:56:55 -0700
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: Linda Dunbar <linda.dunbar@huawei.com>, "Black, David" <david.black@emc.com>, "tsvwg@ietf.org" <tsvwg@ietf.org>, "tsv-area@ietf.org" <tsv-area@ietf.org>
Thread-Topic: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
Thread-Index: AQHPcTpiayvL/eBQg0aL8rjprMnvlZtEFlOA//+L7nCAAIAhAP//jELQ
Date: Fri, 16 May 2014 20:56:54 +0000
Message-ID: <2134F8430051B64F815C691A62D983181B2ADB79@XCH-BLV-504.nw.nos.boeing.com>
References: <8D3D17ACE214DC429325B2B98F3AE712076C55B7B1@MX15A.corp.emc.com> <2134F8430051B64F815C691A62D983181B2AC94E@XCH-BLV-504.nw.nos.boeing.com> <2134F8430051B64F815C691A62D983181B2AD6AE@XCH-BLV-504.nw.nos.boeing.com> <4A95BA014132FF49AE685FAB4B9F17F645D0B178@dfweml701-chm.china.huawei.com> <2134F8430051B64F815C691A62D983181B2AD82D@XCH-BLV-504.nw.nos.boeing.com> <4A95BA014132FF49AE685FAB4B9F17F645D0B464@dfweml701-chm.china.huawei.com> <2134F8430051B64F815C691A62D983181B2ADA4E@XCH-BLV-504.nw.nos.boeing.com> <4A95BA014132FF49AE685FAB4B9F17F645D0B4EC@dfweml701-chm.china.huawei.com>
In-Reply-To: <4A95BA014132FF49AE685FAB4B9F17F645D0B4EC@dfweml701-chm.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [130.247.104.6]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/8idpwXkzLghD3gnsQp4ZzKMcAZ8
Cc: Mark Townsley <townsley@cisco.com>, "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane reqts draft
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 May 2014 20:57:11 -0000

Hi Linda,

> -----Original Message-----
> From: Linda Dunbar [mailto:linda.dunbar@huawei.com]
> Sent: Friday, May 16, 2014 1:45 PM
> To: Templin, Fred L; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> Cc: Mark Townsley; int-area@ietf.org
> Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3 dataplane=
 reqts draft
>=20
> Fred,
>=20
> Thanks for the clarification.
>=20
> Since the topic is about tunneling, a.k.a. encapsulating additional heade=
rs to data packets that
> increases the risk of exceeding link MTU, we should focus on the Path MTU=
, not the network Layer MTU.
>=20
> So we shouldn't use the 64K/4GB recommended by RFC2675 for "The tunnel li=
nk Maximum Transmission Unit"

The "link" for a tunnel over IPv4 is the IPv4 network. The maximum MTU
for traversing an IPv4 network is 64KB.

The "link" for a tunnel over IPv6 is the IPv6 network. The maximum MTU
for traversing an IPv6 network is 4GB.

These are protocol constants; not recommendations. In order to change
them, we would need to (bis) RFC0791 and RFC2675.

If you read further in the text (say, beginning with the next sentence)
all will be made clear.

Thanks - Fred
fred.l.templin@boeing.com

>=20
> Linda
>=20
> -----Original Message-----
> From: Templin, Fred L [mailto:Fred.L.Templin@boeing.com]
>=20
>=20
> No, if you look further into my text you will see that we will never allo=
w fragmentation for packets
> larger than 1500 bytes; anything larger will go as an unfragmented whole =
packet or will be dropped at
> a link within the tunnel that configures an insufficient MTU.
> 64KB/4GB are not "recommendations"; they are protocol constants.
>=20
> > If the network ingress can fragment and egress can reassemble packets,
> > there is no need to define the network MTU size. Therefore, this recomm=
endation is meaningless.
>=20
> Fragmentation and reassembly limit is 1500 bytes; larger packets go throu=
gh unfragmented or not at
> all. Take care of the smalls, and let the bigs take care of themselves.
>=20
> Thanks - Fred
> fred.l.templin@boeing.com
>=20
> > Linda
> >
> > -----Original Message-----
> > From: Templin, Fred L [mailto:Fred.L.Templin@boeing.com]
> > Sent: Friday, May 16, 2014 2:10 PM
> > To: Linda Dunbar; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > Cc: Mark Townsley; int-area@ietf.org
> > Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3
> > dataplane reqts draft
> >
> > Hi Linda,
> >
> > The maximum MTU for an IPv4 link is 64KB (per RFC0791) and the maximum
> > MTU for an IPv6 link is 4GB (per RFC2675). For tunnels over IPv4, the
> > IPv4 network itself is the link layer for the tunnel. For tunnels over
> > IPv6, the IPv6 network is the link-layer. That means that the largest
> > encapsulated packet that will fit over an IPv4 "link" is 64KB minus
> > the encapsulation overhead, and the largest over an IPv6 "link" is 4GB =
minus overhead. But, typical
> values will be much smaller than this because most underlying links confi=
gure smaller MTUs.
> >
> > Thanks - Fred
> > fred.l.templin@boeing.com
> >
> > > -----Original Message-----
> > > From: Linda Dunbar [mailto:linda.dunbar@huawei.com]
> > > Sent: Friday, May 16, 2014 11:56 AM
> > > To: Templin, Fred L; Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > > Cc: Mark Townsley; int-area@ietf.org
> > > Subject: RE: [Int-area] Fragmentation and Path MTU text in nvo3
> > > dataplane reqts draft
> > >
> > > I am confused of the math here. If most physical links MTU is 1500
> > > bytes (or 2000 bytes for some), how do we have""4GB"" minus the
> > > encapsulation overhead for IPv6, as the "tunnel link Maximum Transmis=
sion Unit (MTU)".
> > >
> > > Is 4GB correct ???
> > >
> > > Linda
> > >
> > > -----Original Message-----
> > > From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of
> > > Templin, Fred L
> > > Sent: Friday, May 16, 2014 1:28 PM
> > > To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > > Cc: Mark Townsley; int-area@ietf.org
> > > Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3
> > > dataplane reqts draft
> > >
> > > > That document should be the place to put generic recommendations
> > > > for tunnel MTU handling that apply to all tunnel types.
> > >
> > > In case you are wondering what I think "generic recommendations for
> > > tunnel MTU handling" should look like, here is what I think:
> > >
> > >    The tunnel link Maximum Transmission Unit (MTU) is 64KB minus the
> > >    encapsulation overhead for IPv4 [RFC0791] and 4GB minus the
> > >    encapsulation overhead for IPv6 [RFC2675].  This is the most that
> > >    IPv4 and IPv6 (respectively) can convey within the constraints of
> > >    protocol constants, but actual sizes available for tunneling will
> > >    frequently be much smaller.
> > >
> > >    The base tunneling specifications for IPv4 and IPv6 typically set =
a
> > >    static MTU on the tunnel ingress to 1500 bytes minus the
> > >    encapsulation overhead or smaller still if the tunnel is likely to
> > >    incur additional encapsulations on the path.  This can result in p=
ath
> > >    MTU related black holes when packets that are too large to be
> > >    accommodated over the tunnel are dropped, but the resulting ICMP
> > >    Packet Too Big (PTB) messages are lost on the return path.  As a
> > >    result, tunnels use the following MTU mitigations to accommodate
> > >    larger packets.
> > >
> > >    Tunnels set their ingress MTU to the larger of the
> > >    underlying interface MTU minus the encapsulation overhead, and 150=
0
> > >    bytes.  Tunnels optionally cache per-egress MTU values in
> > >    the underlying IP path MTU discovery cache initialized to the
> > >    underlying interface MTU.
> > >
> > >    Tunnels admit packets that are no larger than 1280 bytes minus the
> > >    encapsulation overhead (*) as well as packets that are larger than
> > >    1500 bytes into the tunnel without fragmentation, i.e., as long as
> > >    they are no larger than the tunnel ingress MTU before encapsulatio=
n
> > >    and also no larger than the cached per-egress MTU following
> > >    encapsulation.  For IPv4, the ingress sets the "Don't Fragment" (D=
F)
> > >    bit to 0 for packets no larger than 1280 bytes minus the encapsula=
tion
> > >    overhead (*) and sets the DF bit to 1 for packets larger than 1500
> > >    bytes.  If a large packet is lost in the path, the ingress may
> > >    optionally cache the MTU reported in the resulting PTB message or =
may
> > >    ignore the message, e.g., if there is a possibility that the messa=
ge
> > >    is spurious.
> > >
> > >    For packets admitted into the tunnel that are larger than 1280 byt=
es
> > >    minus the encapsulation overhead (*) but no larger than 1500 bytes=
,
> > >    the ingress uses IP fragmentation to fragment the encapsulated pac=
ket
> > >    into two pieces (where the first fragment contains 1024 bytes of t=
he
> > >    fragmented inner packet) then sends the fragments to the egress.
> > >    If the outer protocol is IPv4, the node sends the fragments with
> > >    DF set to 0 and subject to rate limiting to avoid
> > >    reassembly errors [RFC4963][RFC6864].  For both IPv4 and IPv6, the
> > >    ingress also sends a 1500 byte probe message (**) to the egress,
> > >    subject to rate limiting. To construct a probe, the ingress prepar=
es
> > >    an ICMPv6 Neighbor Solicitation (NS) message with trailing padding
> > >    octets added to a length of 1500 bytes but does not include the
> > >    length of the padding in the IPv6 Payload Length field.  The ingre=
ss
> > >    then encapsulates the NS in the outer encapsulation headers (while
> > >    including the length of the padding in the outer length fields), s=
ets
> > >    DF to 1 (for IPv4) and sends the padded NS message to the neighbor=
.
> > >    If the egress returns an NA message, the ingress may then send who=
le
> > >    packets within this size range and (for IPv4) relax the rate limit=
ing
> > >    requirement. (Note that for tunnels that do not perform IPv6 neigh=
bor
> > >    discovery, an ICMP echo request message can be used instead of
> > > NS.)
> > >
> > >    The egress MUST be capable of reassembling packets up to 1500 byte=
s
> > >    plus the encapsulation overhead length.  It is therefore RECOMMEND=
ED
> > >    that the egress be capable of reassembling at least 2KB.
> > >
> > >    (*) Note that if it is known without probing that the minimum Path
> > >    MTU to a tunnel egress is MINMTU bytes (where 1280 < MINMTU < 1500=
)
> > >    then MINMTU can be used instead of 1280 in the fragmentation thres=
hold
> > >    considerations listed above.
> > >
> > >    (**) It is RECOMMENDED that no probes smaller than 1500 bytes be u=
sed
> > >    for MTU probing purposes, since smaller probes may be fragmented i=
f
> > >    there is a nested tunnel somewhere on the path to the egress.
> > >    Probe sizes larger than 1500 bytes MAY be used, but may be
> > >    unnecessary since original sources are expected to use [RFC4821]
> > >    when sending large packets.
> > >
> > > I think this applies to all IP-in-(foo)-in-IP tunnel types, and
> > > could go as a set of generic recommendations to be cited by other doc=
uments.
> > >
> > > Comments?
> > >
> > > Thanks - Fred
> > > fred.l.templin@boeing.com
> > >
> > > > -----Original Message-----
> > > > From: Int-area [mailto:int-area-bounces@ietf.org] On Behalf Of
> > > > Templin, Fred L
> > > > Sent: Thursday, May 15, 2014 3:41 PM
> > > > To: Black, David; tsvwg@ietf.org; tsv-area@ietf.org
> > > > Cc: Mark Townsley; int-area@ietf.org
> > > > Subject: Re: [Int-area] Fragmentation and Path MTU text in nvo3
> > > > dataplane reqts draft
> > > >
> > > > Hi,
> > > >
> > > > > -----Original Message-----
> > > > > From: tsv-area [mailto:tsv-area-bounces@ietf.org] On Behalf Of
> > > > > Black, David
> > > > > Sent: Wednesday, May 14, 2014 1:53 PM
> > > > > To: tsvwg@ietf.org; tsv-area@ietf.org
> > > > > Subject: Fragmentation and Path MTU text in nvo3 dataplane reqts
> > > > > draft
> > > > >
> > > > > <WG chair hat off>
> > > > >
> > > > > Over in the nvo3 WG, draft-ietf-nvo3-dataplane-requirements-03
> > > > > contains some text on dealing with the fragmentation and MTU effe=
cts of tunnels.
> > > > > I thought I'd ask for some early review of this text, given
> > > > > recent IESG excitement around fragmentation and Path MTU topics i=
n another draft:
> > > >
> > > > All tunnels have trouble with path MTU, and in some cases have no
> > > > choice but to fragment. However, they should strive to tune out
> > > > fragmentation and forward whole packets whenever possible.
> > > >
> > > > Over in the intarea, there have been sporadic ongoing discussions
> > > > about how to recommend generic MTU mitigations for tunnels. Joe
> > > > Touch and Mark Townsley have been working for a long time on a
> > > > document titled "Tunnels in the Internet Architecture":
> > > >
> > > > http://tools.ietf.org/id/draft-ietf-intarea-tunnels-00.txt
> > > >
> > > > That document should be the place to put generic recommendations
> > > > for tunnel MTU handling that apply to all tunnel types.
> > > >
> > > > Tunnel MTU issues keep popping up in all places, and this is just
> > > > another example. Is it time to revive Joe and Mark's document?
> > > >
> > > > Thanks - Fred
> > > > fred.l.templin@boeing.
> > > >
> > > > > http://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-fragmen
> > > > > ta
> > > > > ti
> > > > > on/ballot/
> > > > >
> > > > > I believe that the nvo3 draft is in better shape in these areas.
> > > > > Nonetheless, I've included its current text on fragmentation and
> > > > > path MTU below, and (on behalf of the draft authors and nvo3 WG
> > > > > chairs) I'm looking for input on what that text should say and wh=
y.
> > > > >
> > > > > In nvo3 terminology, an overlay network is an inner network that
> > > > > is tunneled over an outer underlay network.  The nvo3 WG also
> > > > > uses "Tenant System" as the term for a sender/receiver of
> > > > > network traffic because multi-tenancy is an important motivation
> > > > > for the WG's activities in network
> > > virtualization.
> > > > >
> > > > > --------------------------------------
> > > > >
> > > > > 3.5. Path MTU
> > > > >
> > > > >        The tunnel overlay header can cause the MTU of the path to=
 the
> > > > >        egress tunnel endpoint to be exceeded.
> > > > >
> > > > >        IP fragmentation SHOULD be avoided for performance reasons=
.
> > > > >
> > > > >        The interface MTU as seen by a Tenant System SHOULD be adj=
usted such
> > > > >        that no fragmentation is needed. This can be achieved by
> > > > >        configuration or be discovered dynamically.
> > > > >
> > > > >        Either of the following options MUST be supported:
> > > > >
> > > > >           o Classical ICMP-based MTU Path Discovery [RFC1191] [RF=
C1981] or
> > > > >             Extended MTU Path Discovery techniques such as define=
d in
> > > > >             [RFC4821]
> > > > >
> > > > >           o Segmentation and reassembly support from the overlay =
layer
> > > > >             operations without relying on the Tenant Systems to k=
now about
> > > > >             the end-to-end MTU
> > > > >
> > > > >           o The underlay network MAY be designed in such a way th=
at the MTU
> > > > >             can accommodate the extra tunnel overhead.
> > > > >
> > > > > --------------------------------------
> > > > >
> > > > > </WG chair hat off>
> > > > >
> > > > > Thanks,
> > > > > --David
> > > > > ----------------------------------------------------
> > > > > David L. Black, Distinguished Engineer EMC Corporation, 176
> > > > > South St., Hopkinton, MA=A0 01748
> > > > > +1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (50=
8) 293-7786
> > > > > david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-775=
4
> > > > > ----------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > Int-area mailing list
> > > > Int-area@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/int-area
> > >
> > > _______________________________________________
> > > Int-area mailing list
> > > Int-area@ietf.org
> > > https://www.ietf.org/mailman/listinfo/int-area


From nobody Thu May 22 06:20:01 2014
Return-Path: <brian@innovationslab.net>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A409F1A01A6 for <int-area@ietfa.amsl.com>; Thu, 22 May 2014 06:19:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 WVNrE4TOd0tO for <int-area@ietfa.amsl.com>; Thu, 22 May 2014 06:19:55 -0700 (PDT)
Received: from uillean.fuaim.com (uillean.fuaim.com [206.197.161.140]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ABBE61A0091 for <int-area@ietf.org>; Thu, 22 May 2014 06:19:55 -0700 (PDT)
Received: from clairseach.fuaim.com (clairseach-high.fuaim.com [206.197.161.158]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by uillean.fuaim.com (Postfix) with ESMTP id 82D2688134 for <int-area@ietf.org>; Thu, 22 May 2014 06:19:54 -0700 (PDT)
Received: from clemson.local (c-76-21-129-88.hsd1.md.comcast.net [76.21.129.88]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by clairseach.fuaim.com (Postfix) with ESMTP id 3BEF371C0002 for <int-area@ietf.org>; Thu, 22 May 2014 06:19:54 -0700 (PDT)
Message-ID: <537DF970.3050204@innovationslab.net>
Date: Thu, 22 May 2014 09:19:44 -0400
From: Brian Haberman <brian@innovationslab.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: "int-area@ietf.org" <int-area@ietf.org>
References: <537B27BB.2030805@cs.tcd.ie>
In-Reply-To: <537B27BB.2030805@cs.tcd.ie>
X-Enigmail-Version: 1.6
X-Forwarded-Message-Id: <537B27BB.2030805@cs.tcd.ie>
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0br8IgJn4jCpQAGoPNOspnt7KtFCmJu6S"
Archived-At: http://mailarchive.ietf.org/arch/msg/int-area/2tC6dZ8l_E-GQF5HJNPrei7pkTs
Subject: [Int-area] Fwd: [ietf-privacy] old RFC reviews - please try this...
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 May 2014 13:19:59 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--0br8IgJn4jCpQAGoPNOspnt7KtFCmJu6S
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

All,
     If anyone is interested in helping a useful cause...

Regards,
Brian


-------- Original Message --------
Subject: [ietf-privacy] old RFC reviews - please try this...
Date: Tue, 20 May 2014 10:23:34 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
To: ietf-privacy@ietf.org <ietf-privacy@ietf.org>


Hiya,

A while back Scott and Avri sent out a link [1] to
where you can put reviews of old RFCs. So far, that
hasn't seen overwhelming activity, which is a pity,
but maybe understandable, since we're all busy and
doing this is probably not top of anyone's todo list.

As a reminder, the goal is to get folks to review
old RFCs for privacy and pervasive monitoring related
issues, so that if/when we do more work on those
protocols we have a head-start. And also maybe to
motivate people to do such work, or to think a bit
more about how those protocols are now actually
deployed, which may be a lot different compared to
the assumptions made when they were developed.

Anyway, in a perhaps silly attempt to kick-start
that, I've done up a bit of a web page that tries
to make getting some work done here a bit easier.
Basically, go to [2] and it'll randomly select an
RFC and give you a field where you can type your
review and then it'll craft the mail for you to send
to this list. How much easier could it be? :-)

If you've a few minutes, please give it a try and
see what you find and post your review to this list.

If this does prove useful, we can try make it better
later. If not, then I wasted a little of my time,
and we can move on to try think of other ways to
get folks to do this work.

Of course, you can still just go read any old RFC
and send your review here or create a ticket, that
does still work too:-)

Thanks,
S.

PS: I guess send bug reports to me, I'm sure there
will be bugs.


[1] https://trac.tools.ietf.org/group/ppm-legacy-review/wiki
[2] http://down.dsg.cs.tcd.ie/ppm/

_______________________________________________
ietf-privacy mailing list
ietf-privacy@ietf.org
https://www.ietf.org/mailman/listinfo/ietf-privacy







--0br8IgJn4jCpQAGoPNOspnt7KtFCmJu6S
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJTffl3AAoJEBOZRqCi7goqrTkH/Aw5tR6O9o4RwqA8BUNclS8I
sLm/6NxyQddJxAnaUQN9QBSfiZvZHdSVt33fBujnEm780/x0RrW1yVq6LxRlc0S9
9ue2bNLENkaLzS8F6S5mmqsNooI7iGlu+h6s6NlaCTR7V4lihWj3enW1Nyjp829m
xD0wiMxVbj3JUtPgH0Fgonw9NgDcFcnUP4+eIDx/cyp9QcLF6hlSqFCjovG7wl0l
/0qRGeikgMSHPsJVcFnlPQ2tSvDDoyjmnm6iGXu9VJCRLUsVB6cxEasDpKwq+qUr
BOkCaBWFTclJBSu53/OrNc4nvhu3hyB29WTRAj+M0oW9RKErKPW7BEcSqSgLILY=
=/2kc
-----END PGP SIGNATURE-----

--0br8IgJn4jCpQAGoPNOspnt7KtFCmJu6S--

