Re: [Idr] [bess] [Softwires] Regarding the Next Hop Network Address coding for IPv4 VPN over IPv6 Core in RFC5549
<stephane.litkowski@orange.com> Fri, 28 June 2019 08:29 UTC
Return-Path: <stephane.litkowski@orange.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 30F6E120188; Fri, 28 Jun 2019 01:29:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.597
X-Spam-Level:
X-Spam-Status: No, score=-2.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, 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 fnLu2FGR1-u4; Fri, 28 Jun 2019 01:29:45 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.66.40]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67DC112018B; Fri, 28 Jun 2019 01:29:44 -0700 (PDT)
Received: from opfedar02.francetelecom.fr (unknown [xx.xx.xx.4]) by opfedar27.francetelecom.fr (ESMTP service) with ESMTP id 45Zqgp3ZNDz331D; Fri, 28 Jun 2019 10:29:42 +0200 (CEST)
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.82]) by opfedar02.francetelecom.fr (ESMTP service) with ESMTP id 45Zqgp1SnhzCqkT; Fri, 28 Jun 2019 10:29:42 +0200 (CEST)
Received: from OPEXCAUBMA3.corporate.adroot.infra.ftgroup ([fe80::90fe:7dc1:fb15:a02b]) by OPEXCAUBM5E.corporate.adroot.infra.ftgroup ([fe80::849f:f804:b713:d99a%21]) with mapi id 14.03.0439.000; Fri, 28 Jun 2019 10:29:42 +0200
From: stephane.litkowski@orange.com
To: "Rajiv Asati (rajiva)" <rajiva@cisco.com>, Robert Raszuk <robert@raszuk.net>
CC: "idr@ietf.org" <idr@ietf.org>, Xiejingrong <xiejingrong@huawei.com>, Alexander Okonnikov <alexander.okonnikov@gmail.com>, "softwires@ietf.org" <softwires@ietf.org>, "bess@ietf.org" <bess@ietf.org>, "draft-dawra-bess-srv6-services@ietf.org" <draft-dawra-bess-srv6-services@ietf.org>
Thread-Topic: [bess] [Softwires] [Idr] Regarding the Next Hop Network Address coding for IPv4 VPN over IPv6 Core in RFC5549
Thread-Index: AQHVLNyvJ3RT8qoGW0KoDbFdSoMmnaawu9sg
Date: Fri, 28 Jun 2019 08:29:41 +0000
Message-ID: <23300_1561710582_5D15CFF6_23300_163_1_9E32478DFA9976438E7A22F69B08FF924C25B9EF@OPEXCAUBMA3.corporate.adroot.infra.ftgroup>
References: <19AB2A007F56DB4E8257F949A2FB9858E5BDBB89@NKGEML515-MBS.china.huawei.com> <9DB8FCD5-DD04-4EB1-AEA5-A33B5B6F1BC4@gmx.com> <19AB2A007F56DB4E8257F949A2FB9858E5BE201C@NKGEML515-MBS.china.huawei.com> <B577834D-4010-42DF-AF28-690A1BD2A5AC@telekom.de> <16253F7987E4F346823E305D08F9115AAB8D61CE@nkgeml514-mbx.china.huawei.com> <CAOj+MMGdoi1ROTmbuFu8eXWix6JfYwO1TCPUakyOEdTU01-1zA@mail.gmail.com> <B17A6910EEDD1F45980687268941550F4D87EC92@MISOUT7MSGUSRCD.ITServices.sbc.com> <8E1E4882-7850-4BF4-82EC-82BDFE9BF408@gmail.com> <CAOj+MMGKN9drVzJgrE6WVkF6k43Vqe6TNwK9VpHpFbJTafKUdA@mail.gmail.com> <880939EA-32A0-4869-A272-0E7416DED534@gmail.com> <16253F7987E4F346823E305D08F9115AAB8D7E66@nkgeml514-mbx.china.huawei.com>, <CAOj+MMGQ36AUbk45L6=N-ATwc+sXfyb3a7esu8-NxZgrj7y0GA@mail.gmail.com> <D0303A72-81D1-486D-8DE9-5060205079B7@cisco.com>
In-Reply-To: <D0303A72-81D1-486D-8DE9-5060205079B7@cisco.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.114.13.245]
Content-Type: multipart/alternative; boundary="_000_9E32478DFA9976438E7A22F69B08FF924C25B9EFOPEXCAUBMA3corp_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/LXpAaohcQxRhq_Io39U34Pb8asA>
Subject: Re: [Idr] [bess] [Softwires] Regarding the Next Hop Network Address coding for IPv4 VPN over IPv6 Core in RFC5549
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 28 Jun 2019 08:29:48 -0000
Hi Rajiv, IMO, I don’t think that “Inferring it from AFI/SAFI per section 3 of RFC4760” means that there is a format match between the NH field and NLRI, it just says that there is a relation between the AFI/SAFI and the protocol layer of the NH. When you know the AFI/SAFI, you can deduce the NH encoding based on the NH encoding rules defines for this particular AFI/SAFI. RFC4760 doesn’t say that there is an exact match between NLRI format and NH format. “The Network Layer protocol associated with the Network Address of the Next Hop is identified by a combination of <AFI, SAFI> carried in the attribute.” Brgds, Stephane From: BESS [mailto:bess-bounces@ietf.org] On Behalf Of Rajiv Asati (rajiva) Sent: Thursday, June 27, 2019 13:37 To: Robert Raszuk Cc: idr@ietf.org; Xiejingrong; Alexander Okonnikov; softwires@ietf.org; bess@ietf.org; draft-dawra-bess-srv6-services@ietf.org Subject: Re: [bess] [Softwires] [Idr] Regarding the Next Hop Network Address coding for IPv4 VPN over IPv6 Core in RFC5549 I agree and sometimes flexibility becomes an unwanted necessity (as is the case here with option (a)). IMO, option (b) length based check for NH should be preferred, since it works for all AFI/SAFIs with an assumption that NH could be one IPv4 or IPv6 prefix. Very reasonable option. Option (a) AFI/SAFI based interpretation doesn’t work for all AFI/SAFIs that don’t distribute non-routing information e.g. policy, capabilities, LS etc. Cheers, Rajiv On Jun 27, 2019, at 6:50 AM, Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>> wrote: > Back to my suggestion: implementation should interpret nexthop RD+IPv4 and nexthop IPv4 the same, and interpret nexthop RD+IPv6 and nexthop IPv6 the same. When elements of BGP UPDATE message are being parsed code must know what to expect. Note that we are dealing here with deployed SAFI 128 for nearly 20 years. So today there are two ways to know what format of next hop is in MP_REACH: a) Inferring it from AFI/SAFI per section 3 of RFC4760 or (in addition to the above coarse assumption) b) Inferring it from the discrete value of next hop length field as defined in section 3 of RFC5549 Note that if we would be defining new SAFI we can write anything we like to the rules of constructing the update message. But here again we are dealing with something which is deployed so sort of operating on the plane in flight. If implementation can infer next hop type from length we are safe to define all sections to have next hop length = 16 octets and be done. But if there are some implementations which would only take AFI/SAFI to check if the next hop is correct or even further to check if the next hop length is correct then we have a problem. /* Btw this notion of next hop length = 32 is bizarre ! I have never seen any BGP implementation sending two next hops (global IPv6 address followed by link local IPv6 address) not I am able to find any docs describing how any BGP stack would handle it. IMHO we should move this 32 next hop length to historic asap. */ To the msg from Martin, > maybe the WG would like to reach a conclusion on how to treat that erratum: > http://www.rfc-editor.org/errata/eid5738 I would vote to reject the errata. There is no value of stuffing 8 octet of zeros in the next hop field. If the RFC got defined in 2012 that really means that most implementations are capable of inferring next hop format from the length field - which is very good. Accepting the errata would be a step backwords. Thx, R. On Thu, Jun 27, 2019 at 11:15 AM Xiejingrong <xiejingrong@huawei.com<mailto:xiejingrong@huawei..com>> wrote: Thanks for the RFC historical lessons. --there was historically some assumption that next hop must be of the same AF as prefix. --RFC 2858 says that Next Hop field should match AFI. On the other hand, RFC 4760 says that Next Hop Field should match combination of AFI/SAFI. --authors of RFC 4364 were trying to make it consistent with 4760. --Also, drafts of RFC 4364 and RFC 4760 were being developed practically at the same time period. The problem is clear, the nexthop field has been inconsistent between different L3VPN/MVPN scenarios and different implementations in the long history. <draft-dawra-bess-srv6-services-00> is the latest draft, but it has different nexthop in section 3.1 to 3.4, in the year 2019. Back to my suggestion: implementation should interpret nexthop RD+IPv4 and nexthop IPv4 the same, and interpret nexthop RD+IPv6 and nexthop IPv6 the same. I think it may be helpful for <draft-dawra-bess-srv6-services-00> to add the above text, and update RFC4364/4659/4760/5549, to eliminate the worries about interoperation. ----is there any worries about interoperation ? Thanks Jingrong From: Alexander Okonnikov [mailto:alexander.okonnikov@gmail.com<mailto:alexander.okonnikov@gmail.com>] Sent: Wednesday, June 26, 2019 9:38 PM To: Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>> Cc: UTTARO, JAMES <ju1738@att.com<mailto:ju1738@att.com>>; Xiejingrong <xiejingrong@huawei.com<mailto:xiejingrong@huawei.com>>; softwires@ietf.org<mailto:softwires@ietf.org>; idr@ietf.org<mailto:idr@ietf.org>; ian.farrer@telekom.de<mailto:ian.farrer@telekom.de>; bess@ietf.org<mailto:bess@ietf.org>; ianfarrer@gmx.com<mailto:ianfarrer@gmx.com> Subject: Re: [Idr] [bess] [Softwires] Regarding the Next Hop Network Address coding for IPv4 VPN over IPv6 Core in RFC5549 Hi Robert, Sorry, I was not so precise :-) Of course, RD part in Next Hop is not copied from RD of NLRI, but zeroed. I was trying to explain why Next Hop field in RFC 4364 and RFC 4659 has format RD:IP (VPNvX address) rather than just IP. Thank you! _______________________________________________ Softwires mailing list Softwires@ietf.org<mailto:Softwires@ietf.org> https://www.ietf.org/mailman/listinfo/softwires _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you.
- Re: [Idr] [Softwires] Regarding the Next Hop Netw… Xiejingrong
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Robert Raszuk
- Re: [Idr] [bess] [Softwires] Regarding the Next H… UTTARO, JAMES
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Alexander Okonnikov
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Robert Raszuk
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Robert Raszuk
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Alexander Okonnikov
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Xiejingrong
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Vigoureux, Martin (Nokia - FR/Paris-Saclay)
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Robert Raszuk
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Xiejingrong
- Re: [Idr] [Softwires] [bess] Regarding the Next H… Rajiv Asati (rajiva)
- Re: [Idr] [Softwires] [bess] Regarding the Next H… Zhuangshunwan
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Xiejingrong
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Robert Raszuk
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Zhuangshunwan
- Re: [Idr] [Softwires] [bess] Regarding the Next H… ian.farrer
- Re: [Idr] [bess] [Softwires] Regarding the Next H… stephane.litkowski
- Re: [Idr] [bess] [Softwires] Regarding the Next H… stephane.litkowski
- Re: [Idr] [bess] [Softwires] Regarding the Next H… Robert Raszuk
- Re: [Idr] [bess] [Softwires] Regarding the Next H… stephane.litkowski