Re: [spring] IPv6 Addresses and SIDs

Mark Smith <markzzzsmith@gmail.com> Sun, 13 October 2019 23:37 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 60FAB12002E for <spring@ietfa.amsl.com>; Sun, 13 Oct 2019 16:37:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.499
X-Spam-Level:
X-Spam-Status: No, score=-0.499 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=0.999, 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 31he5jwYmGWB for <spring@ietfa.amsl.com>; Sun, 13 Oct 2019 16:37:17 -0700 (PDT)
Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (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 8863412001A for <spring@ietf.org>; Sun, 13 Oct 2019 16:37:17 -0700 (PDT)
Received: by mail-ot1-x32a.google.com with SMTP id 21so12337063otj.11 for <spring@ietf.org>; Sun, 13 Oct 2019 16:37:17 -0700 (PDT)
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:content-transfer-encoding; bh=7a+Sqn3TBdTEZd/dLqO89tZ482UIFjxnP7aPy9quoi0=; b=WQs8kSPs/hQgpydllLprnRVz7RSQ7ONgxpp417zbOJX5+YJG38vdXdnhoYeLl0DpN9 5liMgg2Bmfra4dE4nkGmAtHWf5BfXIxsI6+XX0r/hsWFSqyhd/+mGqM/g8xRzsriI5HF qldAeJ8zZyukRprQXeRet24tUHWUdfEDcq4/Jms5UvFWS3ww/OVCf0gXrFJKxPbFvhj3 XZirp8gIgy2ZQdX18pKRS2PzyI1gsN1UznrS+nI/GSasxmMVNHUe9dl+/yDKeDEqsR5M 8zlXth7Qc6erKGgVxxDnsCowwLGL6t2jQ8aS2FtDCQcL3JQhaf11bHomAGA174+qoHU1 6cYw==
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:content-transfer-encoding; bh=7a+Sqn3TBdTEZd/dLqO89tZ482UIFjxnP7aPy9quoi0=; b=Dlv5wpQgi5MelewnLjnuV9cdUbEVvZIi+Mg2sKlsJHow7hpYwvVXaQqAgOnUT3IOaG +RuBTh55PCLwXYWKScxFSZG9xhpL0cMKVvukQjfcoX1dv6XRnO/+fd54mPmiQhma41kL gKv5a0+l4tkp3NV4bpoUXobNicqWH8CDNSAF8+1fKumBpJxjkBFT9h7lfSDSSTdcVTYS /tPTXOcChAKxz4K2nO5FdrDK81TkKqNFxE042/ix+nr0/M+bKU/fEJZSUZs4d0f0mOUL BVn1WEjWLOTc/FmGq/OFT8khcW1pCkMDnFVs4R6rLcvxILK2rBStWqsnpLZohYL9xF1t CUKA==
X-Gm-Message-State: APjAAAUfUhabVrl0qea4dOhQbWZuDBNGIJs3nYXafDzuaYwsNzwtlTPo wCqVaQQJ6yHUqDV7vvxeE/TUrvSLIa6H40nt4yY=
X-Google-Smtp-Source: APXvYqx+7z2ECSY6v8obF2383e7jJKnkw282GgOuc3nWzptlAvFFhEqxOyFXMWWNUwTwW9Vp524p3lGuEfSJQkJvBms=
X-Received: by 2002:a9d:4d0d:: with SMTP id n13mr23437066otf.74.1571009836867; Sun, 13 Oct 2019 16:37:16 -0700 (PDT)
MIME-Version: 1.0
References: <SN6PR05MB5710CBAF8E6DF307401A2166AE9D0@SN6PR05MB5710.namprd05.prod.outlook.com> <f5eb739b-9ae4-433e-e6c0-8bcdb7bc575e@si6networks.com> <BYAPR05MB5703169601886283700608A5AE9F0@BYAPR05MB5703.namprd05.prod.outlook.com> <B6FE2A8B-B23B-4E9C-BB33-F6A5BD78C52B@gmail.com> <BN7PR05MB5699E5EA714CC64456771712AE940@BN7PR05MB5699.namprd05.prod.outlook.com> <1076F074-EB35-4D38-9949-4A241C946E07@gmail.com> <1fce4e24590847348894d10ca8bd5816@nokia-sbell.com> <D3FE1CA3-A8D1-4392-8EEC-CDCC7FC0827F@gmail.com> <BN7PR05MB56993D1127A8CA9CCC0E4A9AAE970@BN7PR05MB5699.namprd05.prod.outlook.com> <213BB95D-0E06-4E9A-B552-2A2466DC42AF@gmail.com> <04711680-e9c4-1159-58af-609517ee8bdf@joelhalpern.com> <CABNhwV3SyZNY6GrJF+wpgTmpM6DSts4gXQgdFTEgWfN876u5WQ@mail.gmail.com> <CABNhwV1Ym_AG7svmPUpmjGz600QyGRvtY5xNP0_K-hoGewUGTA@mail.gmail.com> <424b13a9a9bf4802b57c0609c92baad2@nokia-sbell.com> <BN7PR05MB569958ADB8E7BFF6C7EBC56AAE910@BN7PR05MB5699.namprd05.prod.outlook.com> <CAOj+MMHcTyCyO5Z3KyP5otW1Xgq7un2ypEGtjjWpr00j2t9dGw@mail.gmail.com> <BN7PR05MB5699B5C42BDBD5BF244CB4A8AE910@BN7PR05MB5699.namprd05.prod.outlook.com> <CAOj+MME70PYa7mkTRPKHqhg_1cMAvHLU0qZJx-=CjVy-ZKXpAA@mail.gmail.com>
In-Reply-To: <CAOj+MME70PYa7mkTRPKHqhg_1cMAvHLU0qZJx-=CjVy-ZKXpAA@mail.gmail.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Mon, 14 Oct 2019 10:36:50 +1100
Message-ID: <CAO42Z2zjH0w4avckEV94C0OB77mJFM4jOPvz6EFi9--YC7JUDA@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: Ron Bonica <rbonica@juniper.net>, SPRING WG List <spring@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/E1ye8Pn5CocnjPlXK8lYTJHJyTY>
Subject: Re: [spring] IPv6 Addresses and SIDs
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: Sun, 13 Oct 2019 23:37:20 -0000

On Mon, 14 Oct 2019 at 09:57, Robert Raszuk <robert@raszuk.net> wrote:
>
> Hi Ron,
>
> /64 prefix is a pile of addresses ...


It's more than that, there is an addressing model to follow. From RFC 4291,

"2.1.  Addressing Model

   IPv6 addresses of all types are assigned to interfaces, not nodes.
   An IPv6 unicast address refers to a single interface.  Since each
   interface belongs to a single node, any of that node's interfaces'
   unicast addresses may be used as an identifier for the node."


> if someone would be to follow your suggestion I could not allocate some blocks of that prefix on R1, then some other blocks on R2 then yet more on my servers.
>

You would have to divide your /64 of into smaller subnets to do that.

> You said:
>
> “With a /64, if one /128 represents an IPv6 interface, as described in RFC 4291, all /128 MUST either:
>
>
>
> Represent an IPv6 interface, as described in RFC 4291, or
> Be unassigned”
>
>
> Maybe you meant to say something else:
>
> “When a /64 is used as SRv6 locator prefix, if one /128 represents an IPv6 interface, as described in RFC 4291, all /128 MUST either:
>
>
>
> Represent an IPv6 interface, as described in RFC 4291, or
> Be unassigned”
>
> But then you sent this to SPRINT indicating that 6MAN should be the audience :).
>
> Best,
> R.
>
>
> On Mon, Oct 14, 2019 at 12:45 AM Ron Bonica <rbonica@juniper.net> wrote:
>>
>> Robert,
>>
>>
>>
>> I’m having a hard time understanding exactly how I have violated the longest match principle. Could you provide:
>>
>>
>>
>> A pointer to a statement of the longest match principle
>> A few words regarding how I have violated it
>>
>>
>>
>>                                                               Ron
>>
>>
>>
>>
>>
>> From: Robert Raszuk <robert@raszuk.net>
>> Sent: Sunday, October 13, 2019 5:24 PM
>> To: Ron Bonica <rbonica@juniper.net>
>> Cc: SPRING WG List <spring@ietf.org>
>> Subject: IPv6 Addresses and SIDs
>>
>>
>>
>> Hi Ron,
>>
>>
>>
>> I disagree.
>>
>>
>>
>> Your suggestion violates longest prefix match principle in routing.
>>
>>
>>
>> It is huge waist of address space and is not specific to IPv6 at all.
>>
>>
>>
>> Let me describe the deployment case where your suggestion would cause it to break:
>>
>>
>>
>> I have /64 prefix where a few  /128s from that space I allocate to local interfaces making it a local v6 destinations on those nodes.
>>
>>
>>
>> However in the spirit of CIDR I still want to to use some blocks of that space - say  /126 or /124 as blocks which I only use to trigger local NAT as per rfc6296. And NAT does not require local address to be a destination address so it would be a big disservice to kill such deployment option.
>>
>>
>>
>> Many thx,
>> R.
>>
>>
>>
>>
>>
>> On Sun, Oct 13, 2019 at 10:59 PM Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
>>
>> Folks,
>>
>>
>>
>> I think that we need a global rule that says:
>>
>>
>>
>> “With a /64, if one /128 represents an IPv6 interface, as described in RFC 4291, all /128 MUST either:
>>
>>
>>
>> Represent an IPv6 interface, as described in RFC 4291, or
>> Be unassigned”
>>
>>
>>
>> The 6man WG will need to make such a statement since it owns RFC 4291.
>>
>>
>>
>>                                                              Ron
>>
>>
>>
>> Juniper Business Use Only
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring