[dhcwg] Re: Request for review: draft-drew-dhc-v4-routed-prefix-00

Brendon Drew <brendon@drewnet.com.au> Wed, 12 August 2026 10:51 UTC

Return-Path: <brendon@drewnet.com.au>
X-Original-To: dhcwg@mail2.ietf.org
Delivered-To: dhcwg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 46D7312873E49 for <dhcwg@mail2.ietf.org>; Wed, 12 Aug 2026 03:51:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786531899; bh=cbboG3LBEbxF8Ydjbnn1NN1fxzNHJ8CmOfZ1/01gegQ=; h=Date:From:Subject:In-Reply-To:References:To:Cc; b=ba4qC02H/KbOer2rxljrbDjBfIE//fV231kpgUm3V5toUrRuzni6ON8/3JryZwYFQ O4izYTnLA0DujhEnZQuv1SOVb4O/Xb7LgioAHJxksZwS9cMDlBNWdJL2bfV6z9jxI+ lOxtYFF2y9xYB1lHxTXXo48wQRKa4JfdR85lqEbQ=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=drewnet.com.au
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 rIdvTd56Zum2 for <dhcwg@mail2.ietf.org>; Wed, 12 Aug 2026 03:51:38 -0700 (PDT)
Received: from mail.bravoict.net (mail.bravoict.net [180.150.96.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 40A1A12873E37 for <dhcwg@ietf.org>; Wed, 12 Aug 2026 03:51:38 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5D03432C5C01; Wed, 12 Aug 2026 20:51:34 +1000 (AEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drewnet.com.au; s=dkim; t=1786531895; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=cbboG3LBEbxF8Ydjbnn1NN1fxzNHJ8CmOfZ1/01gegQ=; b=rV7vXB56LlNRanESWTL9kAvRaj2npd+UDYsbCQn/k++HPvWsfmw36qpgyfB79TXqeQ1HV6 s6Q7qFZ6DUb3Ou+73sM+QcAt+1C/Ch5bD874u2A+T75bpBYTwfjtkKo2RT1omMzcA41A33 3E+DD81F2tl0F+fVh68BkeRmjNmJPDBZZI/OY9QNiJ6/6B+cdUyJxceyzKG9hQpVUBClxw QimoXeW9A6B0DyO7fwuO8t1HhJnyZmgRb5Wtd5gDy5aUioWU4NQTxIPinMV3HXTnMy0zi/ BZ49Gj3XYyZiE/npB4tyudA7YaaMRrzvoZzuh6U7ZQgmuOcQVA0B/goj9ewX9A==
MIME-Version: 1.0
Date: Wed, 12 Aug 2026 20:51:31 +1000
From: Brendon Drew <brendon@drewnet.com.au>
Thread-Topic: Re: [dhcwg] Request for review: draft-drew-dhc-v4-routed-prefix-00
In-Reply-To: <CACrksOc3GJnXpaW36kdWAat+M8LN7KkRWnVvPoiRxiQsaLgoRA@mail.gmail.com>
Message-ID: <AF67D192-0D74-7741-B0F2-3B7D6D523FCC@hxcore.ol>
References: <DCAD6EE4-FA40-6F4F-8B58-F17F21183BCA@hxcore.ol>,<CACrksOc3GJnXpaW36kdWAat+M8LN7KkRWnVvPoiRxiQsaLgoRA@mail.gmail.com>
To: Christian Giese <christian=40rtbrick.com@dmarc.ietf.org>
Content-Transfer-Encoding: base64
Content-Type: text/html; charset="utf-8"
X-Last-TLS-Session-Version: TLSv1.3
Message-ID-Hash: AYOSLUJLAU3VLCSJ4BOR6Q3SXY4X5BCK
X-Message-ID-Hash: AYOSLUJLAU3VLCSJ4BOR6Q3SXY4X5BCK
X-MailFrom: brendon@drewnet.com.au
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dhcwg.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "dhcwg@ietf.org" <dhcwg@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [dhcwg] Re: Request for review: draft-drew-dhc-v4-routed-prefix-00
List-Id: Dynamic Host Configuration Working Group <dhcwg.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/3QUxxbmfue7OWJ8mQ47LASfwW_0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Owner: <mailto:dhcwg-owner@ietf.org>
List-Post: <mailto:dhcwg@ietf.org>
List-Subscribe: <mailto:dhcwg-join@ietf.org>
List-Unsubscribe: <mailto:dhcwg-leave@ietf.org>

Hi Christian,

Thanks very much for taking the time to read through the draft and provide such detailed feedback.

I agree that the potential routing loop is a real issue. If a client accepts a routed prefix but does not have a valid local or downstream route for it, traffic could fall back to the default route and be sent straight back towards the provider. Requiring a discard route covering the received prefix, with valid local or more-specific routes taking precedence, seems like a sensible safeguard. I'll incorporate that into the next revision.

Your point about the BNG acting as the DHCP relay is also particularly interesting.

My intention has been to leave the mechanism by which the DHCP server determines which routed prefixes belong to a subscriber out of scope. That information could come from RADIUS, static provisioning, an OSS/BSS, or another provider-specific mechanism.

However, I can see value in documenting that a BNG acting as the relay may observe the Routed Prefix option in the server response and associate the returned prefix with the relevant subscriber attachment. An implementation could potentially use that information when installing subscriber forwarding state, while leaving the actual route installation and provisioning mechanism outside the scope of the DHCP option itself.

I also agree that TR-069/ACS should be mentioned as an existing way of achieving automatic configuration. I think there is an important distinction, though, in that TR-069 requires a management relationship between the provider and the CPE and depends on the required configuration being exposed through the device's management model.

That may be entirely appropriate for provider-managed CPE, but it is not always available or desirable, particularly with customer-owned or otherwise unmanaged equipment.

The intent of the Routed Prefix option is instead to provide a narrowly scoped standards-based capability. The provider communicates the network state — essentially, "this prefix is routed toward you" — without requiring a general management interface into the CPE. A device can selectively implement this DHCP capability without granting the provider broader management access.

Manual configuration, TR-069, and other provisioning methods would remain completely valid. The purpose of the option is simply to provide an interoperable mechanism for automatically communicating the routed-prefix information where both sides support it.

I'll work these points into -01.

Thanks again for the review. 

Regards,

Brendon Drew




From: Christian Giese <christian=40rtbrick.com@dmarc.ietf.org>
Sent: Wednesday, August 12, 2026 7:21:45 pm
To: Brendon Drew <brendon@drewnet.com.au>
Cc: dhcwg@ietf.org <dhcwg@ietf.org>
Subject: Re: [dhcwg] Request for review: draft-drew-dhc-v4-routed-prefix-00

Hi Brendon,

Thank you for putting this draft together. I really like the idea and completely agree that this addresses a valid use case for broadband access.

This specific domain is always a bit tricky to navigate within the IETF since it touches multiple working groups, and there isn't an explicit WG dedicated to broadband. I had a similar experience with my own draft (https://datatracker.ietf.org/doc/draft-giese-dhcp-rate-signaling/01/" rel="nofollow">https://datatracker.ietf.org/doc/draft-giese-dhcp-rate-signaling/01/), which will now find its home in the INTAREA (Internet Area) working group, as is the case for many other broadband-related topics.

The draft looks good overall, but I noticed one critical topic is currently missing: routing loop prevention.

Assigning routes statelessly can cause dangerous routing loops. It is great that the draft already requires this option to only be sent if the client explicitly signals support via the Parameter Request List (PRL). However, there is no mechanism for the client to signal back to the network if its LAN interface goes down or if the address fails to install for some reason. If that happens, the client could end up bouncing traffic destined for that prefix back to the upstream router via its default route, creating a loop.

To mitigate this, I suggest adding language that mandates clients supporting this option MUST install a discard (null) route for each received prefix. This acts as a safety net in addition to installing the prefix on a LAN link or loopback interface. This is also crucial if a client only expects one prefix but receives multiple; it must safely discard traffic to those unexpected addresses and never send it back.

A couple of other suggestions for the draft:
  • Alternatives: Consider explicitly mentioning TR-069 (ACS) as one of the existing alternatives used in the industry today for this specific use case.
  • BNG / DHCP Relay Use Case: It would be highly beneficial to address the common scenario where a Broadband Network Gateway (BNG) acts as a DHCP relay agent. In this setup, the BNG could learn these delegated prefixes and install the necessary routes downstream toward the client.
Looking forward to seeing how this draft progresses!

Best regards,
Christian Giese

On Wed, Aug 12, 2026 at 9:58 AM Brendon Drew <brendon=40drewnet.com.au@dmarc.ietf.org> wrote:
>
> Hi all,
>
> I've recently submitted an individual Internet-Draft, draft-drew-dhc-v4-routed-prefix-00, defining a DHCPv4 option for communicating IPv4 prefixes that are routed toward the requesting router.
>
> The draft is here: https://datatracker.ietf.org/doc/draft-drew-dhc-v4-routed-prefix/" rel="nofollow">https://datatracker.ietf.org/doc/draft-drew-dhc-v4-routed-prefix/
>
> The motivating use case is an ISP subscriber connection where the CPE receives an ordinary attachment address, potentially from the CGNAT shared address space, while one or more separate public IPv4 prefixes are routed toward that subscriber.
>
> The intention is to provide a generic way for the DHCP server to communicate, in effect, "this prefix is routed toward you", without requiring the routed prefix to be treated as an on-link subnet or used as the DHCP-assigned interface address.
>
> I would particularly appreciate feedback on:
>
> Whether there is existing DHCP functionality or prior work that already addresses this use case.
> Whether the proposed option encoding is appropriate.
> The proposed client and server behaviour.
> Any operational, interoperability, or security issues I have overlooked.
> Whether this work is appropriate for discussion within DHC, or would be better handled elsewhere within the IETF.
>
> This is my first Internet-Draft, so I am very much treating -00 as the start of the discussion rather than a finished proposal.
>
> Thanks in advance for any review or comments.
>
> Regards,
>
> Brendon Drew
>
> _______________________________________________
> dhcwg mailing list -- dhcwg@ietf.org
> To unsubscribe send an email to dhcwg-leave@ietf.org