Re: Reinventing Site-Locals (Re: easy to remember addresses and /etc/hosts and DNS)

Brian E Carpenter <brian.e.carpenter@gmail.com> Sat, 27 April 2019 02:42 UTC

Return-Path: <brian.e.carpenter@gmail.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 A572B120144 for <ipv6@ietfa.amsl.com>; Fri, 26 Apr 2019 19:42:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham 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 0xz-Dyh9iOPp for <ipv6@ietfa.amsl.com>; Fri, 26 Apr 2019 19:42:48 -0700 (PDT)
Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (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 C9DF8120131 for <ipv6@ietf.org>; Fri, 26 Apr 2019 19:42:48 -0700 (PDT)
Received: by mail-pg1-x542.google.com with SMTP id p6so2435275pgh.9 for <ipv6@ietf.org>; Fri, 26 Apr 2019 19:42:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jNZCiQ0BHHLgmjLHHH3KvhcW9T+EU4uPwZpVv358wYc=; b=u9TXcyL7hPdPeUWQpdGBdowLv9MnEgi4C5HOTJENQ9dh2pKgzt0c/lE/wGUhhyrLIT 31xZXPXQKgVIFn7hVfbU1lyG4RLT36geGZQmd/EhV7xFTJEKlRdvtZFpHQHym2HtvjnJ kSiERSvkT0wJOzaiE0CkJjV1AKoyDKqn0FoMLnZ7U14yZR2IfM0cIIvr0XdJcZZE8+LL H9v2XHYunKJvqLUho4m5R2CaumRiAXLULqGvs3OS2MXuMZfnB+XCG3q7AVcRBUUw4yBr YxnAvb72vbpJ+JNXGIm9g0oa0XBs2+ChhxbVnOFNd/YkR7N18RmBZva6aOssOkGcPyKw d+dw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jNZCiQ0BHHLgmjLHHH3KvhcW9T+EU4uPwZpVv358wYc=; b=smhG3hAdfnXlU4g+BNNG24pF2K4RteTBvR0wLZmOj2kFWA11ko2+Cgb2mfVy6A6hxL NHM1nx1tVikXCSdppojT8NH+M7RsuxOoS6C+FlBgKWf0fTNmVly1wbMQvyihTH/N1Yn8 I0THj6uhDJFH6MHrx/opeI+imVf9KRGInJK+y2Cmc9IwVT7TfsYAha/tjbzlkJXPOZMm tjy1q1WNLcKc2zjJGKmMHv04f3GzpSKkWD3Ra+6hsFiE09L/RNH5zqOUmryk96jb7dF7 o3jIjUdvoCRvWmKxalLxfXfhTGb5qtVGphHaky/YsYnLqCj5GvdHJnIjUint5rAZtGcB H/ng==
X-Gm-Message-State: APjAAAWYvjcKhfAO+DD9i7BovnHoXUloVYwQMb64jofAFQaz2yWaTBvc QYwQLVtIV8sxx/ytsamZMSoAgT+e
X-Google-Smtp-Source: APXvYqyU5w3JvPgm7KaZpSSfVryL3QnmLSncrdesCO+X4R+/wegG9OobmR/11oc4NqTUM29mgvmtzQ==
X-Received: by 2002:a63:1658:: with SMTP id 24mr603157pgw.24.1556332965607; Fri, 26 Apr 2019 19:42:45 -0700 (PDT)
Received: from [192.168.178.30] ([118.148.72.205]) by smtp.gmail.com with ESMTPSA id d68sm59247175pfg.16.2019.04.26.19.42.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 19:42:44 -0700 (PDT)
Subject: Re: Reinventing Site-Locals (Re: easy to remember addresses and /etc/hosts and DNS)
To: Mark Smith <markzzzsmith@gmail.com>, Alexandre Petrescu <alexandre.petrescu@gmail.com>
Cc: Philip Homburg <pch-ipv6-ietf-6@u-1.phicoh.com>, 6man WG <ipv6@ietf.org>
References: <bb7f7606-2adf-e669-8bcd-e41f17800782@gmail.com> <6bd5db47-408a-727e-5c13-f34a3465f986@si6networks.com> <CAJE_bqfTLqRbLp4fLu2ASZuZ+4G5c2G+RXkO92kXfLgPTqBnng@mail.gmail.com> <EEF00EA7-2AAF-403F-99AD-1D53ED18E8B3@cisco.com> <CAJE_bqe8OXPWRDvXEY66gZHiBgv37OV67YB27WoEtq_VmBqieQ@mail.gmail.com> <3F852B26-FD19-445D-A8E9-94BCBB9BE7C1@gmail.com> <455C3D20-E71B-4DF4-837E-081964E3328A@gmail.com> <19275484-3fa5-7c4e-3624-b861ddea6e2f@gmail.com> <2B1FBA08-3DDB-4287-B2B4-11324334B7FC@employees.org> <5b3f148a-3f61-66ea-716a-9f29cb4de346@gmail.com> <m1hJazF-0000ILC@stereo.hq.phicoh.net> <b6cb92ac-859e-cf8a-d4cf-1115ff7a8241@gmail.com> <b810937b-8989-1c61-89b8-2b8ee176587a@gmail.com> <CAO42Z2z+SYZnf2TztPVW3h6mZFj6B8BKqDsa=vcsLJ1gmz6gpQ@mail.gmail.com> <7131ea21-1a0c-ebe7-d08b-50747f8c4229@gmail.com> <CAO42Z2yuh3jtU6YJMoyCOruZozyyEgTxeeBpot2jqMW5S=zWfw@mail.gmail.com> <6c84b452-ff6b-373d-2efb-9f4e337f0a5d@gmail.com> <CAO42Z2w_gk4yyrBhXydeB4P+9FV4XzqyKcib1_JspZ+xxYxeew@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <b702ff20-b3dd-f2b2-d51a-6801cfd74e9a@gmail.com>
Date: Sat, 27 Apr 2019 14:42:40 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <CAO42Z2w_gk4yyrBhXydeB4P+9FV4XzqyKcib1_JspZ+xxYxeew@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/vVDGRljU2f9YAFntjlhdR0u6OF8>
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: Sat, 27 Apr 2019 02:42:52 -0000

On 27-Apr-19 14:19, Mark Smith wrote:
> On Fri, 26 Apr 2019 at 21:36, Alexandre Petrescu
> <alexandre.petrescu@gmail.com> wrote:
>>
>>
>>
>> Le 26/04/2019 à 12:05, Mark Smith a écrit :
>>> On Fri, 26 Apr 2019 at 19:54, Alexandre Petrescu
>>> <alexandre.petrescu@gmail.com> wrote:
>>>>
>>>>
>>>>
> 
> <snip>
> 
>>>>>>
>>>>>> But think about three cars in a covoy; the convoy is disconnected from
>>>>>> the IPv6 Internet, yet fully connected on IPv6 between all computers in
>>>>>> the convoy.  Which of the cars should host the DNS server?
>>>>>>
>>>>>
>>>>> All of them.
>>>>
>>>> Mark,
>>>>
>>>> Thank you very much for the suggestion.  I will consider it.
>>>>
>>>> I would like to ask you: is multicast DNS (mDNS) working on a single
>>>> subnet only?  Or does it work across subnets?
>>>>
>>>
>>> I'm not an expert in mDNS or related, have just read enough to know
>>> what problem they're solving and (very) roughly how it works.
>>>
>>> DNS Service Discovery is intended to convey that information across subnets:
>>>
>>> http://www.dns-sd.org/
>>
>> I suppose DNS Service Discovery works ok on IPv6, and over multiple
>> subnets, and that it relies on the proper use of IPv6 multicast routing
>> protocols.
> 
> No, I'm pretty sure it doesn't. It's designed to be able to work over
> the Internet, so no multicast required.

Correct. I played with it a bit as a peripheral aspect of the ANIMA WG and both unicast DNS and mDNS could be used. There are examples like _printer._sub._http._tcp.dns-sd.org. around for testing.

    Brian

>> I never tried IPv6 multicast routing protocols on links
>> involving OCB (a kind of stripped ad-hoc WiFi at 5.9GHz).
>>
>> I suppose the use of DNS resolver address in RA is also an option in
>> this space.  I have tried this DNS-in-RA and it works ok.
>>
>> Whether DNS-in-RA, DNS-SD and mDNS should be used in cars, and how, can
>> be a subject of debate.  There is a Problem Statement draft in the
>> IPWAVE WG that lists in section "DNS Naming Service" some considered
>> problems.
>>
>> Until these things get fixed (how to use DNS in car convoy?) I need the
>> manual configuration of easy to remember link-local addresses
>>
> 
> It will be much easier to adapt existing name and resource discovery
> methods and protocols to your problem space than to get RFC4291
> updated to include a unique subnet ID in Link-Local addresses.
> 
>> When DNS works in car convoys, I expect other inconvenients using
>> name-to-address mappings compared to IP address literals.
>>
> 
> You need to read "The Design of Everyday Things" if you think typing
> in IP address literals is more user friendly than device names.
> 
> https://en.wikipedia.org/wiki/The_Design_of_Everyday_Things
> 
> 
> The importance if giving names to devices instead of expecting users
> to remember numbers has been recognised for at least as long as the
> last 47 years, when the ARPA Network only had 20 hosts on it, and
> single octet addresses -
> 
> RFC 226, "STANDARDIZATION OF HOST MNEUMONICS", 20 SEPT 71.
> 
> 
> Discovery of services and resources with names on the network is as
> least as old as 1982 -
> 
> (Xerox) "Grapevine: An exercise in distributed computing"
> http://birrell.org/andrew/papers/Grapevine.pdf
> 
> 
>> I might need to update the DNS servers' files with new IPv6 Link-Local
>> address to name mappings, whenever a faulty interface is replaced, or
>> when USB interface keys are moved, or when 1Gb Ethernet cards are
>> migrated to 10Gb Ethernet.
>>
>> If I am to update files, why not updating rather the computer startup
>> scripts (not DNS)?  These computer startup scripts are present in all
>> computers, including embedded, as unencumbered and open source.
>>
>> Second,
>>
>> If I use DNS names I must remember a name like:
>> front-Lead-First (means the IP address on the front bumper of the
>>                    Follower, in the subnet between Lead and First
>>                    Follower)
>> rear-Lead-First
>> front-First-Second
>> rear-First-Second
>> etc.
>> These names are too long to type.  So I would abbreviate them to:
>> flf
>> rlf
>> ffs
>> rfs
>> etc.
>>
>> These flf, rlf, etc are no less cryptic than a literal like fe80:1::1 is.
>>
>> The short IP address literals are loved and understood by more people.
>>
> 
> A test for you. Which would you find easier to remember?
> 
> This series of numbers?
> 
> 821
> 826
> 791
> 1035
> 
> 
> 
> or this series of acronyms and what they stand for?
> 
> SMTP
> ARP
> IP
> DNS
> 
> 
>>>> (because the numerous computers in these three cars are not all on a
>>>> single subnet; they are all interconnected with IP, but there are
>>>> multiple subnets with routers in between).
>>>>
>>>
> 
> Right. This confirms my suspicion. If you got us to add Subnet IDs to
> Link-Local addresses, I'm confident you'd next be lobbying them to be
> routeable across different links attached to routers.
> 
> In other words, you'd want these Link-Local addresses to have a scope
> that is greater than a link.
> 
> We used to have an address space for that, called the Site-Local address space.
> 
> Read why they were deprecated and then replaced by ULAs in RFC 3879.
> 
> You won't like that they're easy to type, however that is the cost of
> solving all of the issues described in RFC 3879.
> 
> (If you wanted a problem description of the problems that duplication
> IPv4 address spaces cause i.e. RFC1918 addresses, RFC 3879 would serve
> that purpose too - as does RFC1627 - "Network 10 Considered Harmful
> (Some Practices Shouldn't be Codified)".)
> 
>>> There may be other options that better suit or can be better made to
>>> suit what you're trying to do, such as the work done in the Homenet or
>>> the ANIMA Working Groups.
>>>
>>> Autonomic networking (the focus of ANIMA WG), sounds like it might be
>>> working on solutions to your problem domain.
>>>
>>> "Autonomic networking refers to the self-managing characteristics
>>> (configuration, protection, healing, and optimization) of distributed
>>> network elements, adapting to unpredictable changes while hiding
>>> intrinsic complexity from operators and users."
>>
>> Yes, they should be considered.
>>
>> I will make this suggestion in the IPWAVE WG for the Problem Statement
>> draft.
>>
> 
> Good.
> 
> We really shouldn't have cars that can literally drive themselves,
> while at the same time expecting end users (or anybody) to be spending
> a lot of time typing in literal IP addresses.
> 
> Typing in literal IP addresses is the car equivalent of starting the
> engine with a hand crank at the front bumper. Most cars stopped being
> started that way in the 1920s.
> 
> Regards,
> Mark.
>