Re: [Idr] draft-chen-bgp-redist-01.txt

Enke Chen <enchen@paloaltonetworks.com> Wed, 30 June 2021 07:19 UTC

Return-Path: <enchen@paloaltonetworks.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 A83E33A1059 for <idr@ietfa.amsl.com>; Wed, 30 Jun 2021 00:19:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.994
X-Spam-Level:
X-Spam-Status: No, score=-1.994 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, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=paloaltonetworks.com header.b=Ddl6rH8I; dkim=pass (2048-bit key) header.d=paloaltonetworks-com.20150623.gappssmtp.com header.b=QFnit/yp
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 QNL1_HooQmhh for <idr@ietfa.amsl.com>; Wed, 30 Jun 2021 00:19:17 -0700 (PDT)
Received: from mx0b-00169c01.pphosted.com (mx0b-00169c01.pphosted.com [67.231.156.123]) (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 994C03A1057 for <idr@ietf.org>; Wed, 30 Jun 2021 00:19:17 -0700 (PDT)
Received: from pps.filterd (m0048189.ppops.net [127.0.0.1]) by mx0b-00169c01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15U77b5d021596 for <idr@ietf.org>; Wed, 30 Jun 2021 00:19:15 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paloaltonetworks.com; h=mime-version : references : in-reply-to : from : date : message-id : subject : to : cc : content-type; s=PPS12012017; bh=kdbmrngTLD6SAaCTi0YnWTxPEB83Z3AysDt+9V77pzE=; b=Ddl6rH8Ie+bzqaP6ZYhEoPxJecvC+2FyBKlKv5DLIO/IAcy1Qvh6FVpmFAyccBZBs67P H1p6143npwFQ+1sXmlWOJ8QvjwaE8tgLQQx/K2Foln0Zh68/zwvNl26og+82qsWMLlaC fPUWwn0p/XBkm2opQagnvviquF3Mwr7LVfwByHFbA1980OBoK2Zo8DCL/Mmu7y9vHmN5 ktkDu/BlSFZOCTsadIFigNHX5PMMoPnUWqWtu/qP/oj/aNWicdr5TOlce+Dla21J5eAr 5jAXwBiaZnQTIDdWw0VE8GIMkNqgiwsusUY7W0hUrOxcs3qDseNN3TzDL/wHTdUccLYe fA==
Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by mx0b-00169c01.pphosted.com with ESMTP id 39gc2dsjpr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for <idr@ietf.org>; Wed, 30 Jun 2021 00:19:15 -0700
Received: by mail-lf1-f70.google.com with SMTP id c20-20020a0565122394b0290328f0b3dcdcso455911lfv.7 for <idr@ietf.org>; Wed, 30 Jun 2021 00:19:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paloaltonetworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kdbmrngTLD6SAaCTi0YnWTxPEB83Z3AysDt+9V77pzE=; b=QFnit/ypCo7YW2dH3BQcTZ4kk0pqYNAI9KlvXZHalOt4il7hJTR07EBQdALZHUdGxE Jtp+VY3rQksg2Q/ezOHnpd55Gu3OscFZt/LWQSLLrGRe2WXDGvVC2mIbD7Ig9INuNG1Q dD97JRiQxI8Sp7QCP+JUS8XyQms8Dr00yXbR7zTBnCbXiKMmVZGFw6OjLr7vEbuAUQ9R OSMzcWkuPNcDabznRC3YPpNq5c7fJdTs1ZWyktDiPgX70D7dZ7BJ0jENsT4oEI6LChVW wu1XD0uP0VPdHMhS1k/VRtncJm1KhVTR+om0F/KIPbSoWH/Jjgv7+MBIwxk0uwYDsvYA Wwlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kdbmrngTLD6SAaCTi0YnWTxPEB83Z3AysDt+9V77pzE=; b=N5taTD8t7RyDGZQmRgMZapMIBcoAJBDnF+84xuseH3hPlRCfmqWFOuIELerIXsApCC U4LLYQii9SwyRNGMV6UpbNmmVYLiC7t8IsBO6ifXGRDo6lTho6FI1gg4UPRK1ORXz6SM VLSgCR644szm/frNVHbflqL+d09KIgR/yhrrGtU/Te6vOFMHVdzU4hap4eVOSVnsJNOB XqveztHDfNapFinQg0qYIyoZPpM6wM9Exnmsrli6nkpL4fvMJ2WZ/6s/wyELn+ZHnghm 8zARfVx/t/KyuqqWAUYNb3nfnLqQTSlRfrCHJfgDASZdFwQhBsyy93UcUTmtCiKcEj4D 7cAw==
X-Gm-Message-State: AOAM5319Dnw8qDAQ9+jKzWZFDOjo8GgtjEu89XHkroXeuMfrsUwT0b35 aQFqMFulpUNUjGHPJpZ9gbXRrl48d4meH+cf9V+oWYrnYN5E9YNwsch8FsXzy2950Zh2U4vhQI7 xb0mhuCosc3KgrvW3T/s=
X-Received: by 2002:a2e:b043:: with SMTP id d3mr6950649ljl.175.1625037553970; Wed, 30 Jun 2021 00:19:13 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJysG5TxAvFtyykOUEkl8V5CQfuAkQueTAmtFcoMYW2B8d1ArkwN6FRn3VhjGQMLF4PKm+2T5EC/80xmAzUnWu8=
X-Received: by 2002:a2e:b043:: with SMTP id d3mr6950638ljl.175.1625037553586; Wed, 30 Jun 2021 00:19:13 -0700 (PDT)
MIME-Version: 1.0
References: <CANJ8pZ_2yk666tSca818-e0YdziKjK3dMqhopOtYAP3vKXTEmQ@mail.gmail.com> <CAOj+MME5zZeZDnhpfivbdKj00JwBzi9rjMmzBXxE_fFqkxEVpA@mail.gmail.com>
In-Reply-To: <CAOj+MME5zZeZDnhpfivbdKj00JwBzi9rjMmzBXxE_fFqkxEVpA@mail.gmail.com>
From: Enke Chen <enchen@paloaltonetworks.com>
Date: Wed, 30 Jun 2021 00:19:02 -0700
Message-ID: <CANJ8pZ9Und3fF324tzTAkhrMFV0MZfhHYfZussiYSCNUx-n_Hw@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: "idr@ietf. org" <idr@ietf.org>, Jenny Yuan <jyuan@paloaltonetworks.com>, Enke Chen <enchen@paloaltonetworks.com>
Content-Type: multipart/alternative; boundary="000000000000212a2605c5f68a88"
X-Proofpoint-GUID: OFYrROpSPnVelXgWaAFdkK-sskpLZNlu
X-Proofpoint-ORIG-GUID: OFYrROpSPnVelXgWaAFdkK-sskpLZNlu
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-06-30_01:2021-06-29, 2021-06-30 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 impostorscore=0 mlxlogscore=999 clxscore=1015 priorityscore=1501 bulkscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 malwarescore=0 mlxscore=0 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106300046
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/orFtZ0oF7rupbI-XrBYf2LSVpog>
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: Wed, 30 Jun 2021 07:19:23 -0000

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> 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>
> 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
>> 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=>
>>
>