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

Robert Raszuk <robert@raszuk.net> Sun, 18 February 2018 10:57 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 33A38126E01 for <idr@ietfa.amsl.com>; Sun, 18 Feb 2018 02:57:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level:
X-Spam-Status: No, score=-1.399 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_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no 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 PKi7uzvH_Gu8 for <idr@ietfa.amsl.com>; Sun, 18 Feb 2018 02:57:17 -0800 (PST)
Received: from mail-wr0-x230.google.com (mail-wr0-x230.google.com [IPv6:2a00:1450:400c:c0c::230]) (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 D9DDB126DFF for <idr@ietf.org>; Sun, 18 Feb 2018 02:57:16 -0800 (PST)
Received: by mail-wr0-x230.google.com with SMTP id u49so2210159wrc.10 for <idr@ietf.org>; Sun, 18 Feb 2018 02:57:16 -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=RLlyF1fpuN24dvbrndK6xvsz7keGaL3qWHG+CmZ1jSc=; b=qay+TsaE4ETiu/B4N/TgsXiQJDIntpYXoGhc7czbkPSGLJGA4FyKhJEQGNJH/mJrpC tqieq7AI/clfMphdWT6L7Ed8zq61pqesB8cyCRAJHN2hkXykmvNPh0mZsZYXittB0tDS 59lZ2N9M8lM8wQ8iAP0775jyivnYExKyIdZchGSWf0GKLWhW3WyaIYaaywCc2PYlajwe l9bbN+NZ4n2adBgfsnAjV/OSRPnUrgmNNkKZc82dasbzCGTKcJdRkOXzOhk1ZT51SSiH wXft3F7hUJY2ntWIUeV2a57+KcvPQXmVkrPCky0eKDh1aUm23jnYmM+1UNX2qFgc0bV1 VK5w==
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=RLlyF1fpuN24dvbrndK6xvsz7keGaL3qWHG+CmZ1jSc=; b=PERkloGL+ElT5txL0zOv/K+lhl2KEKiw/k/9gUOY87HBtmsDnpmWelnyslg/ktVRqP HSuHTlXNX9wVdICKCU1WgWeNJLIc1ZwXnIo0FpzcaUEAgvSXSLXUF6u4gDHgRumyQIje 4b0p1GLCCS91JcFBt20n9bAK43xkjGa8ekfTrjEDfp+gwq7QXsevUwYwDzdnmAPWwCYz 7pPxQJCXKTvbq7gZFmyRnD7fyvYInBuTJXJnJrrV0uZ2fRQvGMJGMXUiGH5dkHeqSROp k+SQQxtSI70UMsDQvRmdWl9358hoemji0TPemFwimqRednL6tjvoUaO2MWm839jefq+K 0MqA==
X-Gm-Message-State: APf1xPCAonbGDfKOzyQDRQu+Dga72UOiqUabxQPCwh+MmsK/872aHLKF CVo5XXaUN1xs8Tau+rsHYh13ShJ6ujIsMr65mPQ=
X-Google-Smtp-Source: AH8x2268zxy1GvEO3HekNpA6uSyQ/rqozxFVSs2Myg8s2GX/Ty3knd0sktTE1Jt8PwZPD/TaL8e5konIK/Z9wjYWhU8=
X-Received: by 10.223.162.144 with SMTP id s16mr10164914wra.173.1518951435026; Sun, 18 Feb 2018 02:57:15 -0800 (PST)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 10.28.0.7 with HTTP; Sun, 18 Feb 2018 02:57:14 -0800 (PST)
In-Reply-To: <637F72B8-914C-4EC4-AB96-5949E1F1FFA6@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>
From: Robert Raszuk <robert@raszuk.net>
Date: Sun, 18 Feb 2018 11:57:14 +0100
X-Google-Sender-Auth: n1qBkg-BjUOCUi9y4mm-G3l8hk8
Message-ID: <CA+b+ERmWxbdsKFFESB_10Z2j4OjaZi45XbBFXjZwKFjf=X1GiQ@mail.gmail.com>
To: "Acee Lindem (acee)" <acee@cisco.com>
Cc: "idr@ietf.org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="f403045ea08eb745f405657a7087"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/IP6Q4oN5YJnxdha3_2pxFxqD_A0>
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 10:57:18 -0000

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.