Skip to content

DHCP option 108 (IPv6-Only Preferred) can break Chromecast and other local discovery

DHCP option 108, standardised in RFC 8925 as IPv6-Only Preferred, is how an IPv6-mostly LAN tells capable clients they may forgo an IPv4 address. Clients that requested the option, and that receive a valid one, should stop DHCPv4 for a wait timer of at least 300 seconds, or until a network attachment event, and may disable IPv4 on that interface. Chromecast, Nest speakers, NVIDIA SHIELD and similar devices have been reported to keep IPv4 and to advertise themselves over mDNS. Google names ports 8008, 8009 and 8443 in its port-forwarding warning for those products. A phone that has dropped IPv4 may then be unable to reach them, unless it still has IPv4 link-local, the accessory also works on IPv6, or a translator such as NAT64 and CLAT is actually used for that flow. NAT64 does not automatically help with private IPv4 destinations when the well-known prefix is used. This post explains the protocol, the failure mode, and how to scope the option in Kea and RouterOS. We have not lab-tested the steps.

By Nishant Gauraw, NG-NeXTPublished Updated 12 min read

You enable DHCP option 108 because you want an IPv6-mostly LAN. Phones that asked for the option, and that receive it, should stop DHCPv4 and may drop IPv4 on that interface, which is the point. Then the Cast app finds nothing: no Chromecast, no Nest speaker, no NVIDIA SHIELD.

The failure is easy to misread as broken multicast or a stubborn IPv6-only experiment. It is usually simpler than that. Option 108 only affects clients that requested the option and received it. The Cast devices typically never ask, so they stay on IPv4. Discovery and the control connection have been reported as IPv4-first on those devices. The phone and the speaker are then on the same SSID and cannot talk.

This post is a protocol and operations reference. The option behaviour is taken from RFC 8925, from Kea's DHCPv4 manual, and from the RouterOS DHCP server reference. The Cast failure mode is a reported pattern, including a late-November 2026 thread on r/ipv6, not a lab result from NG-NeXT. We have not reproduced it.

What option 108 actually does#

RFC 8925, published in October 2020, defines DHCPv4 option 108, IPv6-Only Preferred. A client that is willing to run without IPv4 on that interface puts code 108 in the Parameter Request List of its DHCPDISCOVER and DHCPREQUEST messages. It does not send the full option. The server is the one that returns the option, with a four-byte value.

That value is V6ONLY_WAIT, the number of seconds the client should disable DHCPv4. If the pool has a timer configured, the server must send that value. Otherwise it must send zero. If the value is below MIN_V6ONLY_WAIT, the client should set the timer to 300 seconds. The RFC's default V6ONLY_WAIT is 1800 seconds.

If the client requested the option and the offer contains a valid option 108, the client should not request the IPv4 address in the offer. It should stop the DHCPv4 process for V6ONLY_WAIT seconds, or until a network attachment event, whichever happens first. It may disable the IPv4 stack completely on that interface for the same period.

Two limits matter in practice:

  • A client that did not request option 108 must ignore it.
  • The server must not include the option unless the client requested it and the selected pool is configured as IPv6-mostly.

The RFC also says that when the server does send option 108, it should not assign an address from the pool and should offer 0.0.0.0. If the server or the network cannot do that, it may offer a real unused address, but it should not reserve that address, because a complying client is not expected to request it. If the client then issues a DHCPREQUEST anyway, the server must process it as ordinary DHCPv4.

The point of the option is IPv4 on demand. Capable hosts, typically modern phones and computers, can live on IPv6 plus a translator. Hosts that still need IPv4 keep getting a lease. RFC 8925 describes this for networks that provide IPv6-only connectivity such as NAT64, often with DNS64 or 464XLAT. Turning the option on is not the same thing as having that translator in place, and it is not a claim that every neighbour on the LAN speaks IPv6.

Why Cast breaks#

Google Cast discovery uses mDNS, with the service name _googlecast._tcp. Google's security tips for Chromecast, Nest and Google TV Streamer say to consider deleting ports 8008, 8009 and 8443 if they are listed in the router's port-forwarding settings, because those ports may unsafely expose the devices to the internet. The page is a port-forwarding warning, not a LAN protocol map, and it does not name a transport, but it is a primary list of ports those products use. Community measurements treat 8008 and 8009 as the usual control path.

