[IPv6]Re: [v6ops] Re: [dhcwg] Re: Re: Re: Android now supports DHCPv6 PD

Lorenzo Colitti <lorenzo@google.com> Wed, 17 September 2025 00:00 UTC

Return-Path: <lorenzo@google.com>
X-Original-To: ipv6@mail2.ietf.org
Delivered-To: ipv6@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 2D82063EB3CC for <ipv6@mail2.ietf.org>; Tue, 16 Sep 2025 17:00:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lhuAiPGjTozY for <ipv6@mail2.ietf.org>; Tue, 16 Sep 2025 17:00:16 -0700 (PDT)
Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 60E7663EB3BE for <6man@ietf.org>; Tue, 16 Sep 2025 17:00:16 -0700 (PDT)
Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-2570bf605b1so60064965ad.2 for <6man@ietf.org>; Tue, 16 Sep 2025 17:00:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1758067215; x=1758672015; 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=RLOrrjq9I2t/l2RFq01+Z708FyhVMt0RN102TAlCb40=; b=kbIFQc0ttdo+9qUyMiQDZFJfVKhMqD7om0pwn6ZbT4YYZi6xdlkj4y+hCeMxBSLwMY k9+7To8O0shxIG4lc6JdSXbp6xpmrFAFQnhLy3awwIumJvcX3vq+9V48ukrZbUT0l0C/ 7xqnwsiYyd05cKftma3UNZ77JRpOhFNqlS4vHAu8YPAI8INRDfO/Q9lRj83TGXB2xBxI XcTlV+kT0A2wooNMxyElEXzaoUIKiOa/8hTbqB5iro2eJkogol7AzSJkqPU7zMg4HxJj Z/PAkcDP2xFSC/r/k1fwqcD6XqXY0oyfa4wLkq7ZdxBjZrn5FpwmHTf7dRSQz+7wQifP i3Yw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758067215; x=1758672015; 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=RLOrrjq9I2t/l2RFq01+Z708FyhVMt0RN102TAlCb40=; b=mBbT8NAxJA2rnCxVELP2CoANHjUCg+WOcBw/d86qRNOzI9daEDrMwZE120oe7r8UzV RjJ3kfE7rT/LFn+6MTLXebktdE4B7vAQQMkl1qhdaHUwgqfbQjnCQfKtmH6nbjjORaGj IjjHeJSjPIuHYE7+ECYn8hJF7DLwN8/x4EyOl1WdZyvpOZfAetweocjxOq9rgWasRM7K y4/KgpiCwmuERbKApFAD0yJYxgrvsbZYI2rUz9vyNOD1GeA+lXzELBHV6BBKdfVuHGBi jTap8g+XspZr0cwAEr5Fc0gmAPiHeS8qCRMz5Qn8EnbbHB3zctrfDLqyz2LbM/u3mZcn KByA==
X-Gm-Message-State: AOJu0YyWhfWh26o/wQ6UlXTnihLifSMiTvgAicnWBVQwGanzMZz1cwC7 NcWbluOMsb665hn4ZBRyzDgajzvjZ/SGHS2SChKaXLVX1mNMhTHtmIXiXnS2KXr9mLC+TRUzpAa 4ZI2XUBo97Tvbl+8otsp6/VCQawh8JmDBOEvU6Dik
X-Gm-Gg: ASbGnculG2P6iYubMkxX4byG6UoPnmObOXVpUwc+LIgJMYyvE5prNRqe9yDd8UjfsOu bED74BMiRNet3c4mZKa5dzKmvjotfxjMRnRvU6IXIWxNVg5MhvbOL+0fRZ2jAHJoGszDwumgrfz Et4IRFyyRd2e6njQ0I4+gy411s1GFqJI2mfYZ6W8RQaxHSni6I1lE7lPZeTSWSFKflIePtzGOUL dyvbFwaT2N4v+o4Y3JRuQbQgL16U8Kw5z5SYQUaeW2Yy6fP
X-Google-Smtp-Source: AGHT+IHRyYZgPl1lTHK0yEy9e7f6P6DUIFOnywi3UEJcWsFw/WKnSdsZRTamsY9rDbRcbPirlIy6775JVaLI9ItVfDY=
X-Received: by 2002:a17:902:d4c8:b0:267:bd8d:1c3 with SMTP id d9443c01a7336-26810ddabacmr2106065ad.0.1758067214535; Tue, 16 Sep 2025 17:00:14 -0700 (PDT)
MIME-Version: 1.0
References: <CAKD1Yr1XKoBNJqBbuiR1ZthZPTqaN+099RdhhHTSSGJBF5EUpw@mail.gmail.com> <CAP6_FRxO5Oem05cAMOuKK=ckR6VOG_pQteJzNkjES6czSVmvdw@mail.gmail.com> <CANP3RGcAhHX859-9EW4ozUJYYHaeaYsK7pqbBb-ytuqyT-ZTEw@mail.gmail.com> <CAKD1Yr32GdvEhh7kKCuPT3RGoKo0ojo-W6Kiy-euD1aP9RjpLg@mail.gmail.com> <DB9PR07MB7771A785A9FF09DEA6E66D7DD614A@DB9PR07MB7771.eurprd07.prod.outlook.com> <CAKD1Yr1g8=6B9o4BNtrKaeLvTajuQ8P4rjv-N+15UOAMXPujhA@mail.gmail.com> <CAO42Z2zHv=7HgqMj-USZMutJd8HNh9ad_ySZDZODq+zLgtZk0A@mail.gmail.com> <CACyFTPFuSeTE63vqBsWXzm9rG6e0Nq1WhunwGL0e4-qeCKNGVA@mail.gmail.com> <CACyFTPFwOdo3PMt6ddhCksF+x69PUQ4-ro6fv3P=D-2DOUE_Sw@mail.gmail.com>
In-Reply-To: <CACyFTPFwOdo3PMt6ddhCksF+x69PUQ4-ro6fv3P=D-2DOUE_Sw@mail.gmail.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Wed, 17 Sep 2025 08:59:59 +0900
X-Gm-Features: AS18NWBqP-3ta1w4bJc15o9frkviK401EexzBfqaY1o9F7KPv3Fxumw0vRcLjE0
Message-ID: <CAKD1Yr2arrgqOT3D6s1w2grJ3M7KbXBNdfYX4xUu4QqFbp+Lww@mail.gmail.com>
To: Daryll Swer <contact=40daryllswer.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d0ec2d063ef3eb37"
Message-ID-Hash: O24UDWHP3MTW34WPJHEXZKOBBGWJB3QU
X-Message-ID-Hash: O24UDWHP3MTW34WPJHEXZKOBBGWJB3QU
X-MailFrom: lorenzo@google.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ipv6.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: 6man <6man@ietf.org>, "v6ops@ietf.org WG" <v6ops@ietf.org>, dhcwg <dhcwg@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [IPv6]Re: [v6ops] Re: [dhcwg] Re: Re: Re: Android now supports DHCPv6 PD
List-Id: "IPv6 Maintenance Working Group (6man)" <ipv6.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/X-ekxzlDgtDV-_un3bUO7J1TRlY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Owner: <mailto:ipv6-owner@ietf.org>
List-Post: <mailto:ipv6@ietf.org>
List-Subscribe: <mailto:ipv6-join@ietf.org>
List-Unsubscribe: <mailto:ipv6-leave@ietf.org>

