Re: [homenet] Ted's stub network document: draft-lemon-stub-networks{, -ps}

Ted Lemon <mellon@fugue.com> Fri, 26 February 2021 17:01 UTC

Return-Path: <mellon@fugue.com>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD9543A1241 for <homenet@ietfa.amsl.com>; Fri, 26 Feb 2021 09:01:40 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=fugue-com.20150623.gappssmtp.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 L55YzueYkZOk for <homenet@ietfa.amsl.com>; Fri, 26 Feb 2021 09:01:38 -0800 (PST)
Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 876F83A1243 for <homenet@ietf.org>; Fri, 26 Feb 2021 09:01:34 -0800 (PST)
Received: by mail-qk1-x72a.google.com with SMTP id 204so9702793qke.11 for <homenet@ietf.org>; Fri, 26 Feb 2021 09:01:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QYFwRcC9KK3KdxZ1aH0a7lxKM+OAGpXJYpqG46Fip2E=; b=xYtyjyb5zWEmf0GToyFj3rYg0HD3dGOhCTe/u3i4NTGibMq6aZBbVoEervXBp4+Vsr cqnf3wdtbImGyZlt1GNwEOlR92wKeiqZQVRMOVlohRlUfN9oY+spba4f9Iq2IBg3l+hF 4r5MVbpIm5nmEo4Wdw3C6WFCZeEhC1oGgfaB3szi0lfGXnQaM80DHLuHgj0ChUlAIZec GCmYdhJ7gUBvtoDGeSkobASuEP4KLemfcIKMNLisSigo0gpvgfnD8OgwzRQRfMK0oQ6k 903x+vusMnWWeDjLvVEIvrAMwFkgvWWQsZDolxjwLfhezk3wewzFJotPbX0yYEF6+yZr tCyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QYFwRcC9KK3KdxZ1aH0a7lxKM+OAGpXJYpqG46Fip2E=; b=AQb3NYM1QxRD0fCd3NjNnbsSa/+Xem4lYxksWeiAoQnpM5sIaDkyM9qMi+Rc12XwWe 3cUv5mmpK/DoHLP0JXEIei3KHlGQxL6iHzDzOJM+QeiJBfH9IZSy09BBzVBBopCrbXx+ oZginpKN2fyEEwc0k8RLF4ut6UxemM92NQQhz8UFdFRr7eAeuxiv24SExv9SX1EJwczc PAhFZaj/6eOjnKJVmtaQiUk1jtxzx1+mD6d7CNTxz3tHtoJZqxncLYx+gmZl0UVVCleB OMjNwtMR2QsNUif+vbLmOeiI6/KsUrLyFWvU3D6w7wda/0EjpN0CJH4QR0ygWhGfuPmr xH7g==
X-Gm-Message-State: AOAM531T1DMWZUQANmxy+14ZiCOCu289qmZlqvBanJF3Noz8TCMi/WSW LYE5yw1sBxXrnWNSWFK9bYJzng==
X-Google-Smtp-Source: ABdhPJw/TywI1X7uExz+lUw2Af8bRMBEeyjGbvd2IhwEACfcCGFBmdCiY8+J609Y3bf+mXweAY/XNw==
X-Received: by 2002:a37:a10e:: with SMTP id k14mr3550020qke.70.1614358893627; Fri, 26 Feb 2021 09:01:33 -0800 (PST)
Received: from smtpclient.apple (c-24-91-177-160.hsd1.nh.comcast.net. [24.91.177.160]) by smtp.gmail.com with ESMTPSA id n77sm5699168qkn.128.2021.02.26.09.01.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Feb 2021 09:01:32 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.33\))
From: Ted Lemon <mellon@fugue.com>
In-Reply-To: <13781.1614356677@localhost>
Date: Fri, 26 Feb 2021 12:01:32 -0500
Cc: 6man@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <389E2CE9-A3A7-48D1-82D3-0ADA11981765@fugue.com>
References: <13781.1614356677@localhost>
To: iotops@ietf.org, Ray Bellis <homenet@ietf.org>, Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3654.80.0.2.33)
Archived-At: <https://mailarchive.ietf.org/arch/msg/homenet/T289CBb-YTaucZjMFjmscWAD17Y>
Subject: Re: [homenet] Ted's stub network document: draft-lemon-stub-networks{, -ps}
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Feb 2021 17:01:41 -0000

