Re: [Idr] Review Updates to draft-ietf-idr-bgp-prefix-sid

Robert Raszuk <robert@raszuk.net> Sun, 18 February 2018 17:34 UTC

Return-Path: <rraszuk@gmail.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 C5C46126D73 for <idr@ietfa.amsl.com>; Sun, 18 Feb 2018 09:34:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 M4QZ6hQq9wnB for <idr@ietfa.amsl.com>; Sun, 18 Feb 2018 09:34:58 -0800 (PST)
Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79F61126D3F for <idr@ietf.org>; Sun, 18 Feb 2018 09:34:57 -0800 (PST)
Received: by mail-wm0-x229.google.com with SMTP id v71so11165745wmv.2 for <idr@ietf.org>; Sun, 18 Feb 2018 09:34:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=w9R9qZ1aLH20vr2egIIWsTT11T4NAiAjRB/Jlvu8B0Y=; b=KMLP9njsPquapGU6kK1I9r7dRg0JlvZ3zOfh88gaoSzGgm5uBBdHaMmFFLiAR9tMTT OjkT6CcO3k2ykXDv2Vflxq078hbfcE5p7gKblThe+zkixuabXJ6VKLV74WOKw+hCVhV7 WotkBRJoG0dW7PeSF8ZQeV7RZTzxMqlzmd8l42qSaM2ADlwHxFRiUFUVoTt2Ef1dSxqx 1dL45Ee8Di6jDO/In/1JYXRXaJtAfOqdHa3Pz5JINDcyVhsYqHsoes4/vzp8Eyg6XZrF OTHMnbVfAfNUDvO6mfxhjehJ3VIgeNW9EZIs8uBQLngFFng4NHqUcJI+0rrQihB34mJa u6dQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=w9R9qZ1aLH20vr2egIIWsTT11T4NAiAjRB/Jlvu8B0Y=; b=IdOLEQ/SSseYoRL3CPrkMP/8TCww8cNfjPD5T39Spm3GXGe31n9zbgxT4LYo40Us8z 2diG6qBMCnFFWoEm2yS+zjQsy67lgkiD8Qvb5shG05i+CzN67bsotaANlO2qOePKKhEi fTrZepeAbubJZ7hNR0j/u5Q1k1M+BJJfJ+YZ1wJ57r3OAr718oIsTbJyc5uG/VSzGKim qrVgbu/auYtU5qWXBllmKtOT9av9EeqDy8vaJ2A6PEgX0ukGuqUf4RtwjWC+uk6LQBCH SOlCSc1LDpYkW0CNa0Blo9r9soGwwgjXUbY+tn8yM7t32O+rY5CacqdxakmUIFPZ+dhT WPoA==
X-Gm-Message-State: APf1xPAPMrCqMw+P8Mw4/9Q8mQHbK8IwQEW2u1NOtTEzsAT9bkcc01v0 jYxMGHAfYmYCpe52tOZSBZKOqc2DW1gGwbNQCrZxpQ==
X-Google-Smtp-Source: AH8x227/6EEM9uyGylekitGUlJ4PdUfCpWW8nFRknUSu+jCkQ4kvdYDI1jo1bRMJInDyTk5ilaUBgyV78jBSZ5SB+u8=
X-Received: by 10.28.245.3 with SMTP id t3mr9019759wmh.134.1518975295704; Sun, 18 Feb 2018 09:34:55 -0800 (PST)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 10.28.0.7 with HTTP; Sun, 18 Feb 2018 09:34:54 -0800 (PST)
In-Reply-To: <0662380165004d7ab970ded0d5b00c8f@XCH-ALN-008.cisco.com>
References: <CAMMESszyqjqm+m3J00GWG1Dw0OjYdo-GGXePxcWvyBp4sgtm6Q@mail.gmail.com> <C46BE9FB-AA2E-49BC-8942-579020733FF9@cisco.com> <CA+wi2hNOnGPXv2rp7i4=gBet=nxii2kDgqfVv-yHTC6f8AK8Jg@mail.gmail.com> <790D778D-19CF-4A2E-81DD-547C69E2E7BF@cisco.com> <CA+b+ERmtDnL2h19=T7F+hhNgxmEWuf=xSTSQbuuqy4RSUHPCsQ@mail.gmail.com> <637F72B8-914C-4EC4-AB96-5949E1F1FFA6@cisco.com> <CA+b+ERmWxbdsKFFESB_10Z2j4OjaZi45XbBFXjZwKFjf=X1GiQ@mail.gmail.com> <0662380165004d7ab970ded0d5b00c8f@XCH-ALN-008.cisco.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Sun, 18 Feb 2018 18:34:54 +0100
X-Google-Sender-Auth: XXjZwZ5F7QUoI6owPRxqmnC3iu0
Message-ID: <CA+b+ER=uobn74jzzz65KfaMgWpoK4kNpOKUrDvDTynALsWx9Bw@mail.gmail.com>
To: "Ketan Talaulikar (ketant)" <ketant@cisco.com>
Cc: "Acee Lindem (acee)" <acee@cisco.com>, "idr@ietf.org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="089e082f8844ec579005657ffef7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/LVOoSyy7GhwybKsfOs06EGFyqzc>
Subject: Re: [Idr] Review Updates to draft-ietf-idr-bgp-prefix-sid
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.22
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: Sun, 18 Feb 2018 17:35:00 -0000

