Re: [IPv6] communicating multiple link (status) to hosts

Ted Lemon <mellon@fugue.com> Thu, 21 March 2024 17:01 UTC

Return-Path: <mellon@fugue.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 13BF5C151066 for <ipv6@ietfa.amsl.com>; Thu, 21 Mar 2024 10:01:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uUpfsr4qhZyc for <ipv6@ietfa.amsl.com>; Thu, 21 Mar 2024 10:01:51 -0700 (PDT)
Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 114A0C14F71D for <ipv6@ietf.org>; Thu, 21 Mar 2024 10:01:50 -0700 (PDT)
Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-430baec7bb5so20963311cf.0 for <ipv6@ietf.org>; Thu, 21 Mar 2024 10:01:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20230601.gappssmtp.com; s=20230601; t=1711040510; x=1711645310; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Q/rjrs1wvwcRSunOFi/R1f8b2N34TXjMzAreqPps9nA=; b=OWaHSe/Atno8xfHN5C0z4BCaK/Q7vx5DTyLVI3fD+WXXs6RBi7hegJEBhOYm9xBexF WxOj7y3eR/aW02CQXkwh3dK7kycWkxhxildaDWmjQNBANpteOpofTyWw6OsS21P5euFM VeRDL98vFhRs8YMxGn5Jx9AutZz+D9ZNqfyJxdIw5Rv+LnGtUlUBynXCeP9nLt41w5jT c/zupGC+t4B3PMD85zolIWqx/esuBBeKQwCEKRQ6pG8kjaYkz4pl9PWk+3jT/ZrP3h0r TBAL1U8XWHWCQ4GJj/XnWrIUGmbSkG5JVZ+k4AY33uUfDeQZ+H7draqofmR9Cd7rzKMd LPew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711040510; x=1711645310; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Q/rjrs1wvwcRSunOFi/R1f8b2N34TXjMzAreqPps9nA=; b=qyBdyQguYwBMkBj4fQWKd4j1zliiM7e5whc9lOFgb3ETLTSVKGTNzBrR+t3xaIP5O7 +3VBZ3UJN3Vj8lxZVieHliuE39rgpW3Ikn/f9+JDJi80SDp+dwnyzp6q00w/sqre3lAR BGScf7pmvwfsHOjRmmAd6G4+bWwVuJ5w/Y2dO7GPrHtzkXl1EKSAGpZNa0bgjN9BF12p AiFeB1JXBTIaYW5sEbeKhWjP+drnvzUhw8d46Qa1M8so3uIzzWTOZnxlK2m2sq8KFMf/ +9sSuH7n1ohCUKSBYkOR6+niukjw6twh+A2pvzSyxnNF74lhtBhKtt1ek2OSsgIQGgfT S0JA==
X-Gm-Message-State: AOJu0YxuQBDJWhsvZHEMedveI/LhXdLj5nYvsUCTWR2COjFG+O/jIvvK T2KIUkapcHH9icrleKz5FMvawPj3tE6oXug9TzagKBN1lk/dCFF+FLs3BPCe2tqZ2PZkDncVpR+ 6XrGWd/EAQ5f5KNbzJQbU7l9H1KalckBIRW1g3EVaLQXzpfyrzu8WBA==
X-Google-Smtp-Source: AGHT+IFWyl5gL+LMUO3UR0lPVuxTen+30WOlugol01JanIlA3/Z9GB1jTxxCpcV2QfzWTLZ09iham26HHnbcqGRLTLo=
X-Received: by 2002:ad4:5ca3:0:b0:691:85a2:4434 with SMTP id q3-20020ad45ca3000000b0069185a24434mr146120qvh.26.1711040509705; Thu, 21 Mar 2024 10:01:49 -0700 (PDT)
MIME-Version: 1.0
References: <186314.1710989921@dyas> <m1rnIQF-0000M1C@stereo.hq.phicoh.net>
In-Reply-To: <m1rnIQF-0000M1C@stereo.hq.phicoh.net>
From: Ted Lemon <mellon@fugue.com>
Date: Fri, 22 Mar 2024 03:01:13 +1000
Message-ID: <CAPt1N1njXg9crrzZXYTjbH+96dcAytvAmbZFiccEq6cHGHvVyA@mail.gmail.com>
To: Philip Homburg <pch-ipv6-ietf-10@u-1.phicoh.com>
Cc: ipv6@ietf.org, Michael Richardson <mcr+ietf@sandelman.ca>
Content-Type: multipart/alternative; boundary="000000000000c7451f06142ea924"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/vhYZfJLzEyAUHhY26D2Gk8HOj6k>
Subject: Re: [IPv6] communicating multiple link (status) to hosts
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.39
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, 21 Mar 2024 17:01:52 -0000

I think it's actually unrealistic to expect routers to forward packets to
each other in many of the settings we care about, e.g. home networks.
"Routing protocol in the home" is pretty much the hill that homenet died
on. Not because it's hard, but because it's hard to do automatically and
nobody wanted to agree on a single protocol (we did finally agree on Babel,
but tell me where I can buy a router with Babel in it?).

It's been said that it's unreasonable to expect hosts to correctly pick the
next-hop router. I don't think that's true. We know how to do it, and we
have a clear path to hosts actually doing it. There are a lot of hosts that
already do it. Unless we're proposing to forbid networks with more than one
router advertising an RA, hosts pretty much have to do it; the question is
only whether they do it well or badly.

On Apple devices we track reachability in the network API (Network
Framework). I won't say that this is trivially easy, but it's doable. We
really need to stop thinking of the sockets API as the state of the art in
how applications use the network. It's not. This seems hard if you are
using the sockets API. This is not a hard limitation on what is possible or
doable.

On Thu, Mar 21, 2024 at 11:25 PM Philip Homburg <
pch-ipv6-ietf-10@u-1.phicoh.com> wrote:

> >For networks which are more complex than a home network with a single LAN
> >segment (no SNACk ) and two routers... how do hosts find out which egress
> >routers are up/down/congested/etc.
> >
> >I think that this was one of the things which HOMENET failed to do.
> >Yes, we could get some of this through routing protocols, but we were
> trying
> >to keep hosts from having to speak those.
> >
> >It seems like it's new work.... or never quite completed old work.
> >
> >I don't think it's enough that prefixes can get withdrawn via an absense
> of
> >the RA, and an absense of DHCPv6-PD renewal.  And many enterprises would
> >probably like to do some numbering of networks via more static allocation
> >rather than DHCPv6-PD. (Even I would prefer to do that at my home office)
>
> Ignoring DHCPv6 for a bit, we basically have 2 signals: the priority of a
> default router and the preferred/deprecated/invalid status of a prefix for
> use in SLAAC.
>
> If we assume that routers speak some kind of routing protocol, then the
> trick
> is how to translate the current routing state into RA announcements.
>
> Assuming routers work properly and speak a common routing protocol, then
> default router selection is something that can be ignored because routers
> can forward packets to each other and send redirect. We assume routers are
> connected by a high speed link, so even if a host selects the wrong
> router,
> routers should have enough bandwidth to forward traffic to the right
> router.
>
> So this mainly leaves the question of how to map routing state to prefixes
> that
> can be used for SLAAC. Basically, routers have to answer the question for a
> given prefix whether packets with a source address from that prefix can
> find a good path to the internet. If the answer is no, then the prefix
> should be deprecated. And if the situation lasts longer than a typical
> route flap, made invalid.
>
> We have RFCs the describe what hosts need to do that are very old. We have
> routing protocols. The only thing that may be missing is a document that
> decribes how to go from routing state to RA announcements. But that's not
> rocket science.
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>