A typical IPv6-mostly failure then looks like this:

  1. The phone requests option 108, receives it, and should stop configuring IPv4, either immediately on that exchange or, if it already has a lease, after a renew, a reconnect, or the wait timer.
  2. The Cast device never requested option 108, so it still has an IPv4 address. It may also have IPv6, or it may not.
  3. The device advertises itself over mDNS. If that advertisement is an IPv4 address, or if the control listener only works on IPv4, the phone may have no IPv6 path to it. An IPv4 link-local address, if the client configures one, can still reach an on-link IPv4 neighbour.

Publishing a AAAA record for the device does not fix a listener that is not there. If you can reach the device's IPv6 address with a neighbour table, test TCP 8009 over IPv6 before you invent records. Operator reports include a Chromecast that completed a TCP handshake on 8009 over IPv6 and then immediately sent a FIN, while the same port over IPv4 stayed up. That is one report, from 2026, and we did not reproduce it. A July 2024 discussion on the RIPE IPv6 working group list also recorded Chromecast Audio as a device that may have no IPv6 at all.

NAT64, the provider-side translator in 464XLAT terminology, is how an IPv6-only host is supposed to reach an IPv4-only destination. On that path the Cast device is reached as IPv4, so a native IPv6 listener on the device is a separate issue. For NAT64 to help with Cast, the phone has to translate the IPv4 address it learned from mDNS, and the translator has to be willing to handle that destination. RFC 6052 section 3.1 says the well-known prefix 64:ff9b::/96 must not represent non-global IPv4 addresses, such as the RFC 1918 addresses most home Cast devices use, and that translators must drop such traffic. A network-specific prefix is the documented way to carry those destinations. Caletka's November 2022 APNIC article reports that, on macOS 12, CLAT started only when option 108 was present and the Router Advertisement carried a PREF64 option (RFC 8781). In an April 2023 presentation he said that from macOS 13, CLAT starts without those special requirements. Treat the client details as reported, not as something we verified.

The practical conclusion is the same in every case we can source: option 108 did what the RFC says. The LAN was left with IPv6-only clients and IPv4-first accessories, and Cast is one of the accessories that still notices.

Step 1: Inventory the IPv4-only neighbours#

Before you enable option 108 on a LAN people actually use, list the local services that still expect IPv4 on that segment. Cast is the example that started this post. Printers, cameras, vendor desktop apps and older IoT often belong on the same list.

On a client you care about, look at the Parameter Request List in a DHCPv4 capture and see whether code 108 is present. On a Cast device, look at whether it has an IPv4 address after you enable the option, and whether it advertises A records, AAAA records, or both. That inventory decides whether you can turn the option on for the whole subnet, or whether you have to scope it.

Step 2: Scope the option, rather than debugging multicast first#

The reliable operational control is not to send option 108 to clients that must speak IPv4 to a neighbour on the same segment.

The most predictable layout is still a dual-stack VLAN or SSID that does not send option 108, used by the Cast devices and by the phones that must talk to them, with IPv6-mostly reserved for everything else. RFC 8925 describes that split as the traditional approach, and option 108 as the way to avoid it. For a home or small office where Cast still needs IPv4, the split is often cheaper than making CLAT, PREF64 and mDNS all line up.

If you want one segment, scope the option on the DHCP server.

In Kea, the DHCPv4 ARM lists a standard option named v6-only-preferred, code 108, type uint32. Put it in option-data on the subnet or shared network that should be IPv6-mostly, for example:

{
  "name": "v6-only-preferred",
  "data": "1800"
}

The data value is V6ONLY_WAIT in seconds. 1800 matches the RFC default. Do not assume that omitting the option from a host reservation or a client class will override the same option on the subnet. The reliable way to withhold it is a separate subnet or shared network that does not have the option at all. Kea's documented special handling for IPv6-mostly, including offering 0.0.0.0, is described when the option is configured on a subnet or shared network; check the ARM for the version you run. Validate the configuration with kea-dhcp4 -t /path/to/kea-dhcp4.conf before you reload it. We have not lab-tested a class, reservation or never-send layout.

