Re: [spring] I-D Action: draft-ietf-spring-segment-routing-policy-06.txt

Mark Smith <markzzzsmith@gmail.com> Mon, 16 December 2019 21:19 UTC

Return-Path: <markzzzsmith@gmail.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC9FB12092A for <spring@ietfa.amsl.com>; Mon, 16 Dec 2019 13:19:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.497
X-Spam-Level:
X-Spam-Status: No, score=-0.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 OM3I31KukyGt for <spring@ietfa.amsl.com>; Mon, 16 Dec 2019 13:18:59 -0800 (PST)
Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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 2FAC512092E for <spring@ietf.org>; Mon, 16 Dec 2019 13:18:59 -0800 (PST)
Received: by mail-oi1-x22e.google.com with SMTP id i1so4486432oie.8 for <spring@ietf.org>; Mon, 16 Dec 2019 13:18:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q64J391uVYlOCWfSyE/7mhNX4S9aqophCx9NlO80vNA=; b=KNeoN8t8c3yj59v7ksiTTMk40ls/rat3l6gLAA8e3pDGZTWKizET2aIea/X06bcFfU R0CWuUrY7Lh57Eq5p5B7HYltveuJHyf/blmkWBsuJh1/dp88R5q7tixyntANL5RKJi6c MUbQMin9Da1yJVt2XCvMR4+UoXwtuZbE2eNe7rHRRt9K/dDsEd9Oq+W56zTMSi7Sz2oD 6xG/vFot0iyv+aYR/vf09GbR+2yJhPsf5rYJCBEafeARYrN6Mhzg+VF61yC0/GdahG8Q vB9NooHilXjCfqs7F5J7PUaWrDy4Vf95i5SWvsbb5hFHzJUqyMNcFETqsKXsgd0EEJVs QbsA==
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=q64J391uVYlOCWfSyE/7mhNX4S9aqophCx9NlO80vNA=; b=NFQhoQhllZSmGOxtJCWsDgkGdiJWL84Gra/P4bp0jCjdilH2fZ1VuUMQas9rb1ephb jkQUyOcDOQSk0TtkaQ8OYvg6ilrOZ9Q/GAcTCctweY5t9DUosTIyAnHC9kBhgn9IcCRl t7D2vHCAMh4tF5ZfojJN5y89zZM4WSSTQ0rxR96awoYn31Ua3wAZWd/Hoon5zLTxpmE5 4JlTsA3fmvyx9ShuyzIkhb79MidBx+o1n7C3jOQIDTuaFVoGOcFdkquvOBeXlUeP2pfB 1UmL8+DMLHI+M3xLdpYtX6e0IUAoTxWw1ouTe3tKSwQfunkYLS3LMBrxwaStNWU1Xg8W PXAQ==
X-Gm-Message-State: APjAAAUOBpYAtiKJ6F+TL7mBfapR5M7w0S7y44pc8BGt5J85HbhH/2hl 3W+2AOBzvwEhoedyleJmkFMABzb7RFbm25dg4FNneQ==
X-Google-Smtp-Source: APXvYqx/7ZsQ5Z9yulww5UtNAWKCARFF1PRPlqLZl3ENkkVhQEAkBuNTV1bpMIuHN+figirUnNCJMX6tttKxHfob5sg=
X-Received: by 2002:a05:6808:98d:: with SMTP id a13mr654183oic.7.1576531138436; Mon, 16 Dec 2019 13:18:58 -0800 (PST)
MIME-Version: 1.0
References: <157645488473.11514.14849824578103099190@ietfa.amsl.com> <CAO42Z2xC4_QJ4h62bC1+pdkBY4LMEkKq0zXkAxxh=RMt8GEgPw@mail.gmail.com> <MWHPR11MB1600AD626D8C052175C518ABC1510@MWHPR11MB1600.namprd11.prod.outlook.com> <CAO42Z2whbJva6OYAJ2R7iq+4t87JWF5q63LJSnVRw22TqMPfSQ@mail.gmail.com> <MWHPR11MB16008E8034DE223FC784171EC1510@MWHPR11MB1600.namprd11.prod.outlook.com>
In-Reply-To: <MWHPR11MB16008E8034DE223FC784171EC1510@MWHPR11MB1600.namprd11.prod.outlook.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Tue, 17 Dec 2019 08:18:45 +1100
Message-ID: <CAO42Z2z-=hUMg74TZe+qNo7QpRCSJ=TE1DEL0bH+LX0PbiHOfQ@mail.gmail.com>
To: "Ketan Talaulikar (ketant)" <ketant@cisco.com>
Cc: SPRING WG <spring@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007be18f0599d8c2b8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/tB2kRWVSB2FtW7vx956xYqFqdLk>
Subject: Re: [spring] I-D Action: draft-ietf-spring-segment-routing-policy-06.txt
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Dec 2019 21:19:01 -0000

On Mon, 16 Dec 2019, 21:07 Ketan Talaulikar (ketant), <ketant@cisco.com>
wrote:

> Hi Mark,
>
>
>
> Could you share references which says it is illegal to refer to 0.0.0.0 or
> :: as IP addresses?
>
>
>
> Many (if not most) implementations use these representations of IP
> addresses when provisioning a default static route and there is nothing
> wrong with doing so.
>
>
>
> The link you shared previously that indicated an issue because someone was
> using these zero addresses as destination IP in the packets. That would be
> an incorrect analogy since there is no such proposal in this document.
>
I read "end point" as a synonym for "destination". I don't see how it could
be describing anything else.

