Re: [Idr] draft-chen-bgp-redist-01.txt
tom petch <ietfc@btconnect.com> Mon, 05 July 2021 16:25 UTC
Return-Path: <ietfc@btconnect.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 5E28B3A1D55 for <idr@ietfa.amsl.com>; Mon, 5 Jul 2021 09:25:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 8lwkVHKe2aiw for <idr@ietfa.amsl.com>; Mon, 5 Jul 2021 09:24:59 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70133.outbound.protection.outlook.com [40.107.7.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D3C443A1D51 for <idr@ietf.org>; Mon, 5 Jul 2021 09:24:58 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bCjrq3dQek11DP9bGdrBhoiwkrBOMr+qlA4FUxUF3wniqC4/8LJ8ZtplZIQlLI6GTZH1q67rVRPQzLYCPXlw39repXcZPvNEYzLiFGifC/9fMU4UkyEoi1Gxodu5B+NkKU1QUnPHxZvGcAWH6O59zwVNvW/5kSZMCdSygNVM9jkmtT/yN59nrpZ1BlBFNBCWjHuyaMSofBH2S5gV+tjQ7FkYUMOqPFyT1keDlR3Q4t7YdiuLll+HeZ3vaOrSlRQsL+6wl3ScneaZDzdwUp8eRnsAMBX3rqQAptlayoqBrp5H2nju/PLuY5bPGDKSzpZPr4hMnqjp1bKpSZtkui1MPA==
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=NY7tZdtS3v56mjdDeXuzTvey7YeWjUZ1DDWUMso3iuU=; b=YSczEbXairIGE77GsPFj7Zx3oaCVZaqhPZ9QldiTZXTXSvhAuQos33icgpDpR+LnNEWND8qFXJkKdEPfWaawzz/kmvuCT5gL6wrrTI30ds20ytKDEl+HQopxEuDnEnTkWvsjSjlPpK5WxgJclUJNvEWX/DTNCFknZI+TkLP7BMZFnIIBDtx/e0iFYgpQ/My6F6GaQIwH61qCxdCDnEdkmQVGD/58+RV2pxPPLTrX44YLuiUwB/YNPQuX34yb5VRgmp50ft2DR+bNhwUmSGzlsYFX0gXESSeeswitkWgF4m+uXTlPdr0UirqJ63zXYzCcJ3uiOlIRf5LJnS1EHy6keA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NY7tZdtS3v56mjdDeXuzTvey7YeWjUZ1DDWUMso3iuU=; b=YHe32F+po9DG/E0V0ERbylg24bgFMmu6JWS8Jp4tFopy6KuYMI5hH4oNHIrNCTQJCn5LfOhHvbVmbg3yVU/h065fZg51FaoNA+KSpsMtmMEnNqcZRUuV6vSqbtOTJlCQgHe2Gr6zSdGaAlTRZz+xll5YE0I/Rh4gEhGP2RBAoTI=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AS8PR07MB7622.eurprd07.prod.outlook.com (2603:10a6:20b:2ab::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Mon, 5 Jul 2021 16:24:55 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::fc5d:ca7a:e2ea:ca9d]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::fc5d:ca7a:e2ea:ca9d%9]) with mapi id 15.20.4308.019; Mon, 5 Jul 2021 16:24:55 +0000
From: tom petch <ietfc@btconnect.com>
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
CC: "idr@ietf. org" <idr@ietf.org>
Thread-Topic: [Idr] draft-chen-bgp-redist-01.txt
Thread-Index: AQHXbQo0E8VB1g3qmEqgkzNOFn9+OqsrajOAgAC8HwCAAkYYgIAADpQAgABb94CAAAkRAIAABfuAgABYOwCAACb2hYAAwWmAgARzQRs=
Date: Mon, 05 Jul 2021 16:24:55 +0000
Message-ID: <AM7PR07MB62480E63A1509DD054529C05A01C9@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <CANJ8pZ_2yk666tSca818-e0YdziKjK3dMqhopOtYAP3vKXTEmQ@mail.gmail.com> <CAOj+MME5zZeZDnhpfivbdKj00JwBzi9rjMmzBXxE_fFqkxEVpA@mail.gmail.com> <CANJ8pZ9Und3fF324tzTAkhrMFV0MZfhHYfZussiYSCNUx-n_Hw@mail.gmail.com> <CABNhwV3BXk=+fuxVSg_9j+u+5Ffr+NQGE9P75NCPpTaUr5LqYQ@mail.gmail.com> <CAOj+MMFxM_yvrPDEyQ+dpO7ZxoiQKa0DE4ZQf763Cuidj76QXg@mail.gmail.com> <CABNhwV1q-H1pSypWCvA9VKXBZZTfM3nQNPktjbmbN0D=VSXpBw@mail.gmail.com> <CABNhwV29-t-N6EMmJQzOairgTB5jsPX1h6Q0e+akEgiA2cUpQg@mail.gmail.com> <CABNhwV1QAR8qHdP+rSTOk3eRU5A5tMAfWFFyqXYPQteHtoNyBg@mail.gmail.com>, <BYAPR11MB3207B8AE524F71ED25590B94C01F9@BYAPR11MB3207.namprd11.prod.outlook.com> <AM7PR07MB6248B0D69C861D1898EBE921A01F9@AM7PR07MB6248.eurprd07.prod.outlook.com>, <BYAPR11MB3207B35CA69BD68E144D1878C01F9@BYAPR11MB3207.namprd11.prod.outlook.com>
In-Reply-To: <BYAPR11MB3207B35CA69BD68E144D1878C01F9@BYAPR11MB3207.namprd11.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6caef571-dca3-4e86-159c-08d93fd16ca9
x-ms-traffictypediagnostic: AS8PR07MB7622:
x-microsoft-antispam-prvs: <AS8PR07MB76228AA823C523DD1B74BB9FA01C9@AS8PR07MB7622.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6430;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: w7Ntmcq3/NDixHvVmJvDKgPkQY25iOmv5YHGHoma2RekxIKyLcW3NtVlVct5Q8SHl0FwxlwBmNuO1ii8XzrWqtjCPRNk2B8jCvGc4Ol9kYIQSyWBlhRQ5YOssYHiJbuZsb267YbgdrF9nfiJyb8VnlA0xrf+BgYDa7WiW9GjXuHovPRQjxY+c+33pYXpa2EltFZZTBhlWOMDQPL8uFgiYZR4K6yLczUP/vti276m4CTSZRXe7Xzi+kfkVy0RnmSRXHFPJK6sGdTKXxbJ9Bx6c30ofl8l1cMUiZsQFeP75UmyLZ1bMSVIDiDw1fHGnpHJve1DZwW3fKIa/dyz3k5/b3FnK5yjofX0mNlH+lErU/B1U9LUmwzFabSMRL+z8zQfKDFmbCVws3QLMILFgQP6n8DTIS/o/1Yd+PF8szJMm0TYrAewmuwPtjMCpEKa35u+oZ5ksR6nVOUZnhUDcKrP/JoLyDBix0tm/hrYDXmK12hvx2ULTk8j9EKpSN/o1SohZ3CMyCkS30c++sD4fNM4DNxCMMwFWBB5Z/FTYN/9b2MogqMFPd62+SpKIV1TNBa+9K6zmN5OwNmbPeHedamqGhnfw6Yzx77d/cofJL373IL3dQeIJzK/SOavvbU7hIOtYVeOguxiqWzDufT1JV2P076uVG5siB+k2qOj5OxSjEW4ECFJnxnH8VGCIoJfnmoOokVKrvXLxVPV5kVOVk8CZXjpghMmnopNqBj//k0OFkUu9WvAjhGElkJDdRRfE2jf+aR2CU/RT+/JDc3yUB0TwQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(39860400002)(136003)(366004)(346002)(396003)(478600001)(966005)(5660300002)(26005)(186003)(7696005)(2906002)(71200400001)(4326008)(6916009)(316002)(66446008)(30864003)(64756008)(55016002)(52536014)(9686003)(8676002)(53546011)(33656002)(6506007)(76116006)(66476007)(8936002)(66556008)(91956017)(38100700002)(83380400001)(122000001)(66946007)(86362001)(66574015); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 70ky2GXIPTqPIgk18KQmFwi0C65W6PrNrAZi0l0rxw4O99lK4voqoRp6QyxAR3Wug1CWq6VCcotrdlKYErfCZ/tse9slU9bQSV61duiMi7zQUd3l5UGPSZwDDTfLZNv8pDlfMB/DB+IpvL+5iKmI98FiB8i58WVrScflqHHL0J9Ro9jCxPguHsZO62bNVSXF1sibzd7/hkepaVxWEdZEa3X9+W8u6DIXMeAHeafNyG/7lJgryaV4IEr9mJw5/upviPrjWS/lGFjNDP+4KhYnsPhCS34enQBmsupFUIAXyxMTGMrsYh6LCdeLkxBQ1s47GCURoszSw1eLNwxP8/SsnGUMC6UVtIH/HeTjvTZ3hjNpl3WzOWXEO4K5+5ozHVHVJF7aBWcRoFcHY/lo5xwQtivS5UuChkBWIzX4eYvW9l7o0ZHF4vsmWeTZHaBBwksnk4Zya8EDAjxUFhSSw+FMtYZVACl4NTZswjfkwM3Qk19ArtVUjWDbor8J7+wtiQ5Q8ujpiO+eeRwKjrjnE8RhkscHHsvhLgZUw27LMJwMFkjzhry8d5aRjegQ1g5x6pOq/NoAw5Czme4xlsNAb5JaKNdk817w/tN1qop6usxdXw6mf3+1R/ALgtMnG1IBkujJBrpKtEvEcqLCKl6Evcchet7UaJSVfq3IJX1osqeWg+mMO4G3dCp7IA0aSeIAWqUrGOA8nEUF9tmlZw+ib0eMtbdGu1E+Do6d/BExBxvBdcIZWj0NIA757fvssejpYN2B/XHOABemeTENTyMVI0PQnuvgQ9ww94Rdq9TtkBiXpHci/t061R/jdoJ+HenqCjVHyPLz5nmGJy4ANNirm+A0tEYJTtSTt1Ckow14gDRx5R0f9nVfQ+iGfIBtOb3h8jvAhb4O7WdbNxw/zsAXm3dBEhT3TfdLBO7TpHq6arht/oX/UhLTC7wuwcxneJvpsBgGzJcKJAA4njkBCY037yhJDDjVjIj28IxO30aGCbjKjQ6NwVRizxTL3nJ6d7dRc33pOvBnkeirKSpl/FZCDUMpuQsAfkghJ9l0IRbo6wjT5iSYB9MeLVq+hor0+F1E/V9feco1m1D0rAYpJyFaXLWL0bhoWuTZa145GTm3doMLPBj5LSGCAfNXQIm2hDzmn1vD9eoBI+aTPaVZWfVgcNrjIGn4LKrsGlltEbhgr5CEDs8QXc5LWb9rv6qDDHJ/gQuXcoEPizs8yE7s+SbtB9B2mQlIhbLzsbN196nIdO7zpZsihP//MBKq8MhyGvTIGiLmMdZTLO/vXi/20s7BuVvdtxnIojkbqSynYv9yRFN7uKM=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6caef571-dca3-4e86-159c-08d93fd16ca9
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2021 16:24:55.1987 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: YlU53WNrRAzQ7iYjY+6Uk1fBofWBMGU/CA+dDo4OZe1SsbTNAAuUrX3kyuyG+X2Z8H4dpyzaE2ZBjIz2Y3HD2w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7622
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/eJtAgfWV_HJNkoTKytSc5CmcpDI>
Subject: Re: [Idr] draft-chen-bgp-redist-01.txt
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: Mon, 05 Jul 2021 16:25:05 -0000
From: Jakob Heitz (jheitz) <jheitz@cisco.com> Sent: 02 July 2021 21:25 Thanks Tom. You complete my search. <tp> Almost. It also appears in bgp-model as adopted by this WG and so is closer to home, but then the I-D is expired which is how come I forgot it! Tom Petch Regards, Jakob. -----Original Message----- From: tom petch <ietfc@btconnect.com> Sent: Friday, July 2, 2021 2:21 AM To: Jakob Heitz (jheitz) <jheitz@cisco.com>; Gyan Mishra <hayabusagsm@gmail.com>; Robert Raszuk <robert@raszuk.net> Cc: idr@ietf. org <idr@ietf.org>; Jenny Yuan <jyuan@paloaltonetworks.com> Subject: Re: [Idr] draft-chen-bgp-redist-01.txt ________________________________________ From: Idr <idr-bounces@ietf.org> on behalf of Jakob Heitz (jheitz) <jheitz=40cisco.com@dmarc.ietf.org> Sent: 02 July 2021 07:33 To: Gyan Mishra; Robert Raszuk Cc: idr@ietf. org; Jenny Yuan Subject: Re: [Idr] draft-chen-bgp-redist-01.txt Admin-distance is not defined in any RFCs. It is a vendor only concept. <tp> I encounter it in (at least) RFC8349 RFC8022 ospf-yang Tom Petch I can speak about it from the Cisco IOS-XR and Redback perspective. In both of these implementations, RIB and BGP are separate processes with separate memory spaces and their own routing tables. Routes are passed between them using inter-process communication messages. They cannot access each other's routing tables. Other routing protoclos, such as OSPF, ISIS and static are also separate processes. Each of the routing protocols downloads their valid routes to RIB. If the same IP prefix is sent to RIB by multiple routing protocols, RIB will select one to be used for forwarding and resolving nexthops. RIB uses admin-distance to decide. Routing protocols get their local routes from RIB. A static route has admin-distance of 1 by default. However, a static route can be configured with a different admin-distance. It is possible to configure a backup static route by configuring a high admin-distance for it. In that case, if another route is found for the given prefix by another routing protocol, say an ISIS route, then the ISIS route will be used for forwarding. Only if the ISIS route disappears will the backup static route be used. Now, suppose we want to advertise that prefix in BGP. We can do that with a "redistribute" statement or with a "network" statement. They work a little bit differently, but either command will import the route from the RIB into BGP. Once the route is in BGP, it loses its admin-distance. BGP has no knowledge of the admin-distance that this route had in RIB. There is no admin-distance in section 9.1 of RFC 4271. This is the root of the problem that Enke and Jenny are trying to solve. The problem occurs if the same prefix can be learnt by BGP from a BGP peer. BGP may download it into RIB. The draft addresses the different outcome if BGP learns the route first from it peer or learns it first from the local RIB. Regards, Jakob. From: Idr <idr-bounces@ietf.org> On Behalf Of Gyan Mishra Sent: Thursday, July 1, 2021 6:18 PM To: Robert Raszuk <robert@raszuk.net> Cc: idr@ietf. org <idr@ietf.org>; Jenny Yuan <jyuan@paloaltonetworks.com> Subject: Re: [Idr] draft-chen-bgp-redist-01.txt >From a network design POV, in general within a an IP transit AS their is no need to redistribute BGP into IGP unless their are non BGP speaking routers within the network. As for sourcing routes into BGP advertisement from a customer edge best practice is to originate the advertisement as close to the source routers as possible, and if it's a summary then use a network statement and if LPM routes are required then redistribution of IGP into BGP via policy is the best way but also as close to the source of the prefixes. >From a core perspective IP or MPLS it is common to redistribute connected or IGP into BGP global table still separate from customer traffic in SP operator core where MPLS any-any VPN VRF is used to carry Internet traffic and in that case the NOC may sit in the Internet VRF and NMS systems need telemetry access back to the global table. Kind Regards Gyan On Thu, Jul 1, 2021 at 8:56 PM Gyan Mishra <hayabusagsm@gmail.com<mailto:hayabusagsm@gmail.com>> wrote: Hi Enke I am still trying to understand the need for this draft. Their are two main methods to locally originate routes into BGP done at the customer edge which is via redistribution or network statement. When you redistribute routes into BGP the origin flag is set to incomplete. When you use a network statement with exact match of prefix installed in the RIB, the route origin changes to IGP origin. The pecking order for Orgin is EGP, IGP, Incomplete so if the routes is also advertised via network statement and redistribution by two different ASBR the best path selection will converge on the best path IGP origin via network statement over redistribution. Maybe that is the intention of the draft to prefer incomplete over IGP origin and that can be set via policy as well so that both are equal so load balancing can occur. At the bottom of page 2 below is stated as the premise for this draft. Currently the admin-distance does not play any role in BGP route selection. I disagree. Indeed AD plays an important role in redistribution or locally sourcing of prefixes into BGP advertisement. All vendor implementations do this the same way and that is that only the lowest AD source Of a particular prefix is what is installed onto the RIB and FIB. So when doing either a redistribution or using network statement exact match to source local routes into a BGP advertisement only the prefixes installed in the RIB that match exactly via network statement or if you have a redistribution policy matches the prefix and source protocol for the route being redistributed. Let's say you have a redistributing OSPF into BGP however their is a static route exact match for the prefix you want to redistribute that matches your redistribution prefix list however as OSPF has AD 110 and static had AD 1 default and if you are trying to redistribute ospf into BGP the redistribution will not work since the RIB has the static route as the source for the prefix installed in the RIB. Example of how AD plays an important role in how redistribution can or may not occur properly due to AD of the protocol sourcing the prefix And the protocol being redistributed must match or the redistribution will fail. I have noticed one issue with both redistribution and network statement which is problematic is that the IGP metric is passed into BGP as MED which is higher in the BGP best path selection which can result in sub optimal routing. The workaround is to reset MED to 0 with a policy. Kind Regards Gyan On Thu, Jul 1, 2021 at 8:23 PM Gyan Mishra <hayabusagsm@gmail.com<mailto:hayabusagsm@gmail.com>> wrote: The main protocols are BGP, OSPF, ISIS, Static Juniper https://www.juniper.net/documentation/en_US/junose15.1/topics/task/configuration/ip-route-administrative-distance-configuration.html Route Source Default Distance Connected interface 0 Static route 1 Internal access route 2 Access route 3 External BGP 20 OSPF 110 IS-IS 115 RIP 120 Internal BGP 200 Unknown 255 Cisco https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/15986-admin-distance.html Route Source Default Distance Values Connected interface 0 Static route 1 Enhanced Interior Gateway Routing Protocol (EIGRP) summary route 5 External Border Gateway Protocol (BGP) 20 Internal EIGRP 90 IGRP 100 OSPF 110 Intermediate System-to-Intermediate System (IS-IS) 115 Routing Information Protocol (RIP) 120 Exterior Gateway Protocol (EGP) 140 On Demand Routing (ODR) 160 External EIGRP 170 Internal BGP 200 Unknown* 255 On Thu, Jul 1, 2021 at 2:54 PM Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>> wrote: Gyan, > My understanding is by default most all implementations that I know of for example Cisco & Juniper which have use identical default AD Can you provide source(s) of your above information ? To the best of my knowledge they are quite different ... Cisco: [cid:image001.png@01D76ECC.FA73DD40] Juniper: [cid:image002.png@01D76ECC.FA73DD40] Except connected I do not see much of "identical default AD" And that is as the draft says especially important when your intention is to control active - backup paths for a given net. Thx, R. On Thu, Jul 1, 2021 at 8:02 PM Gyan Mishra <hayabusagsm@gmail.com<mailto:hayabusagsm@gmail.com>> wrote: Hi Enke My understanding is by default most all implementations that I know of for example Cisco & Juniper which have use identical default AD, redistribution of the route only occurs from the source protocol that is being redistributed for example static versus OSPF or ISIS based on AD. So if you have multiple protocols redistribution into BGP, the source protocol with the lowest AD is what is inserted into the default RIB/FIB and its that specific route from the source protocol that is redistributed into BGP. All implementations that I know of work that way. I don't see any issue with deterministic redistribution as exists today with implementations. Normally you are only running one IGP but let's say you are running OSPF and ISIS and you have a Juniper and Cisco ASBR redistribution into BGP, as OSPF has default AD 110, the OSPF prefix would be inserted into the Default RIB and redistributed into BGP. Let's say you set AD for ISIS down to 90 and now the ISIS route is inserted into the RIB and now both Juniper and Cisco ASBR Will redistribute the ISIS route into BGP. I am not seeing the issue that you are trying to solve. Kind Regards Gyan On Wed, Jun 30, 2021 at 3:19 AM Enke Chen <enchen@paloaltonetworks.com<mailto:enchen@paloaltonetworks.com>> wrote: Hi, Robert: 1) Usually the default admin-distance is configurable. Having the same admin-distance across implementations would certainly make things simpler, but that is not required. What matters is the local_pref value for the redistribute backup route: local_pref = default_local_pref - delta; It needs to be in the right order (relatively) for the "role" the route is supposed to play. It's a good question. We will try to clarify it in the next revision. 2) Certainly it would work if we define the "delta" (or "local_pref") for the redistributed route based on its role (e.g., primary, secondary, tertiary). But extra config would be needed for specifying the "role". The algorithm described in the draft does not require additional config other than the existing "admin-distance". When more than two paths are involved in a multi-vendor environment, the admin-distance needs to be carefully assigned in order to get the desired local_pref value. Thanks. -- Enke On Tue, Jun 29, 2021 at 1:05 PM Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>> wrote: Hi Enke, How do you assure that admin distance is the same or delta would be the same across implementations ? Looking at say junos I see quite different values then when comparing with other implementations ... https://www.juniper.net/documentation/en_US/junos/topics/reference/general/routing-protocols-default-route-preference-values.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.juniper.net_documentation_en-5FUS_junos_topics_reference_general_routing-2Dprotocols-2Ddefault-2Droute-2Dpreference-2Dvalues.html&d=DwMFaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=OPLTTSu-451-QhDoSINhI2xYdwiMmfF5A2l8luvN11E&m=iUboWFiSpP9QvSDj9hoG8_DO7R_8EOQvfEHnwyX-mc0&s=GOhXjwEf1z0GAfIQVgVAc4sHvcAog6czTO30VhKwzQk&e=> Would it be simpler to define here verbatim what the local pref should be for redistributed routes ? Then at least those could be used as default local pref values unless overwritten by operator's policy during redistribution. Thx, Robert On Tue, Jun 29, 2021 at 7:14 PM Enke Chen <enchen@paloaltonetworks.com<mailto:enchen@paloaltonetworks.com>> wrote: Hi, Folks: Apologies for the very long delay in updating the draft: https://datatracker.ietf.org/doc/draft-chen-bgp-redist/01/<https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_draft-2Dchen-2Dbgp-2Dredist_01_&d=DwMFaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=OPLTTSu-451-QhDoSINhI2xYdwiMmfF5A2l8luvN11E&m=iUboWFiSpP9QvSDj9hoG8_DO7R_8EOQvfEHnwyX-mc0&s=IBn3kTJmGrWISvSq8L3M9GLLamXIqw7t2PvEdtvhmos&e=> The issue still exists, and shows up from time to time. The revised version provides a complete solution that covers the use cases involving a single router as well as multiple routers in a network. Your review and comments are welcome. Thanks. -- Enke _______________________________________________ Idr mailing list Idr@ietf.org<mailto:Idr@ietf.org> https://www.ietf.org/mailman/listinfo/idr<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_idr&d=DwMFaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=OPLTTSu-451-QhDoSINhI2xYdwiMmfF5A2l8luvN11E&m=iUboWFiSpP9QvSDj9hoG8_DO7R_8EOQvfEHnwyX-mc0&s=O1wpTf7XmDmE4-mQGDJ9YNEx2UVZW-k1meY3fd-tQrE&e=> _______________________________________________ Idr mailing list Idr@ietf.org<mailto:Idr@ietf.org> https://www.ietf.org/mailman/listinfo/idr -- [http://ss7.vzw.com/is/image/VerizonWireless/vz-logo-email]<http://www.verizon.com/> Gyan Mishra Network Solutions Architect Email gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com> M 301 502-1347 -- [http://ss7.vzw.com/is/image/VerizonWireless/vz-logo-email]<http://www.verizon.com/> Gyan Mishra Network Solutions Architect Email gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com> M 301 502-1347 -- [http://ss7.vzw.com/is/image/VerizonWireless/vz-logo-email]<http://www.verizon.com/> Gyan Mishra Network Solutions Architect Email gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com> M 301 502-1347 -- [http://ss7.vzw.com/is/image/VerizonWireless/vz-logo-email]<http://www.verizon.com/> Gyan Mishra Network Solutions Architect Email gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com> M 301 502-1347
- [Idr] draft-chen-bgp-redist-01.txt Enke Chen
- Re: [Idr] draft-chen-bgp-redist-01.txt Robert Raszuk
- Re: [Idr] draft-chen-bgp-redist-01.txt Enke Chen
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Robert Raszuk
- Re: [Idr] draft-chen-bgp-redist-01.txt Brian Dickson
- Re: [Idr] draft-chen-bgp-redist-01.txt Robert Raszuk
- Re: [Idr] draft-chen-bgp-redist-01.txt UTTARO, JAMES
- Re: [Idr] draft-chen-bgp-redist-01.txt Enke Chen
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Jakob Heitz (jheitz)
- Re: [Idr] draft-chen-bgp-redist-01.txt Gert Doering
- Re: [Idr] draft-chen-bgp-redist-01.txt Robert Raszuk
- Re: [Idr] draft-chen-bgp-redist-01.txt tom petch
- Re: [Idr] draft-chen-bgp-redist-01.txt Jakob Heitz (jheitz)
- Re: [Idr] draft-chen-bgp-redist-01.txt Robert Raszuk
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Enke Chen
- Re: [Idr] draft-chen-bgp-redist-01.txt Jakob Heitz (jheitz)
- Re: [Idr] draft-chen-bgp-redist-01.txt Alejandro Acosta
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Enke Chen
- Re: [Idr] draft-chen-bgp-redist-01.txt Robert Raszuk
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Alejandro Acosta
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Gyan Mishra
- Re: [Idr] draft-chen-bgp-redist-01.txt Enke Chen
- Re: [Idr] draft-chen-bgp-redist-01.txt Enke Chen
- Re: [Idr] draft-chen-bgp-redist-01.txt Alejandro Acosta
- Re: [Idr] draft-chen-bgp-redist-01.txt tom petch
- Re: [Idr] draft-chen-bgp-redist-01.txt Jeffrey Haas