On Feb 26, 2021, at 11:24 AM, Michael Richardson <mcr+ietf@sandelman.ca> wrote:

Thanks for the comments, Michael!

> I think that this is a key architectural document on connecting IoT networks,
> although there is some resistance to putting such a specific use case into
> the title.

The reason for this is that I think it’s a perfectly reasonable thing to do when you just want to connect a router to a pre-existing network so that you can use services on that network. So I really don’t want to constrain the use case to IoT. That is certainly the primary driving use case, though.
> 1) Perhaps "Stub Router" should be in the terminology.
>   The terms: AIL, NAIL, NAL and OSNR are introduced but aren't really used.
>   They aren't really that pneumonic.
>   If anything, I'd like a cool TLA for "Stub Router"

SNR?  But that confuses OSNR. The reason for all those TLAs is that “Adjacent infrastructure link” is a lot to type, and so is off-stub-network-routable prefix. :]

> 2) There is advise about monitoring the RAs from the infrastructure router
>   (which is probably the home CPE router), and soliciting them regularly.
>   In effect, the Stub Router can't depend that the CPE router will remain
>   alive for it's lifetime.
>   That is, the RA lifetimes tell the client how long it may use the
>   resource, but not how to determine if the router is alive.  Of course,
>   power can disappear at any time.
>   Ted: it seems that maybe neigh-cache entries already have all the timers
>   and rechecks needed, and maybe the Stub Router can just watch for
>   the NCE going Stale?

That would work, but depends on the stub router implementation being able to get a notification that this has happened, which means it’s running in the kernel. I don’t think that’s a likely scenario. Also, NCEs have lifetimes, so they will also outlive on-link routers.

> 3) _Adjacent infrastructure link (AIL)_  that's the home LAN, right?
>   Maybe it would clearer if it was just called that?

The problem is that “home lan” presupposes a very limited use model, and this is not intended to address just that use model. Stub network routers are expected to be useful in building infrastructure deployments as well.

> 4) I'd like to add a state machine diagram to 3.1.1/3.1.2.

I think that’s a good idea, although I am not really a fan of state machine *diagrams* — I’d maybe rather just describe the state machine. Diagrams are easy to misread. There are actually several state machines, and each I think is fairly simple, so writing out a list of states, events and state transitions may be practicable.

> 5) _IP addressability not present on adjacent infrastructure link_ (AIL)
>   When the Stub router finds no IPv6 on the "LAN" link, then it advertises
>   one.  I think that this prefix should be advertised as being _off-link_.

If it’s advertised as off-link, will hosts use it on-link as a source address for communications? That’s the point of advertising this prefix. We advertise a route to the stub network’s prefix, but we need a prefix on the adjacent infrastructure link in order for IPv6 communication to happen.

>   To clarify for others: the stub router will have a ULA, and it might
>   advertise ULA:0002::/64 on the AIL ("LAN"), and will number it's stub
>   network with ULA:0001::/64.  It will do this with a PIO that does not
>   include a default route.

To be clear, it will advertise an RA that has a router lifetime of zero, which indicates “not a default router.” The on-link prefixes on the stub network and the infrastructure network are advertised using PIOs. Reachability from the stub network to the infrastructure network and vice versa are advertised using Route Information Options (RIOs).

>   On the AIL, where there is also an IPv6 prefix (but not DHCPv6-PD),
>   then it just seems like not putting a second ULA on top of the LAN
>   for the purpose of communicating within the LAN seems better.
>   While the off-link prefix can be used for e2e communications on the
>   LAN, I think that the on-link prefix will be preferred.

If there’s already an on-link prefix on the AIL, the stub router doesn’t advertise an additional prefix—there’d be no point to this. This adds some complexity to the stub router implementation, but I think makes its presence on the network a bit less heavy. Particularly if you have multiple stub routers (e.g., a HomePod Mini stereo pair in several rooms in the house).

>   Perhaps this messes with DNS-SD discovery.

That’s not the issue, although we do have to be careful not to propagate addresses that won’t be reachable from off-link.