Re: [mpls] [bess] draft-rosen-idr-rfc3107bis-00

Eric C Rosen <erosen@juniper.net> Fri, 29 January 2016 15:22 UTC

Return-Path: <erosen@juniper.net>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 490811A882C; Fri, 29 Jan 2016 07:22:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, 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 nN6FEv3ie_Gi; Fri, 29 Jan 2016 07:22:31 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0132.outbound.protection.outlook.com [207.46.100.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFEBD1A701D; Fri, 29 Jan 2016 07:22:31 -0800 (PST)
Authentication-Results: juniper.net; dkim=none (message not signed) header.d=none;juniper.net; dmarc=none action=none header.from=juniper.net;
Received: from [172.29.36.112] (66.129.241.14) by BLUPR0501MB2147.namprd05.prod.outlook.com (10.164.23.153) with Microsoft SMTP Server (TLS) id 15.1.396.15; Fri, 29 Jan 2016 15:22:28 +0000
To: "Dongjie (Jimmy)" <jie.dong@huawei.com>, "idr@ietf.org" <idr@ietf.org>, BESS <bess@ietf.org>, "mpls@ietf.org" <mpls@ietf.org>
References: <5696933E.1080802@juniper.net> <76CD132C3ADEF848BD84D028D243C92774E1CA15@NKGEML515-MBS.china.huawei.com>
From: Eric C Rosen <erosen@juniper.net>
Message-ID: <56AB83AF.7000200@juniper.net>
Date: Fri, 29 Jan 2016 10:22:23 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <76CD132C3ADEF848BD84D028D243C92774E1CA15@NKGEML515-MBS.china.huawei.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [66.129.241.14]
X-ClientProxiedBy: BY2PR13CA0041.namprd13.prod.outlook.com (25.162.223.51) To BLUPR0501MB2147.namprd05.prod.outlook.com (25.164.23.153)
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2147; 2:hjc/2NyHGjgcQMSOfgMkkWbYQAD7mWMfgjKk1fFnbtZNPni3ZZd+BW3ar2JxXe60q1Vl2uPCjgbJMlgg4+xcaZwNFLeVcKRGSpk6Sx/sEwLWWhyTAW+PHwRLJnoYESsAEEyD6iE418pOqPcjB+Z4mw==; 3:B17GEu4VF5FogC8vW9wjU9NB+ACOI/MdSFdk/2cRlPNwmEhEWV+/4ELAvo3eHJ7BtvTiK01PQqnHS7RVSE7hCNTF17XZ4Vt6G6xZaORuH1aeMdnbLApV33ae8UUCVIym; 25:1iGhMZCl4gDY3uIPJnv1CDRwfoKGGMpENF/shpx31IQCPfJdGW0mIkd4XT5BfWPRbHOhwrEHgfIbOytmiyCWL1AYpNm9b9xoAU3fS4k5eietfeRcPMjDY9szKtCPH5UmYhEhr5ng8TVHhnj3jGAE6kPcu5jJtdx4HnP6dXLIQn1ujrDln3F9McxE+YHDipNpCkMhc4f2FO/WuycKA+GCivX6WFaEYQNtEWIsJoUO3SP0WsdwEmfHAw9bVMYVXEyb
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB2147;
X-MS-Office365-Filtering-Correlation-Id: 7b33fbe7-5348-4816-d7fa-08d328c000d0
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2147; 20:+lcXPtkZkrPUnMKazJrgCvgDdxSJi6brrz9pC9EASK8FZIT7w3aRicgEwjWMQfg75n4449I4TQt0mHAL66ZwAr3ZSD/cm60x9Yiv7TsAql77fMqk4la+iQhoXVCSnsI8MXookONjtbieuL6LyIHuAXyJQjMG8bi+l+LuaD7QHQMWFXnVV/LTWShdK0Ri5IgBfePhtdBTSsJWGYAjohkIN7lRfZbbaVpeuWTDO6OkGFyXegTeJs/CXXyiNlpCyRXJd66LB3ndinci3V51bUgunq0eW8Iqw6PWIrPsE1H88xNU28P1iNHHpW/Gg2NFtnDvgE9/dPML5BQd141Pn8zRSAcFiWQTLyQn7ok1cxebHWhPDz/6sNJa8r4UgL0uFFimbWy7RzNtKxWov4ZvbckWeBMfxkMceG5lC5//rBhjGLOMedWQC5uc/xUstgMJA68ulUNEtUO7+VXpytYlUsOzJjOsOxZd09fKrPqa5nKu5vAjKMS6Fx11M/jnef4PvAP3; 4:bO3O+mitknuLPSktMCUcMXAgAVSz1oP2vEI1j4wxicZUE0J+bNyCaLz5Pntej8xoUZn0kN/rsoPMFhSQgMVx41ZppPB0Vl0P9IiBFgD8J58NP6SFpIBKSH7RJeMK4pSOketCimySG4cas2yJ2Q5kcSglol4+HkGUMD8LRyIxTzUsJH7imbgIU1Xcuei+4e8NoVchJqLs3k3nIMZy2HO+OwLifY4dTcg1qHi5H2h/nRXEuIqSpBnSYZCVAY9ARZ0vehBiz8kVqtPUTu/z9ogkGqxMI+fQOgsi5qKyeC4lAOd7OUgcYcxEIZSE17cyonphr5P2/RoSzrCdmSmPiGlrt8lVwrH/pIMYyz8X7Uv+vvR2axWdCGMED47VImq6dt43
X-Microsoft-Antispam-PRVS: <BLUPR0501MB214780776332CDE44024ABABD4DB0@BLUPR0501MB2147.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BLUPR0501MB2147; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB2147;
X-Forefront-PRVS: 083691450C
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(52604005)(377454003)(24454002)(479174004)(65816999)(65806001)(50986999)(5008740100001)(42186005)(76176999)(54356999)(4001350100001)(77096005)(86362001)(87266999)(5004730100002)(2501003)(33656002)(23746002)(36756003)(122386002)(40100003)(66066001)(65956001)(50466002)(47776003)(6116002)(64126003)(59896002)(5001960100002)(5001770100001)(92566002)(80316001)(2906002)(83506001)(107886002)(586003)(230700001)(3846002)(2950100001)(230783001)(189998001)(1096002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0501MB2147; H:[172.29.36.112]; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2147; 23:/fptYAlktrZ8rnY133ZOLK71h4gufKK+FQK9LDZIgV+N2I28dFxTgGWJh75TEQeNbrOf+zUNKrJQ34vTCEiF9fLJlBNu3FW13Kxhdff7ukGCTH23a3fLmbwimVEyPtzwFaXad1j7r8L45gNWHlOzx7TyQ8tTiQk9KLkBFdN7x+5I0Rfsnwyz8l1i+yVzTCaxLkuHkVKLAlbs0yKjDMIXjzEbshUPZUQeAJjAw5wDDJEv6eLxaPBsRzriNyKIkpXYGqKFmuGVJ7ObACmmHOmPX03PzT79163jxLlF5cm/PIsvv43uXF3DxJJayTjKrs0PxylJEx9iNHgL5YYsaVrd0QKxMIwyCvuZDAEGK5T6m4Uhaj4XCs65qh0jJTN2DqBBftTkI/6lQXgV9USupHnGrV/OSktTSxp8V+VfoWdNtC8MSD/UmnhPcHCLcV1amp2bCvyovGEP/32oUMDjRupaWHiyXb72Hh+7Ag1Uuzx04XO3+vZiTVZHtjKzDsegNegt9Rq+HomYwB5zDmI5HtoDn3GMXw205qBnX99/In5hDtdHoflcAQMYg8hM3RPlDVfFKq0N1ePsMqIVSPlPwD66XWif+pB0Z1dLad0J/sBO401h5fVb/W2dvkhpdxGDN8rSEXbmWW+ckeN0xsja/tH4QaUtrcv+OK0oAxBWBAhU5xCIbxk+riOpNeuEt90lw2cXBZTtxsrPvjIkq+Dxff1eub14P4weAsKqRiPQIfTW3q+45+OLbwSlf2KZo6GhbOHlEjUAdkrjcRjeUKugED4dmsGqbK2cbEp4AuWg0VTC+/R5yt3tEyXGlscGQPmT1cgYWMzNF2I+ni+lBOsgDcqBbQZJ8zZkXE5Jol8rxSF7Mo48kcjVyo/PNdR72+VIDYYbnRpzeSy2JJrsvwsGV1/JraLBlWTkxcb/tUnmNVluOzVPGvGQf4T1O/TFxTIK20B6yT0UtFXyOYtt/WAtBdFWOcivltdWYnuZOAbjHTH9e4n+NpsZOs6R7a49UB+VoxYidmtSCzuoDZqLyvJ7ZMEolcc4meCZlzMVxM7l0Lul9PQebAhHjTomhyKJUv3Qz4XRNUaZPLI2N/uyqwWYekNeMZ0q6+oAVf/3j8xEI8+MPQ0NL/9jw6cBpNMNHnTQq2otEHRETuPwk0+1AHt2EfCVmaPJITouijGE6Jxb+aBBEBc=
X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB2147; 5:hiRwp9HgXyqCUKevIe1ZoTCkUec6QOtYMkPlAw2CLhNVlA0B9S8wk0vblhUzoFqfuMLTQ1w2LLo+P5+TwW8AwjVStkHhD0WVAM7GeqqY9zoBH+O6GNmqgPLKUN/o14aigOH3+ClbEf3v/8gZmmy0CA==; 24:34yujGoL9r9OyxHZGZ+uYM/qvgkrlYkiKaArWcoQ1p55DfVZrv7jmAKGk6U8NjBcfb+cLRjhBLzaBboPSAbPqr6DIrZExxXTq2J1gMjL6TA=
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2016 15:22:28.9546 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB2147
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/IUXvc7ghJAyhzz-Sxq2eExvTpZw>
Subject: Re: [mpls] [bess] draft-rosen-idr-rfc3107bis-00
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jan 2016 15:22:34 -0000

Thanks for reviewing the draft!

On 1/26/2016 2:47 AM, Dongjie (Jimmy) wrote:
> 1. For NLRI encoding with single label, this draft says that "the S bit MUST be set to one on transmission". IMO RFC 3107 does not mandate this, and as you said some existing implementations may not set the S bit. To ensure backward compatibility, maybe the requirement on setting the S bit can be relaxed.
RFC3107 does allow the NLRI to contain multiple labels, but the only way 
you can tell how many labels there are is by looking for the S bit.  So 
I think the setting of the S bit really is required by RFC 3107, even 
though the RFC doesn't make that very clear.

I believe that some implementations check for the S bit and some do 
not.  I also believe that most implementations set the S bit, but I'm 
not sure if all do.  Thus I think the strategy of "set the S bit on 
transmission but ignore it on reception" is most likely to result in 
multi-vendor interoperability.

This does mean that an old implementation that doesn't set the S bit 
would be non-compliant with 3107bis.  However, it would interoperate 
with compliant implementations, and that's what really matters.

I didn't want to say "SHOULD set the S bit", because that leaves it open 
for new implementations to leave the S bit unset, and that might result 
in interoperability problems with older implementations that do check 
for the S bit.
>
> 2. For NLRI encoding with multiple labels, I guess the beginning of the prefix field is identified based on the S bit of the last label. If a malformed NLRI is received, in which the S bit of the last label is not set, then the prefix cannot be recognized, and the treat-as-withdraw error handling is not applicable. This may be worth mentioned in the draft.
Excellent point.  I'll add something about this, with a reference to 
section 3j of RFC 7606.
>
> 3. Section 2.5 describes implicit withdrawn and load balancing in detail. One possible issue here is it seems that the same next hop is required for the routes in Update U1 and U2. While section 9 of RFC 4271 specifies:
>
>     "...if the NLRI of the new route is identical to the one the route currently has stored in the Adj-RIB-In, then the new route SHALL replace the older route in the Adj-RIB-In, thus implicitly withdrawing the older route from service."
>
> Thus same next hop is not required for implicit withdrawn. This also applies to the load balancing case with Add_Path, in which the 2 paths used for load balancing may have different next hops.
Section 2.5 is intended to address only the case where the next hop 
doesn't change.  When the next hop does change, the procedures from RFC 
4271 apply as usual.  I'll try to make this clear.