[Bug 275217] [patch] net/dhcpd: Add ipv6-only-preferred option per RFC 8925

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Nov 2023 16:12:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275217

            Bug ID: 275217
           Summary: [patch] net/dhcpd: Add ipv6-only-preferred option per
                    RFC 8925
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mallorya@fastmail.com
                CC: koue@chaosophia.net
                CC: koue@chaosophia.net
             Flags: maintainer-feedback?(koue@chaosophia.net)

Created attachment 246449
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246449&action=edit
Patch which implements RFC 8925

RFC 8925 "specifies a DHCPv4 option to indicate that a host supports an
IPv6-only mode and is willing to forgo obtaining an IPv4 address if the network
provides IPv6 connectivity."

If you have a client that supports RFC 8925, you can see it working by adding
`option ipv6-only-preferred 300;` to your dhcpd.conf and verifying that your
client does not have an IPv4 address.

-- 
You are receiving this mail because:
You are the assignee for the bug.