Hi Ketan,

Sorry for mixing two different and independent comments together in my msg
to Acee. One is about "first prefix selection" and let's keep it separate.

As far as anycast point I was talking about anycast SID/index not anycast
prefix. Yes for IP anycast prefix must be the same across nodes. But for SR
data plane I don't see this as such strong requirement.

Imagine R1 and R2 advertsing P1 and P2 with SID S. If you force that P1 &
P2 must be the same you must enable multipath on all the nodes to install S
with both next hops into dataplane.

Contrary if you allow same SID to be installed with different next hops
when it comes with different prefixes you don't have to worry about
multipath being enabled anywhere :). After all it should be up to operator
to decide how he wants to advertise his MPLS indexes.

Remember for mpls2mpls date plane what prefixes are advertised as part of
NLRI does not really matter ...

Anyhow I have a feeling that this discussion belongs to SPRING not to IDR
so let's move it there or take it offline.

Cheers,
R.


On Sun, Feb 18, 2018 at 1:16 PM, Ketan Talaulikar (ketant) <ketant@cisco.com
> wrote:

> Hi Robert,
>
>
>
> I do hope this is not an open surgery of the draft J
>
>
>
> Regarding Anycast prefixes, my understanding was that this, by definition,
> means the same prefix being multi-home and originated by more than one
> routers. I did not follow anycast with different prefixes.
>
>
>
> Also, the handling of anycast involves either of the following:
>
> 1)     Pointing to the “closest” (best on whatever the decision process
> of the protocol involved) originator of the prefix, OR
>
> 2)     Doing load-balancing between the multiple originators (when this
> is possibled/desired).
>
>
>
> So I am not sure I understood the relationship of anycast to the conflict.
>
>
>
> Thanks,
>
> Ketan
>
>
>
> *From:* Idr [mailto:idr-bounces@ietf.org] *On Behalf Of *Robert Raszuk
> *Sent:* 18 February 2018 16:27
> *To:* Acee Lindem (acee) <acee@cisco.com>
> *Cc:* idr@ietf.org
> *Subject:* Re: [Idr] Review Updates to draft-ietf-idr-bgp-prefix-sid
>
>
>
> Hi Acee,
>
>
>
> Since we are at the open surgery of this draft there is one more point
> which did not got resolved during our offline discussion. Feedback from WG
> is welcome here.
>
>
>
> The draft RECOMMENDS the following procedure in case of a conflict:
>
>
>
> ... it is RECOMMENDED that the first prefix using the label index is selected.
>
>
>
> In BGP there is no guarantee about ordered delivery of BGP prefixes.  It
> may work such in some specific topologies but not in any arbitrary one. So
> if we recommend to pick one prefix on R1 and different prefix on R2 and
> install in forwarding the same SID for those I am afraid the data plane
> will get quite severely messed up and even finding it during
> troubleshooting will be quite hard.
>
>
>
> Also as pointed out already MPLS anycast SID may on purpose use the same
> label across nodes according to draft-ietf-spring-mpls-anycast-segments-02.
> Now if we want to accomplish the same in BGP we would need to advertise
> different prefixes with the same SID (in MPLS-SR index). the above
> paragraph does prevents that. Note that adding and advertising the _same_
> prefix from different nodes will not work as BGP speakers may pick only one
> (best path) and use it for forwarding. IBGP or EBGP multipath may not
> always be enabled/use same set.
>
>
>
> The crux of the issue when advertising SIDs in BGP is not so much about
> prefixes, but their next hops which unfortunately the draft does not even
> mention once.
>
>
>
> Kind regards,
>
> Robert.
>
>
>