Re: Extending a /64

otroan@employees.org Thu, 12 November 2020 13:17 UTC

Return-Path: <otroan@employees.org>
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 5E6383A0E51 for <ipv6@ietfa.amsl.com>; Thu, 12 Nov 2020 05:17:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 cIk3aNrEm52u for <ipv6@ietfa.amsl.com>; Thu, 12 Nov 2020 05:17:44 -0800 (PST)
Received: from clarinet.employees.org (clarinet.employees.org [IPv6:2607:7c80:54:3::74]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BF8693A0E4F for <ipv6@ietf.org>; Thu, 12 Nov 2020 05:17:44 -0800 (PST)
Received: from astfgl.hanazo.no (201.51-175-101.customer.lyse.net [51.175.101.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by clarinet.employees.org (Postfix) with ESMTPSA id 8426B4E11CC4; Thu, 12 Nov 2020 13:17:43 +0000 (UTC)
Received: from [IPv6:::1] (localhost [IPv6:::1]) by astfgl.hanazo.no (Postfix) with ESMTP id 682BD43E232F; Thu, 12 Nov 2020 14:17:40 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Subject: Re: Extending a /64
From: otroan@employees.org
In-Reply-To: <m1kdCLG-0000K7C@stereo.hq.phicoh.net>
Date: Thu, 12 Nov 2020 14:17:40 +0100
Cc: 6man WG <ipv6@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <7F220C93-E1FE-4381-8001-E2C74ADFA48B@employees.org>
References: <005ECBB3-088B-4363-BB53-8D4AD25CA3D2@employees.org> <b468124f-f85b-7e20-a354-c6b7eaba3447@mccallumwhyman.com> <20593.1604972743@localhost> <CAKr6gn0tedRz4iBu49Lrw5qMCdXWPcg-66UAOfHeJ_ZUeq8U4g@mail.gmail.com> <CABNhwV2c_qaQGY2J62LDh=EZYHo5poYNF_Asf908ofR3wfmW1g@mail.gmail.com> <CABNhwV3wgdOUKqOyqJ4bTvVv4PKq81anYCxASOTCEMg3T84zig@mail.gmail.com> <CAL9jLaaDYrXVTGQeWh4aAc-qUVCoxRNokwANpQhuZ4OGdpySMw@mail.gmail.com> <46a202df-bae8-626b-042a-72adc3d31fcc@gmail.com> <CABNhwV0eRYx9jaygAaZ=KZ45zz-X3+Un17Oi8gv2wzf2-HzXMA@mail.gmail.com> <CABNhwV3cYvdssqK8EJ+_goH5_tLi0vm_Dy5M4bj+-Mp_yVaReg@mail.gmail.com> <m1kdANg-0000IEC@stereo.hq.phicoh.net> <alpine.DEB.2.20.2011121301300.15604@uplift.swm.pp.se> <m1kdBWP-0000I8C@stereo.hq.phicoh.net> <0A0C9446-A4AC-43B8-8383-87A9908C239A@employees.org> <m1kdCLG-0000K7C@stereo.hq.phicoh.net>
To: Philip Homburg <pch-ipv6-ietf-6@u-1.phicoh.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/t33iXeDrq7Xs2-tYXnDzWjD06Kw>
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: Thu, 12 Nov 2020 13:17:46 -0000

Philip,

>> Agree with regards to lifetimes.  Addressing != Routing.  You
>> shouldn't use a change in reachability to renumber your network.
>> Imagine what happens if that link flaps once a second.
> 
> As a consumer, by and large Addressing = Routing. If I move to a different
> ISP, my address(es) will change. If I take my devices from home to work
> and back, address will change. If my phone connects to wifi then typically
> it drops the mobile connection and addresses change. If I multi-home I 
> will have two (or more) set of addresses, each tied to a specific uplink.
> 
> So by and large, for a consumer if routing changes, addressing also changes.

I think that statement is in the general wrong.

> I link flags once a second, then there is something wrong with that link.
> DAD takes longer than one second. 

DAD isn't triggered on a downstream interface if an upstream interface flaps.
Withdrawing the addresses learnt from the upstream interface from all downstream interfaces would break all sessions.
Even for just a 1s link-flap. Implying that using a reachability event to withdraw addressing is a poor idea.

> 
> I'm not saying that address should change when a link drops and gets
> re-established. I'm saying that from a software point of view, if a link
> drops, the software has to be prepared to receive new addresses when the
> link is re-established.

I doubt there is a general correlation there.
A host stack needs to be prepared for a new address at any point in time.
And in most cases the host will not even see l2 indications. Although that could be part of the heuristics to detect that the reachability of your current address set is in doubt.

> If take Fernando's example in renumbering, even equipment permanent installed
> in a datacenter may see a link getting moved from one vlan to another.
> 
>> The reachability check verifies that the next-hop router has a
>> forwarding entry for our route.  It does not guarantee anything
>> else.  e.g. in a multi-prefix multi-homed network, the host is the
>> only entity that can verify end to end reachability, and it has to
>> do it by probing (with all combinations of SA/DA).  The host stack
>> must treat addresses as candidates, where all have potential
>> different reachability.  Therefore, having stale addresses doesn't
>> so much matter.
> 
> This kind of probing is extremely tricky. The easiest way to do happy eyeballs
> is to just set up parallel connections to every possible address. Hosts have
> more than enough resources to do that.

Yes, and that's typically how a more advanced transport layer would work. Ref MP-TCP.

> This was quickly rejected by content providers who don't want to see the
> number of connects double. Instead happy eyeballs tries IPv6 first and only
> tries IPv4 after some time. 
> 
> For this reason, it is important to weed out broken addresses locally. If
> we can't use a shotgun approach to try all addresses at once, then we have
> to void trying the ones that don't work anyhow.

If a host has an address that has no reachability it has no cost to the far end destination that the host tries it. The packet gets dropped quickly anyway.

In the multi-prefix multi-home case you cannot weed out all "broken" addresses.
Some applications also wants to optimize for the best path, and that requires using all available paths and measure. And if you think about the multi-homing problem you will realise that it has overlapping solutions with the renumbering case.

Cheers,
Ole