In RouterOS, the DHCP server reference read on 29 November 2026 documents ipv6-only-preferred as a boolean on /ip/dhcp-server, default no. When it is yes, the server sends option 108 to clients that request it and gives those clients no IPv4 address. The wait time it sends is 0 seconds, which RFC 8925 clients raise to 300 seconds. Confirm that the property exists on the RouterOS version you run. Do not enable it on the same DHCP server that serves the phones you cast from unless those phones still have another way to reach the IPv4-only devices.

Step 3: If you keep IPv6-mostly and Cast on the same segment, test the real path#

Option 108 alone does not create a translator. If the phone has no IPv4, an IPv4-only speaker is reachable only through NAT64 and, for IPv4 literals, a CLAT on the client, or some other explicit proxy.

If you take that route, you need at least:

  • working IPv6 on the LAN, including Router Advertisements
  • a NAT64 prefix that can represent the destinations you actually need, preferably announced with PREF64, and not only the well-known prefix if those destinations are private IPv4 addresses
  • a test from the IPv6-only phone that opens the actual Cast app, not only a ping

RFC 6052 already requires a network-specific prefix, not the well-known prefix, for non-global IPv4 destinations. Confirm that your translator is configured that way before you blame the Cast app.

Then test the control port on the Cast device itself, over both families, from a dual-stack host that can see it:

nc -4 -vz <device-ipv4> 8009
nc -6 -vz <device-ipv6> 8009

Use the address the device actually has, not an address you published on its behalf. The -z flag is a connect scan: it does not send Cast protocol data, and it is not enough, on its own, to prove why a session failed or who sent a FIN. If IPv6 TCP 8009 is refused, a handmade AAAA record is unlikely to help a native IPv6 path, but that says nothing about a translated IPv4 path. The acceptance test is successful end-to-end casting from the IPv6-only client.

Forcing the Cast device itself onto IPv6-only, by not offering it DHCPv4, has been suggested as a way to make a dual-stack Chromecast advertise IPv6. The suggestion came with the caveat that it was untested, that older hardware may have no IPv6, and that IPv4-only apps would still not see the device. We have not tried it.

What we did not verify#

We did not lab-test option 108, Kea client classes or reservations, RouterOS ipv6-only-preferred, Chromecast, Nest, SHIELD, avahi-publish, NAT64, PREF64 or CLAT. We did not capture a Parameter Request List from current iOS, Android, macOS, Windows or Linux builds. Operating-system support floors are cited from dated third-party write-ups that do not all agree, so they are not stated here as a single matrix. The nc commands above are a method, not a result.

Evidence#

As of 29 November 2026.

ClaimStatusBasis
Option 108 is IPv6-Only Preferred, length 4, value V6ONLY_WAIT; clients request it only in the Parameter Request ListVerified against a primary sourceRFC 8925, October 2020, sections 3.1 and 3.2
MIN_V6ONLY_WAIT is 300 seconds; default V6ONLY_WAIT is 1800 seconds; a server with no configured timer must send 0, and the client raises a value below 300 to 300Verified against a primary sourceRFC 8925, sections 3.2, 3.3 and 3.4
The server must not send the option unless the client requested it and the pool is IPv6-mostly; it should offer 0.0.0.0, or may offer an unreserved addressVerified against a primary sourceRFC 8925, section 3.3
The option is intended for networks that provide IPv6-only connectivity such as NAT64, often with DNS64 or 464XLATVerified against a primary sourceRFC 8925, sections 1 and 4; RFC 6146; RFC 6877
Kea names the standard DHCPv4 option v6-only-preferred, code 108, type uint32Verified against a primary sourceKea DHCPv4 ARM, standard options table, read 29 November 2026
RouterOS documents ipv6-only-preferred on /ip/dhcp-server, default no; requesting clients get option 108 and no IPv4 address; the sent wait time is 0 secondsVerified against a primary sourceRouterOS DHCP server reference, read 29 November 2026
Google says to consider deleting ports 8008, 8009 and 8443 if they are listed in port-forwarding settings, because they may unsafely expose Chromecast, Nest and Google TV Streamer devices to the internetVerified against a primary sourceGoogle, "Google Nest, Chromecast, and Google TV Streamer security tips", read 29 November 2026. The page does not name a transport.
Enabling option 108 can leave phones without IPv4 while Chromecast, Nest and SHIELD remain on IPv4, so Cast discovery or control failsReported, not reproducedr/ipv6 thread, 29 November 2026; earlier operator reports on the RIPE IPv6 working group list, July 2024
A Chromecast may accept TCP 8009 on IPv4 and close it on IPv6 after the handshakeReported, not reproducedOperator report, 2026, not lab-tested here
On macOS 12, CLAT was reported to start when option 108 is present and the RA carries PREF64; from macOS 13, the same author said CLAT starts without those special requirementsReported, not reproducedCaletka, APNIC Blog, 21 November 2022; April 2023 presentation noted by the fact-check (same author). RFC 8781 defines PREF64
The well-known NAT64 prefix must not represent non-global IPv4 addresses, and translators must drop that trafficVerified against a primary sourceRFC 6052 section 3.1
Then-recent Android and iOS, and macOS 12.0.1 and newer, requested option 108 as of November 2022Reported, not reproducedCaletka, APNIC Blog, 21 November 2022. A May 2023 ESnet slide adds Android 12, with Android 13 presumed, and later slides give slightly different Apple floors. Not captured here on current builds.

