[Idr] Re: draft-ssangli-idr-bgp-generic-metric : Kaliraj's 2nd question follow-up

Srihari Sangli <ssangli@juniper.net> Tue, 30 July 2024 17:04 UTC

Return-Path: <ssangli@juniper.net>
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 073A9C180B44; Tue, 30 Jul 2024 10:04:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.251
X-Spam-Level:
X-Spam-Status: No, score=-2.251 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.148, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b="BUoqo03X"; dkim=neutral reason="invalid (public key: not available)" header.d=juniper.net header.b="MiM3EC1b"
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 BZCN4K7ydF6K; Tue, 30 Jul 2024 10:04:08 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) by ietfa.amsl.com (Postfix) with ESMTP id 5361FC169433; Tue, 30 Jul 2024 10:04:08 -0700 (PDT)
Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46UGipek001779; Tue, 30 Jul 2024 10:04:07 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=PPS1017; bh=cK7lhrN9c77E7mHCIJoXvlXLlH 7LB5JkIu34TtonJxE=; b=BUoqo03Xx8pUV02tdk5rGxt2XV508M20eKQtW/pJBL F2wGcyJHLcMUcS88xa75JdTgSWsnBDAmUv43QWIzYrb5tr+wkGPy+PqLbl/6NjP5 OAX4GTgM9epXO9KJ8yGDMafs1R7swt1uCA/pdCXxl/xzlg9wAleqBKZs8B7dVc2J 6m8o92D9oMSjtbRYo041EQ9PG62d/l9/PwQ16bvqFpRi+LmqC2N0j3nTvJJNYtI9 +gw+WqHpeY56Wrs61OWGWqIlmRMKXZJfqrYPoGQP0El0L5nane5PC5Cd7ebnCfFi QZxuwMz2izKjja5dlxoJUW9KEDVUL2r30+bdqZt1YtBQ==
Received: from sj2pr03cu001.outbound.protection.outlook.com (mail-westusazlp17012036.outbound.protection.outlook.com [40.93.1.36]) by mx0a-00273201.pphosted.com (PPS) with ESMTPS id 40mvkkpg04-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jul 2024 10:04:07 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LqarV5AOhOUGZHp8m2I5ka2xxkX5/JIqrqG6ZB63ECwFxAmRifAwtiJBKZ/hcjBgGLNV/aWRlDVLTDMPO68omj3CCx4kCtj0sIKWI1MPrChzcHylWW1+IDLP9c+Ay0LfvVuxe6yU1i4DtJkB1LqguxLtN768KshzdQHLMBGOsxcVnSEBvAoCobD5HSBix2VyCXONy5oDKZc0LtZ0rH30SmRi3EpTYUJxzdQmYEHMBeWOcm/ejFw3M+V/hCt7evCAPkYim4dmt9oBLV/PxmpMm9riPFP65gsEnmS2RrscglloolyYUN1Mdn1X5Htf5HQmDVM0Vu8/IPYRn0Q8TgLAEw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cK7lhrN9c77E7mHCIJoXvlXLlH7LB5JkIu34TtonJxE=; b=dBxH9PZN32vJfPh9nlZwnUYA2x4nyW7Ge5APCxo7u9Gc4ruVoAui4BhiWWFZob9C6OKd9fHqojcjw3uqbX2vS4BVNNk0RTOj8rqxJS14gVetrNS9N0uiHg8quG11Ky+OlGnAG0SDDbeJtIqten7P7Anhyh6CIC8KhB2br+7T/gfxsjgH18ENx973X6paOgCm4JlrqmoRh1yxpfU7sKPQMRvdtvM9S2a3lpAYEjEiv5BNUcN628xAYcqJHfixBM7Tfim6nU8RegJVSGi3H4CgW7puww3LToeZLjrBWB1FtAWbNyvMOtFvIQyCmGEykJ6fG9fQy68vkn838PKEN+dn1A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cK7lhrN9c77E7mHCIJoXvlXLlH7LB5JkIu34TtonJxE=; b=MiM3EC1bpw3CtZs5E6gHnLYVbvAECuHO41r9drH0WfTckKSYtadL94Rz6d0LOSTFgH7sJJSg/hvjtrTmiWzlNEpU2lQUEUoSbL6Louctur7hCSo6eoyJ40upv6YpMQ2Ya+43oypif+8vzVRNVkb+MsdPvht9ClOTy6rPe1bWSBU=
Received: from PH0PR05MB7749.namprd05.prod.outlook.com (2603:10b6:510:2e::7) by BY3PR05MB8004.namprd05.prod.outlook.com (2603:10b6:a03:360::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Tue, 30 Jul 2024 17:04:03 +0000
Received: from PH0PR05MB7749.namprd05.prod.outlook.com ([fe80::1cae:3cc0:347a:edf1]) by PH0PR05MB7749.namprd05.prod.outlook.com ([fe80::1cae:3cc0:347a:edf1%6]) with mapi id 15.20.7828.016; Tue, 30 Jul 2024 17:04:03 +0000
From: Srihari Sangli <ssangli@juniper.net>
To: Kaliraj Vairavakkalai <kaliraj=40juniper.net@dmarc.ietf.org>, "idr@ietf.org" <idr@ietf.org>
Thread-Topic: draft-ssangli-idr-bgp-generic-metric : Kaliraj's 2nd question follow-up
Thread-Index: AQHa3HQND7+Y8cI+nUOXxPweadk4RLIGDA+AgAMS1ueAAmSCAIAEASwZ
Date: Tue, 30 Jul 2024 17:04:03 +0000
Message-ID: <PH0PR05MB7749D98030A80B9E0CDDE1F9B9B02@PH0PR05MB7749.namprd05.prod.outlook.com>
References: <PH0PR05MB7749EDD95BF10F30AD05DA33B9A82@PH0PR05MB7749.namprd05.prod.outlook.com> <PH0PR05MB77498CD3BE1BE1E4692A903AB9A82@PH0PR05MB7749.namprd05.prod.outlook.com> <SJ0PR05MB86328AB0652F8F300849C089A2AA2@SJ0PR05MB8632.namprd05.prod.outlook.com> <PH0PR05MB7749895BA5701C8D12CF1D30B9B42@PH0PR05MB7749.namprd05.prod.outlook.com> <SJ0PR05MB8632F04068736C42566F3C9BA2B62@SJ0PR05MB8632.namprd05.prod.outlook.com>
In-Reply-To: <SJ0PR05MB8632F04068736C42566F3C9BA2B62@SJ0PR05MB8632.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True;MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4;MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2024-07-22T19:20:33.8244664Z;MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=0;MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR05MB7749:EE_|BY3PR05MB8004:EE_
x-ms-office365-filtering-correlation-id: b575d557-72c9-43f1-57d9-08dcb0b99d45
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|366016|38070700018;
x-microsoft-antispam-message-info: QPkL0CrnLo5IixduW9i/c8mMonQtK4QnoXt4zotYqi1vaZNo6HrsX0z257TTihZ8qPw5xM7qnjgTkOtTl6kAZZGPT3LfuiGvRGB7wOatr1fT1P15YbTTz/5i5UkLG1nsDdbmeT6PJjAMk7kkZsgjIQdz9wWisB2BjRYIJhcdDtPbtn6XzCeZglPdS4lFRY7x4eg92pBbH2khkjflbHRxh972tXIAxXeK6vpZSzL9YU25ZbvJnvU/nev76XD3aaYebKwYf3+Q5/Ql5KAS58qzNexyv2iSrlDGV45zdmRao2ndC68Kp/ozydnVL9/Zoc7DQ/w4CZTjE8RXggN4XyJNJAbOz1AyTZOnUOmaAY6jiRHb3piG7+n0IV0O/nv9Z/Qxy3BKm8ycbZm/WJeHH5yrsDbU9Y4VURxYXcpehicnUwV5X1SYdMyDWHN1JBvmGRGvHJpzs+vWMzTyM6dYlzLhK1XQBwRr/zgtPj//c9/RoGLTDNMleyN+zUaw8pU+Olidel1I1OXOoL9wKxRSsrPyrpa7g3bphORWSH+Q3vVOcmCVjZEriDT4wh+aFd2SD27KpeVkfxP4ifLIyTomlZCjVztH7DGi0xSrG39XNfzvlwCDneSf9tTslzax8mXTx0+JZp3pcNI5DO2yvH1GkFsbPcWZ79iWn54WjwHR/IuN2HaWWzvYTVQs2K/EIkIYDq6aboH/gM9N5w5Z2ZCUkOKrNCetO/I9YcayAfYokTrwRn/SUviQ9nrRAZpK5gTF0pjR2fK0f91/C3Sk+mm+ojUQrqPdfjj+y7Ou1VP7RhyaXdOyoTvDZTUOuCI/GFyFKf++8S324l8x3cihLOSwED0GawL2/2NZWULOhjI73JO4mNw68adpGlUwf0RTEId9MkXPVMl5SNuB0rtVx1zi/NcO8fsAGGcLQOHwYnLWQuav0S2+NoNlR1p5ApSGT0gj48vfJ5IPB3FZqDnWk41mLoS7rfU+vCX5mrA+s/RgaL8G0nOorHQSEO2P+aqJwJprt0Yv4cZEEtzvdzRXcf5lGX5uEc+XwU0COMQDZyG+12h7vRoH7NriMkCMxLcfG1Xv5Z1nLbgV7RmRurTVjpmYQW5/j2a4xKadl/gjpNWzssZOCcpqdwJhFF6uz13YXOFIJ3R45ALj3cppsRwGxNcRFzuuI6Eeyarz9ikHZ4FZ2lzVey0GD3hX0kP7NF4j+4Lz6o7xCrP2w0uX1SEe4GQZ4ids1fY3VH/0RcgKCCidssUCkU1w6lzIm0/7kr879vLrwxidBDzPsh/jX750tiYUQepe+IBJSbouWDtkukmZt4FHPKT8D/x/fy1d1qOy0dV0yF7QLbF5eF6+u4nU2I9fYSZOu0df8jCyDh6oZeg2A2cGiYSG469/ACdcJ9MeUngajdvJsZ8QD0n8iY5Ds1PtmePkmw==
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR05MB7749.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(38070700018);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ePAxNBgbgDd087zXxYd36ndipk+YhHC6WtIX6co6wJTD0uVchzsXDql12fedbYS4nqZwdhIL/WqKDT9uG8mmGHupy7qLL8dK29y04EesXdpIbJmCsijy58SJHg4lvq9mWaCTidJnngCheGm4eWlFNa7zsl2+ISfOQ5kICDERkSDIfsVfCC5if6epti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RoVzdaDITwn0h9wVHOyTOgeLhnT9lA4pQoGQvNa6vk9JCmh/msGuquQFBBQGK4269lY1A/2SwgV0XdouD3z9aRRh68a9pR/VZWSMVEXQUpQSLeFUTDAEv2vHguGrpPKYTmUTNkXSSnSjErTM+Mkvsf5b8CIG1o87Rgmpg9YIQcKJjeQoO9z3LmJQvc9gFzmFveh87IThz7aC5NyuKOiU1lqi+S2SAuXPVXQ5aiyl6RF/qzZcHBoahJWovCYUUbJyFxsvdrwg556neZ/zgRAM8agNfSdulDPm/4/Q2NXbqGhJelDs88iD5Ps2xDtlfMd5GlSijE0wtU8Z/t4pwHdFJWgR/p4sNH1yn5kQ==
Content-Type: multipart/alternative; boundary="_000_PH0PR05MB7749D98030A80B9E0CDDE1F9B9B02PH0PR05MB7749namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR05MB7749.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b575d557-72c9-43f1-57d9-08dcb0b99d45
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2024 17:04:03.3289 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: epy0eQNK4S+kp7YNSkYhA9/KFalKT0XOgjAU7rm9rUeWTXevUgN/pG6d+IWt9E5RoM9B1FjoAGEKVOs4XWnvAQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR05MB8004
X-Proofpoint-GUID: CH5BX9n71JjBOFx_igUhyGBKBlW5zKCI
X-Proofpoint-ORIG-GUID: CH5BX9n71JjBOFx_igUhyGBKBlW5zKCI
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-30_13,2024-07-30_01,2024-05-17_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxlogscore=808 suspectscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2407300116
Message-ID-Hash: PUWLDWY2ST3RGSQLAA63G3ACBCTTWVUK
X-Message-ID-Hash: PUWLDWY2ST3RGSQLAA63G3ACBCTTWVUK
X-MailFrom: ssangli@juniper.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
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Idr] Re: draft-ssangli-idr-bgp-generic-metric : Kaliraj's 2nd question follow-up
List-Id: Inter-Domain Routing <idr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/4p0CFoWZ8A5SRKZ8ucWJovQzQ6Q>
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>

