Re: [spring] Comments on < draft-filsfils-spring-net-pgm-extension-srv6-usid-00>

Bob Hinden <bob.hinden@gmail.com> Wed, 17 July 2019 12:27 UTC

Return-Path: <bob.hinden@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE2B5120094; Wed, 17 Jul 2019 05:27:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=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 VrP8noLqiBxH; Wed, 17 Jul 2019 05:27:18 -0700 (PDT)
Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 CDD0812008F; Wed, 17 Jul 2019 05:27:17 -0700 (PDT)
Received: by mail-wm1-x330.google.com with SMTP id p74so21955133wme.4; Wed, 17 Jul 2019 05:27:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=KgCa0T0jrP78MR7BTxsK9f+ahYAu7iE0zNj8ldErmtk=; b=pbQZLcovscO2Pif44w3ZT05wPYupkX0O9WqZbU/uLHjguy7jdD7+Ep6WZ1vvESOQ8Z z151VkLfR5Hvyyi03Vy1/ntmLrgNwnEbsAbajMUJuHBKbG0FKoCvQDTVPUkjtcV3fQPn amvQ4ekPg+FelHi5+g7FAan0LNRBYHZaucojdxHVX95d99RsRpRoc1tq/F8s7m7D3+Ht QRKUcL16ot0AnaScysd+y6CZB+cTIuRHQ9FRVLRs/wk1anqL7JV+04AiJ0PpLVSAV6bY 3tW+tokFr5Z1ZerFJrCVWhMj83zUEyTx1ZoL/jlE1xDxkKQLfu1uceko6VxnOh7xOSHI ssIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=KgCa0T0jrP78MR7BTxsK9f+ahYAu7iE0zNj8ldErmtk=; b=MknOzXWOCKl/tQ59A1PBjtV6JdqerTvFOi0wmgPvVqkBd1mi5Zny1y1VVLbxQQqyFK lX4t3k4WkIR2b2QB90IIRScsCONLc9fLasQ/8BmMQkh2MZEEhmy3n8iZFZ59nnZhJjW4 piqjfgRscvN6amiZFtn95GR8rzuxAngZ1tuD5D8lIF6t1qCOP7GsWW/LmRe3YQ6RgXqN jvnxqtpLiYvDZILgUU2zhXupx0IrUZfTz79U3L0ol8Hss1OE8EN30Q3sXt/TeiDqMnEm Dm5m136vyNvYhhgkES56DXNd051N2zn3NGHl6y0RCp22N503/5yGozewArg6Shvpv8ZJ fFNA==
X-Gm-Message-State: APjAAAUmoqGiT9izZhqhuZId1afjKYj7/Do1eZ5Sq3vkPebj3Sg2rUFo tFzpVXC9Va7mYjGwpLPxi9Y=
X-Google-Smtp-Source: APXvYqw9d9rSkqizJwIIp1mCk73vhPHpsuSyj4Z3DRIwVhOTybzop1isgN1psiUpvVwauEc+dbMV2g==
X-Received: by 2002:a1c:a01a:: with SMTP id j26mr37094906wme.112.1563366436338; Wed, 17 Jul 2019 05:27:16 -0700 (PDT)
Received: from [192.168.1.19] (pool-98-110-251-46.bstnma.fios.verizon.net. [98.110.251.46]) by smtp.gmail.com with ESMTPSA id b19sm17792006wmj.13.2019.07.17.05.27.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jul 2019 05:27:14 -0700 (PDT)
From: Bob Hinden <bob.hinden@gmail.com>
Message-Id: <46C78D76-C8E7-4A6C-B27B-01BB5C91542D@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_F1D03619-1D83-44B5-A617-CE9D4DDF16CB"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: [spring] Comments on < draft-filsfils-spring-net-pgm-extension-srv6-usid-00>
Date: Wed, 17 Jul 2019 08:27:09 -0400
In-Reply-To: <CA+b+ERm=J64WXEkKaR8gNfRfA_f3AqD_H8fvAPUedA43cad-aA@mail.gmail.com>
Cc: Bob Hinden <bob.hinden@gmail.com>, SPRING WG <spring@ietf.org>, IPv6 List <ipv6@ietf.org>
To: Robert Raszuk <rraszuk@gmail.com>
References: <4C892716-11EA-41D1-8062-A2DFF6D735AA@gmail.com> <CA+b+ERm=J64WXEkKaR8gNfRfA_f3AqD_H8fvAPUedA43cad-aA@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/1bon0SW_OX0AsUvsGsSpR-D9wSk>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Jul 2019 12:27:20 -0000

