[Idr] Re: RFC 8277 clarifications
Robert Raszuk <robert@raszuk.net> Tue, 25 November 2025 15:32 UTC
Return-Path: <robert@raszuk.net>
X-Original-To: idr@mail2.ietf.org
Delivered-To: idr@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id CBB1A904A7C5 for <idr@mail2.ietf.org>; Tue, 25 Nov 2025 07:32:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4PtSatHxznch for <idr@mail2.ietf.org>; Tue, 25 Nov 2025 07:32:42 -0800 (PST)
Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 0CEC8904A71F for <idr@ietf.org>; Tue, 25 Nov 2025 07:31:48 -0800 (PST)
Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-b7355f6ef12so1186716466b.3 for <idr@ietf.org>; Tue, 25 Nov 2025 07:31:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; t=1764084707; x=1764689507; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vTytWK4PHu+SiOil3xv6pEnFUo1mlN1QUZ6bSivDqgo=; b=Kh7IyJBX8VsdfuiBEA0K6bZFZTU+g9ZDsgzqCwahlsSIYV1/NJhpYiTmjYu9oFRxg8 JrRFQXXWiwwpvTBhTsG7HaEUvNVVTvk7LhhICVUAd/Swo86FkvxFKlGZzcqqgVDwZZec ANZ3gxswuaxXbCKYEQnPhx1woVoVo9IfrXGD3EqFaXXiIg88cxWP7RppZzzjTdcnnvsv aX6ZhcKkAfdm/7WfvSrPiYGWI/s+0p7qyHwxwLrz0pf+rnMrRLCmVegMK1bbcn0G04Pa 8CYSMXLGSATiZvKGl4dhLojS4eioV14lcVq3PI3/BclaRvNW6pm8mwz+fVwEgocCFq5X QVUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764084707; x=1764689507; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vTytWK4PHu+SiOil3xv6pEnFUo1mlN1QUZ6bSivDqgo=; b=WTbZnnJ9r664DxTSlzp93VFyxVMNVD3/Rt2ZMz2u8GMaCYzXyKocNp1H4G/a2qjaRw TY6P77Eqp2CFswBA5RDFj7MdLKcOrsP7RyfNJoQaPlKLesy5JV7FMNQ0deB5a47pPbSd PimNhRGnAaPNIPaWHoCljBq9EacUzntcpJgxY5Iw4qZP0GfPlVBZCLaSPskMiB8mKsS2 8dWG8hCT1TOlUe8FkTxqmZQYUQysX8lZJSQHnuRQbY9EGjnSKle9pTbmTpnE7bv3v0uh j9RiCfMZv4fBymWUzL/QHy4nYvb2U1N8MDZOGhOa5SzQUjoNsYQVWfCkCjxEZJxc3ehp HEkg==
X-Forwarded-Encrypted: i=1; AJvYcCX6gzuGLnKCJ5rXIp4/LMr4YyupOKYK3IjjFgCVhRaD3fuffr8yA7RjqvQ04/8TxRBhBbo=@ietf.org
X-Gm-Message-State: AOJu0YwPPptHF+SzF8xfGM6oeH6MvR02EICywOWzCWVN2yujJKdX8x1H DambWDT0a4fvRbBmv/FMAJvT8svGtsEkZAhgU8OwyizOOL+xQjEwt7jkQsxvnMMaFTrX8vY9Bfe n5/Thw3SZKPrhcnIjlbmN7HKKEe6FJVHymqpa1Rrbwg==
X-Gm-Gg: ASbGncuF2oct6M9SPu63JmGaJG6EzAlL9UsnXzt0WAKeCZOXE6ie4kKVA1KEDX2af7w qO02ua48TMh7eB7DpBn3JMW9mhmPxSKzKmhKCr4ZvO9aUQQi2lBZQEFsgTxMXpH0SmQ67fTdGi0 1O+2niK7+MCOe4u5jRi3IXShMA8CVz4A35yU6hsIDqysVRbVkf+puyGWc1juQu+4hmF7tcKJyc8 Lsm8iIV2SVgW5XPIGngCVReEtpksFub+zRgiFqz8Z8G2UyC21So5pwq2BsyLgBDT+f3wgw=
X-Google-Smtp-Source: AGHT+IH3ecq7a3dshdHlEUQO52n5gAOt5fEmnI3VyDUUbzEz8tTNfjzg6KTEdHRp+c7EOsrPreGsaNlRgMaRTqGgZHc=
X-Received: by 2002:a17:907:98e:b0:b73:7fc8:a9c9 with SMTP id a640c23a62f3a-b76716db8ffmr1795228166b.29.1764084706653; Tue, 25 Nov 2025 07:31:46 -0800 (PST)
MIME-Version: 1.0
References: <CAEBHQ-Ng2anh9oDeZrBqUuY6XWqWWOSF=MhBSYZWZdW=UFnZcw@mail.gmail.com> <MR1P264MB435427B945A7F7D3B6B50055F0D4A@MR1P264MB4354.FRAP264.PROD.OUTLOOK.COM> <CAEBHQ-NtiVwgz6HEEy+osV+vJP1WF2TnPpegjUG5am+=QkMZHg@mail.gmail.com> <CAOj+MMFkuNhjzK_1BK36BB0=gXy4yDPQvW=o71=h=61dHYrEMQ@mail.gmail.com> <CAEBHQ-M0AHCWrFQRFS=ZmCpV0kq-poy4fe66YyDF=54y10KMsQ@mail.gmail.com>
In-Reply-To: <CAEBHQ-M0AHCWrFQRFS=ZmCpV0kq-poy4fe66YyDF=54y10KMsQ@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Tue, 25 Nov 2025 16:31:35 +0100
X-Gm-Features: AWmQ_bkBbgIrPt2Qxa5nya8IPn2LEzKj2kQOroEC--Go0--rp-10IP90-NtdqL0
Message-ID: <CAOj+MMGwCW89VngkO5haXTjAv8QCEeCkCmm_h5iNDGTuPFp9Zg@mail.gmail.com>
To: Dmytro Shypovalov <dmytro@vegvisir.ie>
Content-Type: multipart/alternative; boundary="0000000000004b4a4a06446cfabb"
Message-ID-Hash: KVJZX5R3G5I7C26JOM432QOSNSMAEZBX
X-Message-ID-Hash: KVJZX5R3G5I7C26JOM432QOSNSMAEZBX
X-MailFrom: robert@raszuk.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-idr.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: bruno.decraene@orange.com, Kyrylo Yatsenko <k.yatsenko@vyos.io>, "idr@ietf.org" <idr@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Idr] Re: RFC 8277 clarifications
List-Id: Inter-Domain Routing <idr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/MJbvEFnUTnPxlmh6T9ZSWW6cG1g>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Owner: <mailto:idr-owner@ietf.org>
List-Post: <mailto:idr@ietf.org>
List-Subscribe: <mailto:idr-join@ietf.org>
List-Unsubscribe: <mailto:idr-leave@ietf.org>
Well I don't think there is any vendor supporting what you are trying to accomplish anyway :) But as Bruno hinted about inventing a new protocol extension I thought you may want to leverage existing one. Cheers, R. On Tue, Nov 25, 2025 at 4:25 PM Dmytro Shypovalov <dmytro@vegvisir.ie> wrote: > Hi Robert, > > Yes I use the RFC9012 tunnel encap attribute together with BGP-SRTE > (RFC9830). > > Do you suggest it can be also used together with BGP-LU (RFC3107/RFC8277)? > Are there any vendor implementations supporting that? > > Regards, > Dmytro > > On Sun, 23 Nov 2025 at 13:31, Robert Raszuk <robert@raszuk.net> wrote: > >> Hi Dmytro, >> >> Have you perhaps considered using MPLS Label Stack Sub-TLV as >> described in section 3.6 of RFC9012 ? >> >> Thx, >> Robert >> >> On Sun, Nov 23, 2025 at 2:08 PM Dmytro Shypovalov <dmytro@vegvisir.ie> >> wrote: >> >>> Hi Bruno, thanks for your response. >>> >>> BGP-SRTE is definitely a more superior protocol and as an SR-TE >>> controller developer, I always prefer it whenever possible. However, many >>> router implementations don't support BGP-SRTE and BGP-LU is a nice >>> workaround that is widely supported. And it's definitely better than PCEP >>> (anything is better than PCEP). >>> >>> I just wanted to clarify this behaviour, because the discussion came up >>> when Kyrylo was implementing multiple labels support in FRR and discovered >>> this limitation, but it's never mentioned in the RFC. >>> >>> Regards, >>> Dmytro >>> >>> On Thu, 20 Nov 2025 at 09:27, <bruno.decraene@orange.com> wrote: >>> >>>> Hi Dmytro, >>>> >>>> >>>> >>>> Thanks for your message. >>>> >>>> Please see inline my 2 cents >>>> >>>> >>>> >>>> *From:* Dmytro Shypovalov <dmytro@vegvisir.ie> >>>> *Sent:* Wednesday, November 19, 2025 11:19 PM >>>> >>>> >>>> >>>> Dear IDR WG, >>>> >>>> >>>> >>>> I've been working on an SR-TE project using BGP-LU to influence traffic >>>> engineering paths. This requires the advertisement of multiple labels. >>>> >>>> >>>> >>>> RFC8277 seems to have 2 conflicting statements >>>> >>>> >>>> >>>> Section 2.1: >>>> >>>> >>>> >>>> the Count is the maximum >>>> >>>> number of labels that the BGP speaker sending the Capability can >>>> >>>> process in a received UPDATE of the specified AFI/SAFI. If the Count >>>> >>>> is 255, then no limit has been placed on the number of labels that >>>> >>>> can be processed in a received UPDATE of the specified AFI/SAFI. >>>> >>>> >>>> >>>> This assumes the BGP update can have up to 255 labels (in theory). >>>> >>>> >>>> >>>> This probably needs to be read as an additional limit. (in addition to >>>> some other constraints, e.g., the one you described below) >>>> >>>> We need to consider that BGP LU was originally specified in RFC 3107. >>>> That BGP capability has been added by 8277 as a patch, mostly to >>>> accommodate some non-compliant implementations if you ask me. >>>> >>>> >>>> >>>> Section 2.3: >>>> >>>> >>>> >>>> - Length: >>>> >>>> >>>> >>>> The Length field consists of a single octet. It specifies the >>>> >>>> length in bits of the remainder of the NLRI field. >>>> >>>> >>>> >>>> Note that for each label, the length is increased by 24 bits (20 >>>> >>>> bits in the Label field, plus 3 bits in the Rsrv field, plus 1 S >>>> >>>> bit). >>>> >>>> >>>> >>>> If we use BGP-LU with multiple labels for SR-TE, it will always >>>> advertise host routes, which given max 255 bits of NLRI, leaves us with >>>> theoretical maximum of 9 labels for IPv4 and 5 labels for IPv6. The >>>> RFC message format will not be able to support more labels, regardless of >>>> platform capabilities. >>>> >>>> >>>> >>>> Alas… >>>> >>>> (note that at the time of RFC 3107, that was probably considered as >>>> good enough. To the point that some implementations did not even allow the >>>> emission (fine) and reception (less fine…) of more than one label.) >>>> >>>> RFC 8277 could have revisited a few things, but did not (presumably to >>>> minimize the impact on existing implementation, among other things) >>>> >>>> >>>> >>>> But I've seen vendor implementations advertising multi label capability >>>> with more labels. >>>> >>>> >>>> >>>> Cf above: we should probably assume that the minimum of all limits is >>>> to be used: min (capability sig, encoding space) >>>> >>>> >>>> >>>> Am I missing something? Is there a way to advertise more labels in >>>> BGP-LU? >>>> >>>> >>>> >>>> I guess that we could always define a new spec to revisit the whole >>>> thing, but that would imply a large effort and sufficient interest (read >>>> $$) from enough parties. >>>> >>>> In the meantime ( 😉 ), have you considered the advertisement of SR >>>> Policies in BGP https://datatracker.ietf.org/doc/html/rfc9830 ? >>>> >>>> >>>> >>>> Regards, >>>> >>>> --Bruno >>>> >>>> >>>> >>>> >>>> >>>> Regards, >>>> >>>> Dmytro >>>> >>>> ____________________________________________________________________________________________________________ >>>> 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. >>>> >>>> _______________________________________________ >>> Idr mailing list -- idr@ietf.org >>> To unsubscribe send an email to idr-leave@ietf.org >>> >>
- [Idr] RFC 8277 clarifications Dmytro Shypovalov
- [Idr] Re: RFC 8277 clarifications bruno.decraene
- [Idr] Re: RFC 8277 clarifications Dmytro Shypovalov
- [Idr] Re: RFC 8277 clarifications Robert Raszuk
- [Idr] Re: RFC 8277 clarifications Dmytro Shypovalov
- [Idr] Re: RFC 8277 clarifications Robert Raszuk