Re: [Idr] Bug in RFC 7911 (add-paths) and tie-breaking

"Jakob Heitz (jheitz)" <jheitz@cisco.com> Thu, 24 June 2021 22:20 UTC

Return-Path: <jheitz@cisco.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 6A84F3A2D66 for <idr@ietfa.amsl.com>; Thu, 24 Jun 2021 15:20:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.895
X-Spam-Level:
X-Spam-Status: No, score=-11.895 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=UoFx+iVD; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=JhjXOwKf
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 tQKF7oRfrqEv for <idr@ietfa.amsl.com>; Thu, 24 Jun 2021 15:20:13 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E0BF33A2D64 for <idr@ietf.org>; Thu, 24 Jun 2021 15:20:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=18118; q=dns/txt; s=iport; t=1624573212; x=1625782812; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=BW1XX7N0kLHre/oMZ6InPvYhTELo/Wpp6LZRzbx1/d8=; b=UoFx+iVD44vlicB6PHVtgVg/9msvx4TsY3EXXUvW5u5Xki8IKkWlfQi6 oHEvcTZLTq3fRYfgoj3+3toLzd5Swp88GzEXF6P6VGx1Lnf5PHVMaUNRG xFp5R6TzA42CyWYBpiueL6pURVjUef9PHmAUCOE0heIjkuTKDoX+G7/EK s=;
IronPort-PHdr: A9a23:8mikVBM98wB2gxjoqEwl6ncbWUAX0o4cdiYP44E1lrEIdKm/rNzuP03asPNqilKBHYDW8OlNhOeetaf8EXcB7pCMvDFnEtRMWhYJhN9Qk1kmB8iIWlfyN+z3bGo8EdgRHFNg9muwZE5SHsu2blbOo3q0uDgVHBi3NQd8KunvXIDIiMHi3OGp8JqVaAJN11KA
IronPort-HdrOrdr: A9a23:OA8XzKkdevtSNHxK2tOo9hJNtnDpDfOqimdD5ihNYBxZY6Wkfp+V/cjzhCWbtN9OYh4dcIi7Sda9qXO1z+8T3WBjB8bdYOCGghroEGgG1+vfKlLbalbDH4JmpMJdmu1FeaHN5DtB/IbHCWuDYqwdKbC8mcjC74qzvhQdLz2CKZsQkjuRYTzrdHGeMTM2fabRY6Dsn/avyQDQHUg/X4CePD0oTuLDr9rEmNbNehgdHSMq7wGIkHeB9KP6OwLw5GZcbxp/hZMZtUTVmQ3w4auu99uhzAXH6mPV55NK3PP819p4AtCWgMR9EESvtu/oXvUlZ1SxhkFznAid0idtrDAKmWZ4Ay1H0QKUQohym2q05+Cv6kd015ao8y7ovZKqm72IeNt9MbsauWqcGSGpt3bJe7pHof92NiuixulqJAKFkyLn69fSURZ20kKyvHo5iOYWy2dSSI0EddZq3MEiFW5uYdw99RjBmcoa+ShVfbfhzecTdUnfY2HSv2FpztDpVnMvHg2eSkxHvsCOyTBZkH1w0kNdnaUk7zg93YN4T4MB6/XPM6xumr0LRsgKbbhlDONERcesEGTCTR/FLWrXK1X6E6MMPW7LtvfMkfkIDSGRCdQ1Jb4J6dr8uX9jxBoPknPVeISzNcdwg2XwqU2GLEPQI+9llupEhoE=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BOAAD0A9Vg/5BdJa1aHAEBAQEBAQcBARIBAQQEAQGCAwcBAQsBgSIwIwYoB3daNzGESINIA4RZYIh4A4pLilKFAIEugSUDVAsBAQENAQEqAQoKAgQBAYRSAheCWAIlNAkOAgQBAQESAQEFAQEBAgEGBHEThWgNhkUBAQEDAQEBEBEKEwEBLAsBBAsCAQgRBAEBKAMCAgIfBgsUCQgCBAENBQgMCwOCUIF+VwMOIQEOmw8BgToCih96gTKBAYIHAQEGBASFKw0LgjEDBoE6AYJ6hAwBAYZhJxyBSUSBWIJgPoEEgRxCAQECgWArCYJhNoIugi4Baw2BEAMREAlSKhskCBuBDZQLRIgYjSWRKVsKgx+XMHuFdxKDXz6hWpVighiNM5AchGgCAgICBAUCDgEBBoFUO4FZcBU7gmlQFwIOjh8JGYECAQiCQ4UUhUpzAjYCBgEJAQEDCXyLBgEB
X-IronPort-AV: E=Sophos;i="5.83,297,1616457600"; d="scan'208,217";a="880996288"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 24 Jun 2021 22:20:11 +0000
Received: from mail.cisco.com (xbe-aln-006.cisco.com [173.36.7.21]) by rcdn-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 15OMKBhw011157 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 24 Jun 2021 22:20:11 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by xbe-aln-006.cisco.com (173.36.7.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Thu, 24 Jun 2021 17:20:11 -0500
Received: from xfe-rcd-002.cisco.com (173.37.227.250) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 24 Jun 2021 18:20:09 -0400
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-002.cisco.com (173.37.227.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Thu, 24 Jun 2021 17:20:09 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FgFFENErALawgw2FyGtf+MFxFRYMpJOZcLp+wBSDDbbu9nKw8317rOCUui48vdEMMB4s88IcL5yL7I4+utNlPUErnRWTyVyN0ZZyzOuYuN+fC+YfPXc/We+rDfyP38CZpxgE09yFEhLlGEsz3lhRZcIys6U8FB2y/5nESSdY8rhKAn8ePH7wxsDqYwzoP0VPsWhKiTMaEFr/QUp7S8/dEv7r2i2iGWf86NItbrVYijMRe4uyx3FEid3wIxLmG9pAzopYSrEVc1mS3VOx/Evi8XEOl0C4qf1tSxdzVHf6Do1mkOoqBQzmujrbCv7vqmnylC4XzJAMgD303CXyCZTiWg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BW1XX7N0kLHre/oMZ6InPvYhTELo/Wpp6LZRzbx1/d8=; b=inrYocAaB3/UhClvS8RRQo65wnQylluqHZjJDAwvT6Ab50cCfvYsS2l83mR11r7Xyr3tsJF2IOi9BOGmr9cTeRsSTHd7jhmse2ra1Sw8v7iBGuOtl2Ok6lKWlaF0eGHmZYvNy8e/cwfC0VR7NUY9AcIgdrdTyx4RdXEYRUT88h0wfI71FGIZUut4Vbf3ryOG8IbJlRGyMK4uMtA6pmEUV7zgPLMQJ8yhVQxbMewr4hjIj3SaZwAt6mv4cSl72wTAz4K4BT5f/y18oFmAISSRiJ0ROxOz9z/zJMw/a2rZ+yXMj3S9RY1uipGyCO9TwFLOfBKvghqfo+CiKlzAlxWpAA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BW1XX7N0kLHre/oMZ6InPvYhTELo/Wpp6LZRzbx1/d8=; b=JhjXOwKfCG8yMpliIQwqLwBEBBXFbWDBcqdl/ERLLqYHJmq5PcujQQbEHLDO3CS3LQyGJ1QrOGwvWsmjYJaX/S8a6bt/a3YWwsoUmYDghJfnxtMrRDrgwLatyf5hkNxG1pYpB6rq1otZ1ma2lUAaDEOAC9FsJyCz91wwT2Jspa8=
Received: from BYAPR11MB3207.namprd11.prod.outlook.com (2603:10b6:a03:7c::14) by SJ0PR11MB4894.namprd11.prod.outlook.com (2603:10b6:a03:2d4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Thu, 24 Jun 2021 22:20:06 +0000
Received: from BYAPR11MB3207.namprd11.prod.outlook.com ([fe80::5c60:81c3:b049:887f]) by BYAPR11MB3207.namprd11.prod.outlook.com ([fe80::5c60:81c3:b049:887f%6]) with mapi id 15.20.4242.024; Thu, 24 Jun 2021 22:20:06 +0000
From: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
To: Robert Raszuk <robert@raszuk.net>, John Scudder <jgs=40juniper.net@dmarc.ietf.org>
CC: "dwalton76@gmail.com" <dwalton76@gmail.com>, "idr@ietf. org" <idr@ietf.org>
Thread-Topic: [Idr] Bug in RFC 7911 (add-paths) and tie-breaking
Thread-Index: AQHXaSTVEauHMW2CTEKGa0jgcKDmnKsjn+aAgAANVAA=
Date: Thu, 24 Jun 2021 22:20:05 +0000
Message-ID: <BYAPR11MB3207351F5FA437DD807E576BC0079@BYAPR11MB3207.namprd11.prod.outlook.com>
References: <F689CF63-236D-401D-9C8E-AC1C39CDE772@juniper.net> <CAOj+MMHg1f2rFNHZLM-j7Jx-ji_zWLhesmrNdS5LWfsNk_x9sw@mail.gmail.com>
In-Reply-To: <CAOj+MMHg1f2rFNHZLM-j7Jx-ji_zWLhesmrNdS5LWfsNk_x9sw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: raszuk.net; dkim=none (message not signed) header.d=none;raszuk.net; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2601:647:5701:46e0:889c:1c50:135a:ec0]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 950117cc-6959-4ed0-c8a9-08d9375e3864
x-ms-traffictypediagnostic: SJ0PR11MB4894:
x-microsoft-antispam-prvs: <SJ0PR11MB48946CA53E543AFA5B3E7E3EC0079@SJ0PR11MB4894.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: I+v3dIXDzigtPol73Ob9lTH7UrV6QN4UlGfZAWwki+/O+1G60+NmGNp0DntFAnoQ6NqJ0dlvqoxFL794tH5+9ELZT1kFHjUTiOHGKtk/z2sg73yURuO0A3KCE29j5429QiCkA5/DkR/yGIvtcEfm4loWFOxDFBZs+fLg1OJf95JA/CpIlGGcZD8jzcPy3dDmwpEmrs8WtJSa+8Lu8/psRuQrCeCZQHdhyk2Nvogfij5VJ95ae2if5IPbW5XlYSvKLB/zNDCt9j8ZX+MfgWtgkDBVP8CJ0B56DHokRHUZ1ZIHccvieXo67KYNjyzBYYxzpdxhR9bFEG+ULFf+p0EF0hc9I9YHxCP3yfVShDTm58zwdzgwPbqwIlge+WTkV/c7G6XSxVQzmn5YfK9CFH6R+20VZOWrjDSj53HvDBWCdgcYnwQz+ZnXxGY88brvXQ1/6WVAxQB7v93qX/dVfjrmu1sFxomfVyJSY0cJLDdlUtxidF5yOYAkYiul98Y+rdKNofaUv6LirkefKPH4Aq9H4wrUoSrve/N8ag8qBxG/3DGb54ndcgN1nh+bx9eldc1yW9G1Ejvqpxdg8VeDshvPZKnFSUVkKsvSMZ0ImtYn+r7s+rsRqwcqrmQX8x4QGiuPX4zdliQ7WN3VjFskO+RjDw9Herx4Sn/r2j5Hdhhu0u3kU5IzIuG5jrjihzSAGORGIcQADB31VXakVV2FSDtRdR/5Vhk7bdF15zmw0/cj0aCnUsBSb2cgkFd85F2l/ZdlptSLYBl1l9ujByssXivzQw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(346002)(136003)(396003)(39860400002)(366004)(8936002)(55016002)(33656002)(5660300002)(166002)(66574015)(316002)(9686003)(83380400001)(478600001)(86362001)(7696005)(54906003)(122000001)(52536014)(76116006)(186003)(4326008)(66446008)(64756008)(110136005)(38100700002)(66946007)(8676002)(66556008)(66476007)(966005)(53546011)(6506007)(71200400001)(2906002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: P3xGX0ulkCWzoR6UReH7Ze3grbT+x5T4pCUbgPJgvfqNCtHIINN3Q19H/dFhrrM9e05NOkHGD7KRP2v6DpPB3QHFhF0nFt7fhQ0WNYTuHA2Ii9rB+BJQuoXXArEbupC7B7UZJdLXPqx+2w33xvRCNwxaT3IZtTMWaySLJpP4YUfExJOEHiUQFdjmWNjs0XnOlWCBGu63O6GT1coIfVBowxp5g9XuytSHAz/rDw0SuBdHQbpLX7Win3my2kTwKxEcgQ+15eZUM15jqRWAJebVkcUzFFS8cfnSfB8cFTm5BkNtLZPvQ4wLuLPLFLBqqOu8bLhZeFqdY4N0fQ2hFv2YpqrDiqRGJLegcGNDT/zcyRGB8WgOy7cBkmPosXHn9HwTS87MEJuARSi+jEc/cq8GI+BRs/vF9eJkwWIDErThhZMmEb6amuBUTF5/ZVmlewrxv7+zCL4zHErJIw3ZDFWVBg5KgFS47k8rQBlClenUhHqn6CTg3olC7BfereqRY4ppRFhnBtgmrrG/6UCY1HapKNhk/DiMMzC9vvlLyhIovL5W+X3i+Qq79RgRXoc6nvVLGVwHWFndM2+WLBl6gvEWwqqUWQX+4PDuMFJ6MdHy0+AqJahOdO361SVR1Um5p7ha2+pLqU8Wv7EYj7YT/xY9vyd4x1uPhB4G65vqpbJjr58wnZc+Q9oTv7ZTfwDEimGCtQkcxq+hHDbq7TJeNNS/sCTlBJ/u/Y7Hhi5BPvUXFGav9iSLzjiFnVquHy7FnkTCpDNBWWS9edC/oj0ykHr2454k8VuVu4pZdKBOs/ET4nawTk2DQL63ctfBcPiCxeh6OI6D+hmaNQTSg8fYUrVrcXtJcdLd74jAaczmobiSc/g6gJKHrIL3xqpz1goMDmHnFLw2Y/lMENJ2ARR3rSLImkCDz4qHGAsUfFF0Wfw6GRNcstMd4/BtLA7iiZICi6eizdOg1sGgY7vPbIgqp5HAjNUOJOhyheuB43B3ddcWU6MMpWVpaOfj5m1i/XfrB3FVXF2WLMLTXiITD/WayN9wDGXOlqgyavZRm8/uBZiRh6L7poe2yBIWDGzmeYZfxBh4wWoo/aoQgEec6KsMXNqbBUkQDSKtJ1w7S8VUcr/tcX0xNkdrT5c+NpMPN8vcDMmLvn+Wlf8yr/GQaMMplavQOMCphp7JYEyjUtP+SRCU5WDreQTnj1+UsmF3r8qgzTTHwvR9KYJmhZIrGEExpJKYJYitMCJcTC+gNC82gn0ntEV71GcbN4BtAmDz5058k/ReYVa41e/QkONPeMbAS4uZYBETQot3qF9LxLjL4SfpL37B46nG3hNk2l6BKfPUjlFi9hvTUiAm6vwAOWiBvBsIngXzjbHlsoihTcPOmuXY5Hc=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BYAPR11MB3207351F5FA437DD807E576BC0079BYAPR11MB3207namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3207.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 950117cc-6959-4ed0-c8a9-08d9375e3864
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2021 22:20:06.0899 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 8uaqrncyqoC1JWx7z6qnlb6/cmZ66jR7rSIwnE5nGPYkpcpQrsrEDEo+k6iz4SEm6a5UYh2npl9yVDSFx7zoAw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4894
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.21, xbe-aln-006.cisco.com
X-Outbound-Node: rcdn-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/Q6O9LY9tQEpTjfMCqFFndRijqZc>
Subject: Re: [Idr] Bug in RFC 7911 (add-paths) and tie-breaking
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: Thu, 24 Jun 2021 22:20:20 -0000

Then the code would have to compute the attribute length for each path, carry it along and pass it to the bestpath compare function.
For what? To increase convergence time?
Because simple byte length will not be good enough and people will start arguing that
an extended community is just as valuable as a regular community and count the number of communities
rather than bytes and then the tunnel attribute is longer and on and on.
I vote for path-id.

Regards,
Jakob.

From: Idr <idr-bounces@ietf.org> On Behalf Of Robert Raszuk
Sent: Thursday, June 24, 2021 1:40 PM
To: John Scudder <jgs=40juniper.net@dmarc.ietf.org>
Cc: dwalton76@gmail.com; idr@ietf. org <idr@ietf.org>
Subject: Re: [Idr] Bug in RFC 7911 (add-paths) and tie-breaking

John,

> because it’s technically possible to receive two routes for the same destination, from the same peer, with different path-id, and with all tie-break metrics the same

While this is not about risk of loops, those paths may possibly contain different optional attributes otherwise they would be rather duplicates.

More specifically one of them may contain additional optional attributes while the other may not.

Perhaps with add-paths while we are at this discussion it may make sense to choose the path with a longer list of BGP path attributes as such path may be more useful to receivers.

Only then when the number of such attributes  is the same fall to path_id as tie-break.

Thx,
Robert


On Thu, Jun 24, 2021 at 8:15 PM John Scudder <jgs=40juniper.net@dmarc.ietf.org<mailto:40juniper.net@dmarc.ietf.org>> wrote:
Hi Folks,

Claudio recently pointed out a bug in RFC 7911 to the authors, and we thought we should let the WG know. The gist of the bug is that the tie-breaking process is underspecified, because it’s technically possible to receive two routes for the same destination, from the same peer, with different path-id, and with all tie-break metrics the same (all the way down to peer address). My guess — but it’s only a guess, I haven’t checked — is that implementations may mostly have chosen to prefer the first path received.[*] But the only thing we can say with confidence is “it’s underspecified and therefore implementation-dependent.”

When I worked through this, my conclusion was that whatever option an implementation chooses should be safe, since by definition the paths are equivalent all the way down. I don’t see a way to form a loop even if every router in the network makes arbitrary — and conflicting — choices in this situation, since by definition of IGP distance, if a given router A makes an arbitrary choice, none of its neighbors when presented with the same set of routes will make a conflicting arbitrary choice, since the options are:

- The peer is closer to both destinations, in which case it can make any choice it wants, the traffic will not loop back to A,
- The peer is further from both destinations, in which case it can make any choice it wants, the traffic will not loop back from A,
- The peer is closer to one and further from the other destination, in which case it isn’t faced with a dilemma, it will choose the closer (and the traffic won’t go back towards A).

I guess if you’re in a network that doesn’t have IGP distances at all (maybe everything is static routed?) or if IGP distances don’t follow the usual rules of IGP “physics”, then you could create a problem. But those are pathological cases where we’d expect BGP not to work very well anyway.

Claudio suggested that path-id would be a good final tie-break; that makes sense to me. We could do a quick update to 7911 to standardize this new tie-break, we could do a bis of 7911 to include the new tie-break, or we could just leave things as they are, relying on my argument above that says there is no strong need to standardize a tie-break since any choice is OK.

For the moment, this is just an FYI for the WG. Thanks very much to Claudio for pointing out the bug!

—John

[*] You may notice that it’s possible to have two such paths packed into the same update in some circumstances, which makes the choice even more arbitrary since it’s pretty notional to say one has arrived before the other.
_______________________________________________
Idr mailing list
Idr@ietf.org<mailto:Idr@ietf.org>
https://www.ietf.org/mailman/listinfo/idr