Robert,

> On Jul 17, 2019, at 2:42 AM, Robert Raszuk <rraszuk@gmail.com> wrote:
> 
> HI Bob,
> 
> The way I read this document is that FC00::/8 is just an example. If IETF decided to allocate a new prefix I think no one will object that.

I don’t think IETF specs should cite examples that are not consistent with other standards, in this case RFC4193.   But it’s more than a suggestion, it says:

      In this document we leverage FC00::/8 block reserved for private
      use as ULA space (RFC4193)

> 
> > How many segments are needed to be identified?  Surely not 2^^112.
> 
> The crux of the proposal is in embedding multiple microSIDs in the *single* IPv6 address. So if we consume say 16 bits for prefix we are left with 112 bits for SIDs.
> 
> Say SID would be of 16 bits so we can at most in dst address of single encapsulated packet impose 7 SIDs. Not sure where you 2 to the power of 112 comes from - there is no "SID stacking" here any more :).

I got 2^^112 by the spec was proposing a /16 prefix, that leaves 112 bits for addresses in that prefix.   Hence 2^^112.

I wouldn’t consider these to be an IPv6 address.   RFC4291 says:

   Except for the knowledge of the subnet boundary discussed in the
   previous paragraphs, nodes should not make any assumptions about the
   structure of an IPv6 address.

This appears to go well beyond that.

Bob


> 
> Cheers,
> R.
> 
> On Wed, Jul 17, 2019 at 5:01 AM Bob Hinden <bob.hinden@gmail.com> wrote:
> Hi,
> 
> I was looking at < draft-filsfils-spring-net-pgm-extension-srv6-usid-00> and have a few comments.  I am copying the 6MAN list because of its use of IPv6 addresses.
> 
> The draft says:
> 
>    uSID block: A block of uSID's
> 
>       It can be any IPv6 prefix allocated to the provider (e.g. /40 or
>       /48), or it can be any block generally available for private use.
>       An SR domain may have multiple uSID blocks.
> 
>       In this document we leverage FC00::/8 block reserved for private
>       use as ULA space (RFC4193).  Throughout this document we use
>       FC00::/16 as the illustrated uSID block.  ULA space allows for up
>       to 256 uSID blocks in FC00::/8.
> 
> The first sentence in the first paragraph is fine, as it is proposing using prefixes assigned to the provider.   The rest is not fine.
> 
> ULA space as defined in RFC4193 is not for use like this.   RFC4193 specifies:
> 
>    The Local IPv6 addresses are created using a pseudo-randomly
>    allocated global ID.  They have the following format:
> 
>       | 7 bits |1|  40 bits   |  16 bits  |          64 bits           |
>       +--------+-+------------+-----------+----------------------------+
>       | Prefix |L| Global ID  | Subnet ID |        Interface ID        |
>       +--------+-+------------+-----------+----------------------------+
> 
> It is inappropriate to use the a large portion of ULA space (aka FC00::/16) in the manner proposed by this draft.   A better alternative for a provider using SRH is to generate an /48 ULA prefix as defined in RFC4193 and use it for this purpose.  What is proposed in this document will break ULAs for everyone else.
> 
> This draft (nor any future drafts in Spring) should not be redefining the IPv6 address space.   It is also very excessive to use this much address space to identify segments in a SRH network.   How many segments are needed to be identified?  Surely not 2^^112.
> 
> Regards,
> Bob
> 
> 
> 
> 
> 
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring