Re: IPv6 address usage (was: Re: RFC4941bis: consequences of many addresses for the network)

Michael Richardson <mcr+ietf@sandelman.ca> Fri, 24 January 2020 20:23 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 DA867120858 for <ipv6@ietfa.amsl.com>; Fri, 24 Jan 2020 12:23:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 iJk2vAMRUwXU for <ipv6@ietfa.amsl.com>; Fri, 24 Jan 2020 12:23:45 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2364C120884 for <ipv6@ietf.org>; Fri, 24 Jan 2020 12:23:45 -0800 (PST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 2F9D33897F; Fri, 24 Jan 2020 15:23:09 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 5BFD860A; Fri, 24 Jan 2020 15:23:43 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Fernando Gont <fgont@si6networks.com>
cc: IPv6 List <ipv6@ietf.org>, "Pascal Thubert (pthubert)" <pthubert@cisco.com>, Bob Hinden <bob.hinden@gmail.com>
Subject: Re: IPv6 address usage (was: Re: RFC4941bis: consequences of many addresses for the network)
In-Reply-To: <70bc3e67-796e-983c-c418-8d5e189f820c@si6networks.com>
References: <03C832CE-7282-4320-BF1B-4CB7167FE6BE@employees.org> <2044DC74-3529-45BF-9886-56030B5EA515@gmail.com> <059D9CB7-9677-4CD2-BCDC-2393FA072BD7@cisco.com> <240550a2-803b-b108-5261-564c22a1eae0@si6networks.com> <30845.1579886425@localhost> <70bc3e67-796e-983c-c418-8d5e189f820c@si6networks.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 25.1.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-sha256"; protocol="application/pgp-signature"
Date: Fri, 24 Jan 2020 15:23:43 -0500
Message-ID: <14350.1579897423@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/aO1WpqEpbFO93VJAYSRxTQ3j62g>
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: Fri, 24 Jan 2020 20:23:47 -0000

Fernando Gont <fgont@si6networks.com> wrote:
    >> I think that it is reasonable to establish an upper limit (8? 16?) of number
    >> of entries per MAC address in a border router in those environments.

    > HOw would that go along with RFC7834/BCP204?

1) Number of Neighbor Cache Entries, not necessarily addresses...
2) there is a different between avoiding the limit of "1" address and
   suppporting NCE 2^8 per host.  A /64 delegation occupies 1 NCE, or
   more accurately, 1 TCAM entry. It's likely that routing and NCE
   occupy the same TCAM.
3) a problem with PD per-host is that the upper bits are now unique for host,
   which makes 4941 somewhat useless, because you can't really hide in a
   crowd of one.

    >> (Are there such controls today in APs/routers?)

    > I'm aware there are things like that for devices implementing first home
    > security.

    > Now, given that rfc4941 is a deployed reality, trying to enforce a limit
    > that's so close to the number of addresses that a host might use -- as per
    > rfc4941 -- doesn't seem to be a good idea (actually, it's asking for
    > breakage).

I agree.

    >> This is exactly the place where temporary addresses make the most sense.
    >> The only reason it isn't a problem now is because (a) lack of IPv6,
    >> (b) most coffee-shop visits are shorter than lifetime.

    > Where, specificallt, would you expect temporary addresses to be causing
    > trouble?

On a network like the IETF's, where supporting 1500 laptops winds up
requiring 64K NCE entries in every router, and we have only 8K.
On a campus network I can see there being 30,000 student-devices.
If we allow for 8-16 per device, that's probably manageable, but 200 per
device is not.

What's *really* bad is that the failures are really hard to diagose, do not occur
for IPv4 (makes IPv6 look bad), and are "fixable" by rebooting the device.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-