E.g., a tunnel "end point" IP address identifies where a tunnel finishes,
and that  is going result in that IP address placed in an outer tunnel
packet's destination address field at some point in time.

A destination address identifies the point at the end (end point) of a
packet's path across the network. (In RFC8200 this is always a receiving
host function, per RFC8200's definition of host and router.)

0.0.0.0 and ::0 are prohibited destination or end point addresses as the
don't identify one - they're the 'unspecified' addresses.

If, as Robert said, you're describing routes or prefixes, then that is the
terminology that should be used.

Supplying the prefix length in all instances would also make it much
clearer that routes are being described.

Regards,
Mark.





>
> Thanks,
>
> Ketan
>
>
>
> *From:* Mark Smith <markzzzsmith@gmail.com>
> *Sent:* 16 December 2019 12:27
> *To:* Ketan Talaulikar (ketant) <ketant@cisco.com>
> *Cc:* SPRING WG <spring@ietf.org>rg>; i-d-announce@ietf.org
> *Subject:* Re: [spring] I-D Action:
> draft-ietf-spring-segment-routing-policy-06.txt
>
>
>
>
>
> On Mon, 16 Dec 2019, 16:43 Ketan Talaulikar (ketant), <ketant@cisco.com>
> wrote:
>
> Hi Mark,
>
> The draft talks about "destination of the policy" as in the tail-end node
> of the SR Policy. It does not talk about the destination IP address in the
> packet.
>
> You can consider this as a "default policy" on similar lines as a default
> route.
>
> Please see the section below which will cover one of the use-cases for
> steering over such SR policies to the null endpoint.
>
> https://tools.ietf.org/html/draft-ietf-spring-segment-routing-policy-06#section-8.8.1
>
> Hope that clarifies.
>
>
>
>
>
> I don't think it does.
>
>
>
> If this text is true - "The endpoint
>
>    is specified as an IPv4 or IPv6 address" - then those are illegal IPv4
> and IPv6 addresses.
>
>
>
> If these are not being used as IPv4 or IPv6 addresses, then they cannot be
> referred to as IPv4 or IPv6 addresses. It is confusing and inaccurate if
> they are.
>
>
>
>
> Thanks,
> Ketan
>
> -----Original Message-----
> From: spring <spring-bounces@ietf.org> On Behalf Of Mark Smith
> Sent: 16 December 2019 06:36
> To: SPRING WG <spring@ietf.org>
> Cc: i-d-announce@ietf.org
> Subject: Re: [spring] I-D Action:
> draft-ietf-spring-segment-routing-policy-06.txt
>
> "The endpoint indicates the destination of the policy.  The endpoint
>    is specified as an IPv4 or IPv6 address and is expected to be unique
>    in the domain.  In a specific case (refer to Section 8.8.1), the
>    endpoint can be the null address (0.0.0.0 for IPv4, ::0 for IPv6)."
>
> Per Internet Standard 3 / RFC 1122, 0.0.0.0 is an illegal IPv4 destination
> address.*
>
> Per RFC 4291, ::0 is an illegal IPv6 destination address.
>
>
> Regards,
> Mark.
>
>
> *People doing tricky things with 0.0.0.0 has cost me and a past employer 2
> weeks of needless troubleshooting, delaying a product/service launch.
>
> http://lists.ausnog.net/pipermail/ausnog/2017-July/039402.html
>
>
> On Mon, 16 Dec 2019 at 11:08, <internet-drafts@ietf.org> wrote:
> >
> >
> > A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> > This draft is a work item of the Source Packet Routing in Networking WG
> of the IETF.
> >
> >         Title           : Segment Routing Policy Architecture
> >         Authors         : Clarence Filsfils
> >                           Siva Sivabalan
> >                           Daniel Voyer
> >                           Alex Bogdanov
> >                           Paul Mattes
> >         Filename        : draft-ietf-spring-segment-routing-policy-06.txt
> >         Pages           : 35
> >         Date            : 2019-12-15
> >
> > Abstract:
> >    Segment Routing (SR) allows a headend node to steer a packet flow
> >    along any path.  Intermediate per-flow states are eliminated thanks
> >    to source routing.  The headend node steers a flow into an SR Policy.
> >    The header of a packet steered in an SR Policy is augmented with an
> >    ordered list of segments associated with that SR Policy.  This
> >    document details the concepts of SR Policy and steering into an SR
> >    Policy.
> >
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-ietf-spring-segment-routing-pol
> > icy/
> >
> > There are also htmlized versions available at:
> > https://tools.ietf.org/html/draft-ietf-spring-segment-routing-policy-0
> > 6
> > https://datatracker.ietf.org/doc/html/draft-ietf-spring-segment-routin
> > g-policy-06
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=draft-ietf-spring-segment-routing-po
> > licy-06
> >
> >
> > Please note that it may take a couple of minutes from the time of
> > submission until the htmlized version and diff are available at
> tools.ietf.org.
> >
> > Internet-Drafts are also available by anonymous FTP at:
> > ftp://ftp.ietf.org/internet-drafts/
> >
> > _______________________________________________
> > spring mailing list
> > spring@ietf.org
> > https://www.ietf.org/mailman/listinfo/spring
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>
>