Did you enable PD via the P flag or with the heuristic? If you use the P
flag but the A flag is still set, then the device will have IPv6 addresses
from both autoconf and PD, and it will generally only use one of those. In
this case they might be picking the SLAAC address. If you use the heuristic
(i.e., send an RA with non-zero lifetime, but no PIO, or with a PIO with
A=0), then the device should only have IPv6 addresses from PD.

Do the devices also have IPv4? Generally Android devices should prefer IPv6
over IPv4. Are you observing that all traffic just uses IPv4? If nothing
else, the connectivity probes (e.g., connectivitycheck.gstatic.com) should
always use IPv6. If you're seeing the devices remain IPv4-only then we need
to look into this further - get in touch off-thread and we can try to debug
together.

On Tue, Sep 16, 2025 at 10:09 PM Daryll Swer <contact=
40daryllswer.com@dmarc.ietf.org> wrote:

> Lorenzo
>
> From the perspective of a network operator, how do I verify the Android
> devices are actually making use of the PD they leased from the network? And
> how they sub-lease it, if they are doing that in some cases.
>
> For instance, in my personal home lab, I do /64 PD in addition to SLAAC,
> and some Android devices from other users indeed pulls a /64 lease, which I
> can see on my router/DHCPv6 server.
>
> But no traffic ever flows in/out of the delegated PD, the devices appear
> to pull the lease and then proceed to do nothing. These are non-AOSP
> Android devices, so it probably varies by many of the various Android OEM
> implementations. For example, Xiaomi devices floods my VLAN with Router
> Advertisements!
>
> *--*
> Best Regards
> Daryll Swer
> Website: daryllswer.com
> <https://l.shortlink.es/l/d23649aed4c2ecb19e878bc80984f94257888400?u=2153471>
>
>
> On Tue, 16 Sept 2025 at 18:08, Daryll Swer <contact@daryllswer.com> wrote:
>
>> I'm working on an IPv6 deployment right now where I accounted for RFC9663
>> or simply in other words: ia_pd on endpoints.
>>
>> I'm doing /38 per campus, /51 per VLAN, /60 per endpoint, 512 devices per
>> VLAN, 8192 VLANs/VNIs.
>>
>> The reason for /60s is an edge case involving users with compute nodes
>> and their own hypervisors. If I exclude this factor, then /64 per endpoint
>> is sufficient in other more common scenarios.
>>
>> --
>> Sent from my iPhone
>>
>>
>> On Tue, 16 Sep 2025 at 5:19 PM, Mark Smith <markzzzsmith@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> On Tue, 16 Sept 2025 at 19:05, Lorenzo Colitti <lorenzo=
>>> 40google.com@dmarc.ietf.org> wrote:
>>>
>>>> Recommendations for network operators are written in RFC 9663. Some
>>>> text about expected prefix lengths is in section 8 of that RFC. RFC 9762
>>>> says the prefix must be SLAAC-sized, which currently means it must be a /64
>>>> per device. A /48 is fine for a small or medium network, but a campus with
>>>> tens of thousands of devices on it probably needs more than that.
>>>>
>>>
>>> I would assume (and I'm interested to find out otherwise) that once a
>>> network gets to say 30K hosts, then they've moved to BGP as their main
>>> routing protocol. 65 536 /64 routes in BGP is a walk in the park, so a /48
>>> for a network of say 50K hosts each with is own /64 and 15K /64s left over
>>> for everything else would seem to be a large network. In other words, I
>>> think a /48 would suit all but the largest networks.
>>>
>>> Are there large enterprise or university networks with 10s of 1000s of
>>> hosts that aren't using BGP (yet?).
>>>
>>> Regards,
>>> Mark.
>>>
>>>
>>>>
>>>> On Tue, Sep 16, 2025 at 5:59 PM Tim Chown <Tim.Chown=
>>>> 40jisc.ac.uk@dmarc.ietf.org> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>>
>>>>> Good news, thanks.
>>>>>
>>>>>
>>>>>
>>>>> What’s the recommended deployment model for PD to the host in a campus
>>>>> WiFi scenario?   I can certainly see advantages for it, as you’ve
>>>>> highlighted in your email.  The linked article explains “what this means
>>>>> for app developers” but a “what this means for enterprise/campus network
>>>>> operators” would be useful.
>>>>>
>>>>>
>>>>>
>>>>> Is it a given that in a middling or large campus the operator will
>>>>> need to now receive more than a /48 from their NREN?  Or was that always
>>>>> too cautious?  A small but growing number here are obtaining LIR status
>>>>> directly.
>>>>>
>>>>>
>>>>>
>>>>> Tim
>>>>>
>>>>>
>>>>>
>>>>> On 16/09/2025, 09:49, "Lorenzo Colitti" <lorenzo=
>>>>> 40google.com@dmarc.ietf.org> wrote:
>>>>>
>>>>>
>>>>>
>>>>> There was a typo in the original post. It was fixed earlier today; it
>>>>> now says "Android 11 and above"
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 16, 2025 at 3:21 PM Maciej Żenczykowski <maze=
>>>>> 40google.com@dmarc.ietf.org> wrote:
>>>>>
>>>>> There's a reddit thread:
>>>>>
>>>>>
>>>>> https://www.reddit.com/r/Android/comments/1nhzsst/android_developers_blog_simplifying_advanced/
>>>>> <https://l.shortlink.es/l/94320df07ba30152b776a3bb291de9de682ecb31?u=2153471>
>>>>>
>>>>> First comment:
>>>>>
>>>>> There's a mistake in the page: running Android and above before the
>>>>> end of the year via a Google Play System Update.
>>>>>
>>>>> Which version?
>>>>>
>>>>>
>>>>> On Tue, Sep 16, 2025 at 3:59 AM Stan Barber <sob@academ.com> wrote:
>>>>> >
>>>>> > Congrats!
>>>>> >
>>>>> > On Mon, Sep 15, 2025 at 6:32 PM Lorenzo Colitti <lorenzo=
>>>>> 40google.com@dmarc.ietf.org> wrote:
>>>>> >>
>>>>> >> FYI, we announced DHCPv6 PD support on Android today:
>>>>> >>
>>>>> >>
>>>>> https://android-developers.googleblog.com/2025/09/simplifying-advanced-networking-with.html
>>>>> <https://l.shortlink.es/l/e1fede7071e6cf4b46d6593b2ad9cd6dd3156bfa?u=2153471>
>>>>> >>
>>>>> >> This change should already be live on most Android devices running
>>>>> Android 11 and above. Specifically:
>>>>> >>
>>>>> >> RFC 9762: if the P flag is set, the device will ask for a
>>>>> SLAAC-sized prefix, and if it gets it, use it to form addresses. Some
>>>>> devices will also disable SLAAC as per the SHOULD in the RFC. Not all
>>>>> devices will support this because it requires a kernel change which will be
>>>>> rolling out over the coming months. In future releases, we expect that the
>>>>> prefix will be shared with downstream devices, wearable devices, VMs, etc.
>>>>> >> Heuristic: if the device obtains a default route but not PIO, it
>>>>> will ask for a prefix, and if it gets it, use it to form addresses. This
>>>>> allows DHCPv6-only networks to support Android devices today without having
>>>>> to upgrade their routers to set the P flag.
>>>>> >>
>>>>> >> Over the next few months we also plan to roll out support for
>>>>> DHCPv6 address registration (RFC 9686).
>>>>> >>
>>>>> >> I would like to thank everyone who contributed to RFC 9663, RFC
>>>>> 9762 and RFC 9686. We think that DHCPv6 PD is *better* than either SLAAC or
>>>>> IA_NA, because it allows the device to provide end-to-end connectivity to
>>>>> unlimited devices, containers, VMs etc. without scaling load on the
>>>>> network. Plus the prefix can be tracked and managed by the operator, which
>>>>> means that it should be possible to deploy it in networks that require
>>>>> DHCPv6 or that have scaling issues dealing with many addresses. We hope
>>>>> that this will allow at least some enterprise operators to deploy IPv6 to
>>>>> Android devices.
>>>>> >>
>>>>> >> Cheers,
>>>>> >> Lorenzo
>>>>> >> _______________________________________________
>>>>> >> v6ops mailing list -- v6ops@ietf.org
>>>>> >> To unsubscribe send an email to v6ops-leave@ietf.org
>>>>> >
>>>>> > --------------------------------------------------------------------
>>>>> > IETF IPv6 working group mailing list
>>>>> > ipv6@ietf.org
>>>>> > List Info: https://mailman3.ietf.org/mailman3/lists/ipv6@ietf.org/
>>>>> <https://l.shortlink.es/l/8c35987be16c96d285bacf1db33a24154967198a?u=2153471>
>>>>> > --------------------------------------------------------------------
>>>>>
>>>>> --
>>>>> Maciej Żenczykowski, Kernel Networking Developer @ Google
>>>>>
>>>>> _______________________________________________
>>>>
>>> dhcwg mailing list -- dhcwg@ietf.org
>>>> To unsubscribe send an email to dhcwg-leave@ietf.org
>>>>
>>> _______________________________________________
>>> v6ops mailing list -- v6ops@ietf.org
>>> To unsubscribe send an email to v6ops-leave@ietf.org
>>>
>> [image: 9eb9e675cfd5983f2907e91254d424679cc4450a]
>
>