Kaliraj,

In the scenario below, how does C know the originator G? because nexthop-self is in play.

Srihari> That’s why I said that the above statement applies *if* it can compute the cost to the next hop. Like you say, if ASBR sets itself as next hop, then this clause is not applicable and hence C MUST not add AMetric. This is what I said I’ll clarify in the next rev of the draft.


The suggestion I raised was about avoiding bullet 4 from the following rfc7311 text:

The AIGP attribute may be added only to routes that satisfy one of the following conditions:

   -  The route is a static route, not leading outside the AIGPadministrative domain, that is being redistributed into BGP;
   -  The route is an IGP route that is being redistributed into BGP;
   -  The route is an IBGP-learned route whose AS_PATH attribute is empty; or
   -  The route is an EBGP-learned route whose AS_PATH contains only ASes that are in the same AIGP administrative domain as the BGP speaker

If we remove bullet 4, then C will not originate Ametric for the route originated by G in below scenario.

But yes, you need to consider the history of why this bullet was added in rfc7311, and if it is safe to remove.


Srihari> Let us ask the IDR community the operators.

In the section 3.4.1 of RFC7311, it allows a router to add AIGP attribute to an EBGP-learned route whose AS_PATH contains only ASes that are in the same AIGP administrative domain as the current BGP speaker.

Does anybody know under what conditions this is allowed ?

srihari…


Juniper Business Use Only


Juniper Business Use Only