FAQ#

Does option 108 turn off IPv4 on every device on the LAN?#

No. RFC 8925 is explicit. A client that did not put option code 108 in its Parameter Request List must ignore the option if the server sends it. The server must not include the option unless the client requested it and the pool is configured as IPv6-mostly. Devices that never ask keep using DHCPv4 as before. Reported cases include Cast and other IoT endpoints.

What is V6ONLY_WAIT, and why do people mention 300 seconds?#

The option's value is a 32-bit number of seconds, called V6ONLY_WAIT. If the server has a timer configured for the pool, it must send that value; otherwise it must send zero. If the value is below MIN_V6ONLY_WAIT, the client should set the timer to 300 seconds. The default V6ONLY_WAIT in the RFC is 1800 seconds. The client should then stop DHCPv4 for that time, or until a network attachment event, and it may disable the IPv4 stack on that interface for the same period.

Why can a phone lose Chromecast, Nest or SHIELD after I enable option 108?#

The usual pattern is mixed addressing, not a multicast outage on the access point. The phone requested option 108 and dropped IPv4. The Cast device did not request the option, so it still has only, or mainly, IPv4. Discovery is mDNS for _googlecast._tcp. The control path commonly uses TCP 8008 or 8009. If the advertisement is an IPv4 address and the phone no longer has IPv4, the session may have no IPv6 path. RFC 8925 still allows a client to configure IPv4 link-local, which can reach an on-link IPv4 neighbour. A translator such as NAT64 or CLAT only helps if the application actually uses it, and the well-known NAT64 prefix must not be used for private IPv4 destinations.

Will NAT64 or a PLAT fix this automatically?#

That is the intent of an IPv6-mostly network, not a guarantee for every local Cast flow. RFC 8925 describes option 108 for networks that provide IPv6-only connectivity such as NAT64, often with DNS64 or 464XLAT. On a NAT64 path the Cast device is reached as IPv4, so whether it also listens on IPv6 is a separate question, relevant only if the phone uses a native IPv6 address for it. RFC 6052 section 3.1 says the well-known NAT64 prefix 64:ff9b::/96 must not be used to represent non-global IPv4 addresses, such as RFC 1918, and that translators must drop such traffic. Most Cast devices on a home LAN have private IPv4 addresses, so a NAT64 that uses only the well-known prefix should not translate them. A network-specific prefix is the documented way to represent those destinations. A 2022 APNIC article by Ondřej Caletka reports that, on macOS 12, CLAT activated when option 108 was present and the Router Advertisement carried a PREF64 prefix (RFC 8781). In an April 2023 presentation, the same author said that from macOS 13, CLAT starts without those special requirements. We did not reproduce the client behaviour. A translator can still fail if the application never uses it, or if discovery never hands the phone a usable address.

Will publishing a AAAA record with avahi-publish fix it?#

Only if the Cast device is actually listening, and willing to complete a session, on IPv6 for the control port. If TCP 8009 on the device's IPv6 address does not stay up, a handmade AAAA record can make the device appear in the app and then fail when you tap it. Test the IPv6 control port first. Treat avahi-publish as an experiment, not a standard fix, and expect firmware updates to change the outcome.

