Re: [Idr] Questions to RFC5512: Encapsulation sub-TLV and Opaque extended community to indicate the Encapsulation protocol?

"Susan Hares" <shares@ndzh.com> Tue, 26 June 2018 20:42 UTC

Return-Path: <shares@ndzh.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D6EA131122 for <idr@ietfa.amsl.com>; Tue, 26 Jun 2018 13:42:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.878
X-Spam-Level:
X-Spam-Status: No, score=-1.878 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_DOS_OUTLOOK_TO_MX_IMAGE=0.01, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JJkaP70qwoFA for <idr@ietfa.amsl.com>; Tue, 26 Jun 2018 13:42:20 -0700 (PDT)
Received: from hickoryhill-consulting.com (50-245-122-97-static.hfc.comcastbusiness.net [50.245.122.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F2B5413111A for <idr@ietf.org>; Tue, 26 Jun 2018 13:42:19 -0700 (PDT)
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=174.124.195.103;
From: Susan Hares <shares@ndzh.com>
To: 'Eric C Rosen' <erosen@juniper.net>, 'Linda Dunbar' <linda.dunbar@huawei.com>, idr@ietf.org, pmohapat@cisco.com, erosen@cisco.com
References: <4A95BA014132FF49AE685FAB4B9F17F66B073A42@sjceml521-mbs.china.huawei.com> <efadfb22-a8dc-b99c-5adf-89489610bd31@juniper.net>
In-Reply-To: <efadfb22-a8dc-b99c-5adf-89489610bd31@juniper.net>
Date: Tue, 26 Jun 2018 16:41:58 -0400
Message-ID: <02bb01d40d8e$219ecf40$64dc6dc0$@ndzh.com>
MIME-Version: 1.0
Content-Type: multipart/related; boundary="----=_NextPart_000_02BC_01D40D6C.9A8D2F40"
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQKH6biQqB2tSA6KZLFIcnitdoqizQH5VOeVovt9q/A=
X-Antivirus: AVG (VPS 180626-4, 06/26/2018), Outbound message
X-Antivirus-Status: Not-Tested
X-Authenticated-User: skh@ndzh.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/l8pQbASDOHbP00mX_iN__7BaxcA>
Subject: Re: [Idr] Questions to RFC5512: Encapsulation sub-TLV and Opaque extended community to indicate the Encapsulation protocol?
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jun 2018 20:42:34 -0000

Eric and Linda: 

 

I agree with Eric.  The draft-ietf-idr-tunnel-encaps has past WG LC, and it
is awaiting a second implementation. 

 

Sue 

 

PS - Linda, I've sent a more detailed message to you directly.  

 

From: Idr [mailto:idr-bounces@ietf.org] On Behalf Of Eric C Rosen
Sent: Tuesday, June 26, 2018 3:28 PM
To: Linda Dunbar; idr@ietf.org; pmohapat@cisco.com; erosen@cisco.com
Subject: Re: [Idr] Questions to RFC5512: Encapsulation sub-TLV and Opaque
extended community to indicate the Encapsulation protocol?

 

I think it would be better if you looked at draft-ietf-idr-tunnel-encaps
instead of RFC 5512.  The draft has passed WG LC, and if it ever gets sent
to the IESG, it will obsolete RFC 5512.

On 6/26/2018 1:56 PM, Linda Dunbar wrote:

BGP experts: 

 

If the RFC5512 has "distinguished SAFI value" and "the Encapsulation SAFI".
Do those two terms have the same meaning? 

The Section 3 of RFC5512 has SAFI value of 7 to represent Encapsulation
SAFI. 

 

Does it mean that the "distinguished SAFI value" is just "7" for speaker to
advertise its supported Tunnel information? 


Yes, per RFC 5512 the Tunnel Encapsulation attribute can only be carried on
UPDATEs of SAFI 7.

Draft-ietf-idr-tunnel-encaps deprecates this SAFI, and explicitly allows the
Tunnel Encapsulation attribute to be carried on UPDATEs whose AFI/SAFI is
1/1, 1/4, 2/4, 1/128, 2/128, and 25/70.  Use of the attribute on other
AFI/SAFIs is outside the scope of the draft.




 

 

The Section 4 goes on defining the Tunnel Encapsulation Type (such as L2TPv3
with Type =1; etc), and a list of sub-TLVs, one of the SubTLV is Protocol
Type (section 4.2) which can be used to represent the Encapsulation Protocol
(i.e. protocol type of data frames carried by the tunnel)


Just to be clear, the Protocol Type sub-TLV identifies the protocol type of
the payload.  If a Protocol Type sub-TLV identifying "IPv4" appears inside a
Tunnel Type of "GRE", the meaning is that IPv4 packets may be carried inside
a GRE tunnel.




 

Why need the Opaque extended community to indicate the Encapsulation
protocol?

 



 



 

 


Well, the argument was "I just want to indicate that packets directed to a
given prefix need to be encapsulated in GRE.  I don't want to have to use a
new SAFI to say that, all it takes is putting a community on the UPDATE that
mentions that prefix in its NLRI".  That's fine as long as you don't want to
convey any additional information about how to construct the encapsulation.
In practice, people have invented additional extended communities to carry
information that should have been carried in the Tunnel Encapsulation
attribute, in order to avoid the use of SAFI 7.

This extended community is not really necessary when
draft-ietf-idr-tunnel-encaps is used, but it is preserved for backwards
compatibility purposes; see section 4.5 of that draft.