Re: [Int-area] draft-ietf-intarea-gre-ipv6

"Templin, Fred L" <Fred.L.Templin@boeing.com> Fri, 27 February 2015 18:25 UTC

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 7AE521A9150 for <int-area@ietfa.amsl.com>; Fri, 27 Feb 2015 10:25:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 edA5HRVr6PRN for <int-area@ietfa.amsl.com>; Fri, 27 Feb 2015 10:25:16 -0800 (PST)
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 A79921A9123 for <int-area@ietf.org>; Fri, 27 Feb 2015 10:25:16 -0800 (PST)
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 t1RIPG9N016153; Fri, 27 Feb 2015 10:25:16 -0800
Received: from XCH-BLV-405.nw.nos.boeing.com (xch-blv-405.nw.nos.boeing.com [130.247.25.158]) by blv-mbsout-01.boeing.com (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id t1RIP8LZ016067 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Fri, 27 Feb 2015 10:25:08 -0800
Received: from XCH-BLV-504.nw.nos.boeing.com ([169.254.4.250]) by XCH-BLV-405.nw.nos.boeing.com ([169.254.5.19]) with mapi id 14.03.0210.002; Fri, 27 Feb 2015 10:25:07 -0800
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: Joe Touch <touch@isi.edu>, Ronald Bonica <rbonica@juniper.net>, "Carlos Pignataro (cpignata)" <cpignata@cisco.com>
Thread-Topic: [Int-area] draft-ietf-intarea-gre-ipv6
Thread-Index: AdBQPTWpXeDo5lSYQpemZXsi4y8LUAACfbngAAHDlwAAAbDloAAAMvPQACQZ2QAACZvykAAUG9iAAA++f2D//422AIAAgYag//+GKwCAACCMAIABuiqAgAB8IKD//5SzAIAAgopQgAC6T4CAAIROcA==
Date: Fri, 27 Feb 2015 18:25:06 +0000
Message-ID: <2134F8430051B64F815C691A62D9831832E00FEE@XCH-BLV-504.nw.nos.boeing.com>
References: <CO1PR05MB44277F5C35A585C7C409382AE160@CO1PR05MB442.namprd05.prod.outlook.com> <2134F8430051B64F815C691A62D9831832DFD32F@XCH-BLV-504.nw.nos.boeing.com> <DFE4296E-CFD3-4F9A-8857-E6A4A72D8311@cisco.com> <2134F8430051B64F815C691A62D9831832DFE3F6@XCH-BLV-504.nw.nos.boeing.com> <CO1PR05MB442F8F524B82E71E670454BAE170@CO1PR05MB442.namprd05.prod.outlook.com> <2134F8430051B64F815C691A62D9831832DFE6C0@XCH-BLV-504.nw.nos.boeing.com> <CO1PR05MB4427CECB50570B7773F1F20AE170@CO1PR05MB442.namprd05.prod.outlook.com> <2134F8430051B64F815C691A62D9831832DFE7C5@XCH-BLV-504.nw.nos.boeing.com> <CO1PR05MB4424D36FEBC704DE092C06BAE170@CO1PR05MB442.namprd05.prod.outlook.com> <2134F8430051B64F815C691A62D9831832DFEE52@XCH-BLV-504.nw.nos.boeing.com> <54EF99DB.3060202@isi.edu> <2134F8430051B64F815C691A62D9831832E001D6@XCH-BLV-504.nw.nos.boeing.com> <54EFA7F8.7090407@isi.edu> <2134F8430051B64F815C691A62D9831832E00261@XCH-BLV-504.nw.nos.boeing.com> <54F0B1C3.9020506@isi.edu>
In-Reply-To: <54F0B1C3.9020506@isi.edu>
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="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: <http://mailarchive.ietf.org/arch/msg/int-area/u7LApiShEgaO3dAnlK54M_jtBvM>
Cc: "int-area@ietf.org" <int-area@ietf.org>
Subject: Re: [Int-area] draft-ietf-intarea-gre-ipv6
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, 27 Feb 2015 18:25:18 -0000

Hi Joe,

> -----Original Message-----
> From: Joe Touch [mailto:touch@isi.edu]
> Sent: Friday, February 27, 2015 10:05 AM
> To: Templin, Fred L; Ronald Bonica; Carlos Pignataro (cpignata)
> Cc: int-area@ietf.org
> Subject: Re: [Int-area] draft-ietf-intarea-gre-ipv6
> 
> 
> 
> On 2/26/2015 3:32 PM, Templin, Fred L wrote:
> > Hi Joe,
> >
> >> -----Original Message-----
> >> From: Joe Touch [mailto:touch@isi.edu]
> >> Sent: Thursday, February 26, 2015 3:11 PM
> >> To: Templin, Fred L; Ronald Bonica; Carlos Pignataro (cpignata)
> >> Cc: int-area@ietf.org
> >> Subject: Re: [Int-area] draft-ietf-intarea-gre-ipv6
> >>
> >>
> >>
> >> On 2/26/2015 3:00 PM, Templin, Fred L wrote:
> >>> Hi Joe,
> >>>
> >>>> -----Original Message-----
> >>>> From: Joe Touch [mailto:touch@isi.edu]
> >>>> Sent: Thursday, February 26, 2015 2:11 PM
> >>>> To: Templin, Fred L; Ronald Bonica; Carlos Pignataro (cpignata)
> >>>> Cc: int-area@ietf.org
> >>>> Subject: Re: [Int-area] draft-ietf-intarea-gre-ipv6
> >>>>
> >>>>
> >>>>
> >>>> On 2/25/2015 4:01 PM, Templin, Fred L wrote:
> >>>> ...
> >>>>> I have proposed  sending PTB with MTU less than 1280 before as well:
> >>>>>
> >>>>>      http://www.ietf.org/archive/id/draft-templin-6man-linkadapt-01.txt
> >>>>>
> >>>>> The idea is to enlist the original source’s aid in easing the frag/reass
> >>>>> burdens from the tunnel ingress and egress.
> >>>>
> >>>> IMO, PTB is the wrong message for that.
> >>>
> >>> What we have today is a "Type 0" PTB message.
> >>
> >> There are may types for both IPv4 and IPv6.
> >>
> >> For IPv4, e.g., PTB is type 3, code 4.
> >>
> >> For IPv6, it would be type 2, code 0.
> >
> > "type 2, code 0" is what I meant when I said "Type 0", yes.
> >
> >>> What I proposed was a "Type 1" PTB message.
> >>
> >> For IPv6, did you mean type 2, code 1?
> >
> > Yes; "type 2, code 1" is what I meant when I said "Type 1".
> >
> >> The problem is that legacy receivers will interpret type 2 and ignore
> >> the code.
> >
> > Yes, but I do not see a problem. If the size reported in the PTB is less than
> > 1280 the source will send subsequent messages as "atomic fragments" per
> > Section 5 of RFC2460.
> 
> Or pick another path. Or break.

I don't see anything in the standards that would support either of those
behaviors. A node that does not handle PTB with MTU<1280 as specified
in Section 5 of RFC2460 is not compliant with the standards.

> That's a code path that isn't commonly exercised.

If that code path is exercised, then the node is shooting itself in the foot
because it is not standards-compliant.

> > The tunnel ingress will then know that it is dealing
> > with a legacy source,
> 
> Hosts already generate atomic fragments for other reasons, so that
> itself isn't enough to "KNOW" anything.

Generation of atomic fragments for any reason is sufficient information
for the tunnel ingress to make a determination to fragment or drop
based on the size of the atomic fragment. If the atomic fragment is no
larger than the tunnel MTU, encapsulate  and send unfragmented. Else,
if the atomic fragment is no larger than 1500, fragment to the tunnel
MTU size. Else, drop and send PTB with code=0.

> > and will fragment the payload packet using the
> > fragment header conveniently provided by the source.
> 
> That's a violation of on-path fragmentation. RFC2460 gives a very
> specific reason for those - focusing on IPv6/IPv4 translation:
> 
>     ...In that case, the IPv6 node
>     is not required to reduce the size of subsequent packets to less than
>     1280, but must include a Fragment header in those packets so that the
>     IPv6-to-IPv4 translating router can obtain a suitable Identification
>     value to use in resulting IPv4 fragments.

It should not be so much of a stretch to update RFC2460 to allow tunnels
to use the supplied fragment header to fragment the original packet.
After all, it was the original source itself that supplied the fragment
header including an Identification value of the source's own choosing.

> We could argue that this should apply to how fragments tunneled to guide
> fragmentation and reassembly in the encapsulating layer (e.g., the
> "outer" header), but not to fragment the packet that arrives.

Why not? The original source included a good fragment header with
a good Identification value. Having the tunnel ingress fragment it would
be exactly the same as if the original source had fragmented it on its own
behalf.

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

> However, all of this is out of scope of the doc we're currently discussing.
> 
> Joe