How do I send option 108 in Kea without giving it to every client?#

Kea's DHCPv4 ARM lists a standard option named v6-only-preferred, code 108, type uint32. The reliable way to withhold it from some clients is a separate subnet or shared network that does not have the option. Do not assume that omitting it from a host reservation or client class will override a subnet-level option. Kea's documented special handling for IPv6-mostly, including offering 0.0.0.0, is described for the option when it is configured on a subnet or shared network; check the ARM for the version you run. Validate the configuration with kea-dhcp4 -t /path/to/kea-dhcp4.conf before reloading. We have not lab-tested a class, reservation or never-send layout for this.

Does RouterOS support option 108?#

The RouterOS DHCP server reference, read on 29 November 2026, documents an ipv6-only-preferred boolean on /ip/dhcp-server, default no. When it is yes, the server sends option 108 to clients that request it and gives those clients no IPv4 address. The option value it sends is 0 seconds, which RFC 8925 clients raise to the 300-second minimum. Confirm the property exists on the RouterOS version you run, and do not enable it on a server that also serves the phones you cast from unless you have another path for those IPv4-only neighbours.

Do I need a second VLAN or SSID?#

It is the most predictable control. Keep Cast devices and the phones that must talk to them on a dual-stack segment that does not send option 108, and use IPv6-mostly on the rest. RFC 8925 itself notes that splitting IPv6-only and dual-stack into two segments is the traditional approach, and that option 108 exists so you can avoid that split. For a home or small office LAN where Cast still needs IPv4, the split is often cheaper than debugging CLAT and mDNS.

Which operating systems honour option 108?#

There is no single official matrix, and published notes disagree on the first release. A November 2022 APNIC article by Ondřej Caletka reports that then-recent Android and iOS devices, and macOS 12.0.1 and newer, requested the option, with no user-facing knob to turn it off. Later presentations give slightly different floors, including macOS 13.1, iOS 16.0.3 or 15.7 on older hardware, and Android 12, with Android 13 presumed in a May 2023 ESnet slide. Windows has historically not honoured option 108 on ordinary Wi-Fi or Ethernet in those same write-ups; Microsoft has discussed expanding CLAT beyond cellular, but do not assume a given Windows build will drop IPv4 just because the server sends the option. The 2022 article and the 2023 slide describe Linux as ignoring the option unless extra software such as clatd is in place; treat that as dated, and check a current client. Capture the Parameter Request List on your own devices, and date-stamp whatever matrix you rely on.

Should I force the Chromecast itself onto IPv6-only by withholding DHCPv4?#

That has been suggested, including by Ondřej Caletka on the RIPE IPv6 working group list in July 2024, as a possible way to make a dual-stack Chromecast advertise IPv6 to IPv6-only phones. He marked it untested, and noted that older devices such as Chromecast Audio may have no IPv6, and that IPv4-only apps would still not see an IPv6-only speaker. Treat it as an experiment. We have not tried it.

Is this a confirmed Chromecast bug?#

No. As of 29 November 2026 it is a reported operational pattern: option 108 on the LAN, IPv6-only clients, Cast devices that remain on IPv4, and failed discovery or failed control. Google's security tips say: consider deleting ports 8008, 8009 and 8443 if they are listed in the router's port-forwarding settings, because those ports may unsafely expose the devices to the internet. The page does not document option 108 behaviour, and it does not name a transport. Operator reports also include a Chromecast that accepted TCP 8009 on IPv4 but closed it on IPv6 after the handshake. That is a single report, not a firmware advisory, and we did not reproduce it.

Did we test this in the lab?#

No. The protocol behaviour is taken from RFC 8925, the Kea DHCPv4 ARM, the RouterOS DHCP server reference, and the other primary documents cited below. The Cast failure mode and the client-stack details are reported by operators and earlier deployment write-ups. None of the commands or application tests were run here.

References#

If you are rolling out IPv6-mostly on a LAN that still has Cast, printers or other IPv4-first accessories, and you want a second pair of eyes on the DHCP and translator design, the know-how here stays free. NG-NeXT also does consulting for private infrastructure. Tell us what you run through the contact page.

— Nishant Gauraw, Founder and CEO, NG-NeXT Tech

Talk to us directly.

We reply within one business day. The site assistant answers when it is available.