Re: Automatically connecting to stub networks...

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 03 December 2020 19:02 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 0AAB93A0C61 for <ipv6@ietfa.amsl.com>; Thu, 3 Dec 2020 11:02:17 -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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 AAa3wpaSEC5o for <ipv6@ietfa.amsl.com>; Thu, 3 Dec 2020 11:02:15 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B250B3A0C00 for <6man@ietf.org>; Thu, 3 Dec 2020 11:02:09 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 4F496389CD; Thu, 3 Dec 2020 14:04:01 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0Qr3QCjVAPpn; Thu, 3 Dec 2020 14:03:56 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 0EDDC389CC; Thu, 3 Dec 2020 14:03:56 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 064EE1FB; Thu, 3 Dec 2020 14:02:03 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Ted Lemon <mellon@fugue.com>, 6MAN <6man@ietf.org>
Subject: Re: Automatically connecting to stub networks...
In-Reply-To: <BFEE2BEA-D4C0-44AC-95D2-EB413CA6E3BE@fugue.com>
References: <DA9CEF7E-44EA-44B0-AF07-2DAC4D29A59F@fugue.com> <59aeb842c7534e5ab24cde0426b5a4c9@huawei.com> <22203.1607003159@localhost> <5143DC1F-321C-4FCD-9B56-372E492D4CDD@fugue.com> <30146.1607019913@localhost> <BFEE2BEA-D4C0-44AC-95D2-EB413CA6E3BE@fugue.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Thu, 03 Dec 2020 14:02:02 -0500
Message-ID: <6450.1607022122@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/gr8Xm3ZcPawd-nku8lp7jRnkJKM>
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, 03 Dec 2020 19:02:25 -0000

Ted Lemon <mellon@fugue.com> wrote:
    > On Dec 3, 2020, at 1:25 PM, Michael Richardson <mcr+ietf@sandelman.ca> wrote:
    >> I'm assuming that it's the gateway that does DHCPv6-PD.
    >> If that works, then we are done.

    > Not quite. We still need to advertise reachability to the prefix, and
    > do all the work to set up numbering on the local link. Assume no
    > management, and an arbitrary number of stub routers potentially
    > connecting to an 802.15.4 mesh. How does DHCPv6-PD even work in this
    > scenario? I’m not saying it can’t, but it’s not “just do DHCPv6-PD”!

I guess I'm confused.
1) If the home router speaks IPv6, then it's already numbered the "LAN" link.

2) If it speaks DHCPv6-PD server, then when it allocates a prefix to the
802.15.4 router that asked for the prefix, then it sets up reachability.
{Of course, this fails if there are multiple gateways, a la homenet, but I
think that's out of scope for this situation}

What else is there?
It's true that the DHCPv6-RELAY stuff is a mess for PD, but there shouldn't
be any DHCPv6-relaying in a home.

{While the home gateway might have to go back to the ISP for another /64,
that's not a local problem.}

    >> We don't necessarily need the ULA or the NAT64 at that point.
    >> (Although, the delegated prefix might not be a GUA.)

    > Right, have to account for that. Also probably should account for the
    > case where the infrastructure network provides NAT64 via ipv4only.arpa,
    > so we don’t have to do it in the border router. This is obviously
    > HIGHLY preferable. :)

Yes.
Basically, the border router should probably do reachability checks to see if
it can get to the cloudy places it cares about on both IPv4 and IPv6, and
then enable whatever it needs to make things work.
I think that this would make a really nice operational BCP document.

    >> It's when it does not work that I think your draft comes into play.
    >> One is essentially bring IPv6 to a LAN where there might not any.
    >> I think that's okay.
    >> {I also think that the thing bring that ULA to the LAN should be a DHCPv6-PD
    >> server as well: there could be another gateway that needs IPv6}

    > We have to use what we’re given. If there’s DHCPv6-PD, we should figure
    > out a way to use that. The Apple solution is very careful not to add
    > anything to the network that’s unnecessary—if  you have a prefix from
    > your ISP, it doesn’t advertise an IPv6 prefix on the infrastructure
    > link, because there’s already a usable prefix.

Good!
I think we are in violent agreement.

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide