[Idr] Re: revision idr-5g-edge-service-metadata to address Route selection issues #40 on the GitHub
Jeffrey Haas <jhaas@pfrc.org> Tue, 17 December 2024 19:26 UTC
Return-Path: <jhaas@slice.pfrc.org>
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 12841C1519B2; Tue, 17 Dec 2024 11:26:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D-hJjcykU0jo; Tue, 17 Dec 2024 11:26:17 -0800 (PST)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 88E79C14F695; Tue, 17 Dec 2024 11:26:16 -0800 (PST)
Received: by slice.pfrc.org (Postfix, from userid 1001) id 7ABC21E28C; Tue, 17 Dec 2024 14:26:15 -0500 (EST)
Date: Tue, 17 Dec 2024 14:26:15 -0500
From: Jeffrey Haas <jhaas@pfrc.org>
To: Linda Dunbar <linda.dunbar@futurewei.com>
Message-ID: <20241217192615.GA20786@pfrc.org>
References: <CO1PR13MB492020197388D61AA999398E857E2@CO1PR13MB4920.namprd13.prod.outlook.com> <4E503AE9-1C76-4659-8BD4-3119CB9BB7A7@pfrc.org> <CO1PR13MB4920F4F43EECE33E2834644585432@CO1PR13MB4920.namprd13.prod.outlook.com> <CO1PR13MB492038B9EAD91736DC31890685552@CO1PR13MB4920.namprd13.prod.outlook.com> <69868867-59D8-495E-B43D-D23DE208FBDE@pfrc.org> <PH0PR13MB49221833A188C0EDF5D26CD285572@PH0PR13MB4922.namprd13.prod.outlook.com> <852422FE-D06E-4A16-8E89-238A40EFDFBC@pfrc.org> <CO1PR13MB492019FD073F687E7738FC6385372@CO1PR13MB4920.namprd13.prod.outlook.com> <20241213183444.GA4855@pfrc.org> <CO1PR13MB492054BAC47A6C92254F88AF85042@CO1PR13MB4920.namprd13.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CO1PR13MB492054BAC47A6C92254F88AF85042@CO1PR13MB4920.namprd13.prod.outlook.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Message-ID-Hash: O6QLRMJV6ZFJZRVS6ZJZMPTRTNDQ4DJ3
X-Message-ID-Hash: O6QLRMJV6ZFJZRVS6ZJZMPTRTNDQ4DJ3
X-MailFrom: jhaas@slice.pfrc.org
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: Sue Hares <shares@ndzh.com>, "draft-ietf-idr-5g-edge-service-metadata@ietf.org" <draft-ietf-idr-5g-edge-service-metadata@ietf.org>, "idr@ietf.org" <idr@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Idr] Re: revision idr-5g-edge-service-metadata to address Route selection issues #40 on the GitHub
List-Id: Inter-Domain Routing <idr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/2ol3PVUnz5orYaSenk-Tc82IiPQ>
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>
Linda, On Tue, Dec 17, 2024 at 06:01:37PM +0000, Linda Dunbar wrote: > Thank you very much for the positive feedback! > > Inserted below are the answers to your questions. What other steps are needed to get early allocation for Metadata Path Attribute? > > From: Jeffrey Haas <jhaas@pfrc.org> > This roughly corresponds to RFC 4271, §9.1.1. You're asking for the metadata preference to be calculated before this spot, right? > [Linda] Yes, the metadata preference is intended to be calculated before the BGP route selection process, specifically at the same point as RFC 4271, Section 9.1.1 That's the text we'd need then. Specifically, refer to that section. > And does such calculation differ if it's coming from eBGP vs. iBGP? > [Linda] For iBGP: RR may pre-select routes by integrating the Metadata Path Attributes into their best-path computation and reflecting only the optimal route to their clients. If the RR uses the Add-Paths feature, multiple candidate routes can be forwarded, allowing ingress nodes to make final routing decisions based on policies that combine traditional BGP attributes and Metadata metrics. > For eBGP: If policies allow Metadata propagation to eBGP peers, mechanisms like AS-Scope Sub-TLVs or route filtering can be applied to enforce boundaries. > The difference of processing between iBGP and eBGP is standard behavior. Is it necessary to reiterate them in the document? Pay particular attention to what §9.1.1 is telling you: The "degree of preference" is calculated differently if it's learned from an iBGP peer or an eBGP peer. If your procedures are *after* this step is done, you are consistently using that existing degree of preference and are unlikely to break iBGP. If your procedure is *prior* to this step, it becomes necessary to do things in the metadata selection mechanism that has been thought through very carefully by the operator to not form persistant routing loops. The text for internal peers tells you: : If the route is learned from an internal peer, either the value of : the LOCAL_PREF attribute is taken as the degree of preference, or : the local system computes the degree of preference of the route : based on preconfigured policy information. Note that the latter : may result in formation of persistent routing loops. "Preconfigured policy information" can be used for "do your metadata preference step here". These things become much more important when you look at the multi-AS case. While this feature is being touted as a "limited domain" feature, and typically a single-AS one, what we're discussing is what happens when it becomes multi-AS for whatever reason. For multi-AS, you have to decide how iBGP is going to consistently choose routes after a given ASBR chooses the routes potentialy from an eBGP source. For normal eBGP, policy gets done at the edge, local-pref is set to reflect relative degree of preference, and then tie-braking within the AS occurs among routes with similar degree of preference based on the rest of the procedures. If you're calculating the value either above or using 9.1.1, you're effectively picking the "degree of preference". If that is to go into the local-preference, then the calculation flattens the result into a generically comparable uint32. If you're leaving the existing 9.1.1 degree of preference alone and calculating it immediately afterwards (which means local-pref can be a strong override for route preference, which is how it is used by operators), then your tie-breaking probably wants to begin in the Phase 2 tie-breaking in §9.1.2.2. You may want it to happen before step a for AS_PATH length for eBGP routes. As an example, AIGP effectively does that. I'd suggest studying the AIGP. See in particular RFC 7311, §4.1 as an example. > The procedure for selection at the reflector is partially correct. What's implied here is that the reflector may act as the deployment's "server" for the best paths. This works fine if the server is the only way routers in the AS receive the routes mediated by the metadata attribute. > > Where it may not work properly is if the reflector is receiving sets of routes from the rest of the AS, but the rest of the AS may be partially meshed on its own. I.e., some routers can directly exchange iBGP routes without the reflector. If it's the case that the reflector, acting as a "server" can come to a different answer than individual routers, you may end up with inconsistent routing. > > Possible fixes: > 1. If centralized RR server is a model, recommend that routers ONLY peer through such server RRs. Or, 2. Consistent procedure means the RR is just another node. > [Linda] thanks for the suggestion. What do you think about the following paragraphs added to Section 6? > > Centralized RR Model: > If the RR is acting as the deployment's "server" for best paths, it is recommended that routers in the AS ONLY peer through the RR. This ensures that the RR serves as the single point of policy-based computation, and all ingress routers receive consistent routes that account for the Metadata Path Attribute. > > Consistent Distributed Model: > If routers in the AS are partially meshed and allowed to exchange iBGP routes directly, the RR must be treated as just another node. In this case: > All nodes, including the RR, must implement the same policy for integrating the Metadata Path Attribute and computing route preference. > The procedure for combining metadata and traditional BGP attributes should be consistent across all nodes, ensuring that all routers converge on the same "best" path when presented with the same set of routes and metadata. That text works. -- Jeff
- [Idr] Re: Call for IETF 121 IDR agenda items Dongjie (Jimmy)
- [Idr] Re: Call for IETF 121 IDR agenda items guoyangfei@zgclab.edu.cn
- [Idr] Re: Call for IETF 121 IDR agenda items Dongjie (Jimmy)
- [Idr] Call for IETF 121 IDR agenda items Dongjie (Jimmy)
- [Idr] Re: Call for IETF 121 IDR agenda items Linda Dunbar
- [Idr] Re: Call for IETF 121 IDR agenda items jiangshl
- [Idr] Re: Call for IETF 121 IDR agenda items Yujia Gao
- [Idr] Re: Call for IETF 121 IDR agenda items 佟恬(联通集团本部)
- [Idr] Re: Call for IETF 121 IDR agenda items Gyan Mishra
- [Idr] Re: Call for IETF 121 IDR agenda items Dongjie (Jimmy)
- [Idr] Re: Call for IETF 121 IDR agenda items Jeffrey Haas
- [Idr] Re: Call for IETF 121 IDR agenda items Yujia Gao
- [Idr] Re: Call for IETF 121 IDR agenda items Susan Hares
- [Idr] Re: Call for IETF 121 IDR agenda items 岳胜男
- [Idr] Re: Call for IETF 121 IDR agenda items Linda Dunbar
- [Idr] Re: Call for IETF 121 IDR agenda items Dongjie (Jimmy)
- [Idr] Re: Call for IETF 121 IDR agenda items Dongjie (Jimmy)
- [Idr] Re: Call for IETF 121 IDR agenda items linchangwang
- [Idr] Re: Call for IETF 121 IDR agenda items Dongjie (Jimmy)
- [Idr] Re: Call for IETF 121 IDR agenda items linchangwang
- [Idr] Re: Call for IETF 121 IDR agenda items Dongjie (Jimmy)
- [Idr] revision idr-5g-edge-service-metadata to ad… Linda Dunbar
- [Idr] 回复: Re: Call for IETF 121 IDR agenda items 佟恬(联通集团本部)
- [Idr] Re: revision idr-5g-edge-service-metadata t… Jeffrey Haas
- [Idr] Re: revision idr-5g-edge-service-metadata t… Linda Dunbar
- [Idr] Re: revision idr-5g-edge-service-metadata t… Linda Dunbar
- [Idr] Re: revision idr-5g-edge-service-metadata t… Jeffrey Haas
- [Idr] Re: revision idr-5g-edge-service-metadata t… Linda Dunbar
- [Idr] Re: revision idr-5g-edge-service-metadata t… Linda Dunbar
- [Idr] Re: revision idr-5g-edge-service-metadata t… Jeffrey Haas
- [Idr] Re: Call for IETF 121 IDR agenda items Dongjie (Jimmy)
- [Idr] Re: revision idr-5g-edge-service-metadata t… Susan Hares
- [Idr] Re: revision idr-5g-edge-service-metadata t… Linda Dunbar
- [Idr] Re: revision idr-5g-edge-service-metadata t… Jeffrey Haas
- [Idr] Re: revision idr-5g-edge-service-metadata t… Linda Dunbar
- [Idr] FW: revision idr-5g-edge-service-metadata t… Susan Hares
- [Idr] Re: revision idr-5g-edge-service-metadata t… Gyan Mishra
- [Idr] Re: revision idr-5g-edge-service-metadata t… Linda Dunbar
- [Idr] Re: revision idr-5g-edge-service-metadata t… Gyan Mishra