Matter and Thread need working IPv6 on your home network and can operate with IPv4-only internet service. Matter uses IPv6 to communicate with devices, and Thread is an IPv6-only mesh. For a Matter controller to reach a Thread device, the local network needs a route through a Thread border router and working multicast discovery. Matter Handbook, Home Assistant Thread docs, OpenThread border router codelab.
How IPv6 reaches the Thread mesh
A Thread border router links the mesh to your Wi-Fi or Ethernet LAN. It advertises a route to the Thread off-mesh routable (OMR) prefix in an IPv6 router advertisement with a Route Information Option (RIO). A LAN host that installs that route can send packets for the Thread prefix to the border router. OpenThread Border Routing Manager, RFC 4191.
LAN hosts also need an address that Thread devices can reach. OpenThread uses a routable prefix advertised by a LAN router when available. If there is no suitable advertisement, the border router generates and advertises an on-link unique local address (ULA) prefix. These local routes can work without an ISP-provided IPv6 prefix or a DHCPv6 server. OpenThread Border Routing Manager, Home Assistant Matter docs.
The addresses you will see
| Address | Prefix | Where the address comes from | What it is for |
|---|---|---|---|
| Link-local | fe80::/10 range | Configured on the interface | Communication on a single link. RFC 4291. |
| Mesh-local | ULA under fd00::/8 | Each Thread device builds its address from the Mesh-Local Prefix. The device forming the network generates that prefix as part of the Operational Dataset. | Communication inside the mesh. OpenThread IPv6 addressing, OpenThread network formation. |
| Off-mesh routable (OMR) | A routable Thread prefix, such as the codelab’s ULA /64 | The Thread device configures an address from the prefix the border router publishes in Thread Network Data. | Reaching Thread devices from the LAN. OpenThread Border Routing Manager, OpenThread border router codelab. |
| LAN on-link | A prefix advertised on Wi-Fi or Ethernet | LAN hosts can configure addresses from the prefix advertised by a LAN router or the Thread border router. | Giving the controller an IPv6 address the Thread device can reach. OpenThread Border Routing Manager. |
For hardware and placement, see the Thread border router guide. For the roles of the controller, mesh and border router, see how Matter, Thread and border routers fit together.
Where it breaks in practice
Routers and access points. Pairing can appear to succeed even when IPv6 is disabled on Wi-Fi, then control can fail. Multicast optimization on a router or access point can also interfere with Matter discovery. Google’s Matter preparation guide, Home Assistant Matter docs.
UniFi settings to check. For discovery problems on UniFi, 1Home documents these settings. Change one at a time and recheck control after the access point applies it. 1Home network diagnostic guide.
- In Settings > WiFi > your WiFi network > Advanced Configuration, disable Multicast Enhancement, which converts multicast to unicast.
- On the same screen, disable Multicast and Broadcast Control if your devices are being filtered. With it enabled, 1Home says devices need to be on the allowlist to advertise their mDNS services.
- In Settings > Networks > Global Network Settings, check IGMP Snooping if discovery drops when devices roam between access points. The guide recommends disabling it for this problem.
- In Settings > Networks > your network > DHCP > Domain Name, leave the field empty if it is set to
local. The.localdomain is reserved for mDNS.
For more on these controls, see the UniFi advanced wireless settings guide.
VLANs. For troubleshooting, put the controller, Wi-Fi Matter devices, Thread border router and commissioning phone on the same LAN or VLAN. This keeps link-local multicast on the same segment. The matter.js server documentation also advises against mDNS forwarders between segments. matter.js OS requirements.
Home Assistant. In Settings > System > Network, set IPv6 to Automatic, or use static IPv6 if your network requires it. Home Assistant documents Home Assistant OS 10 or newer for Thread-based Matter devices and recommends its Matter Server app. Home Assistant Matter docs.
For a standalone matter.js server outside Home Assistant OS, the project documents recent 64-bit Linux and macOS releases and excludes WSL. On Linux, it specifies NetworkManager 1.42 or later when NetworkManager handles routes. Use --network=host for its Docker image. matter.js OS requirements.
For Home Assistant in a VM, check IPv6 at the guest’s virtual network interface and at the hypervisor if it routes traffic. For Home Assistant Container, check that Docker has IPv6 enabled and that the Linux host forwards IPv6 if it routes container traffic. Home Assistant Thread docs.
If that affects your installation choice, the Home Assistant OS versus container comparison covers the trade-offs.
Check the controller’s IPv6 connection
-
Enable IPv6 locally. Confirm IPv6 is enabled on the controller and the router or access point serving it. Keep IPv6 forwarding enabled on the equipment that routes between networks. Home Assistant’s network menu is listed above. Home Assistant Matter docs, Home Assistant Thread docs, Google’s Matter preparation guide.
-
Check discovery. Put the controller and border router on the same LAN while troubleshooting. Recheck control after changing a multicast setting so you can identify which setting matters. matter.js OS requirements, 1Home network diagnostic guide.
-
Inspect addresses and routes on a Linux controller. Replace
eth0with the controller’s LAN interface. Linux IPv6 HOWTO.ip -6 addr show dev eth0 ip -6 route show dev eth0In the address list, look for a routable address from the LAN prefix in addition to the link-local address. In the route list, look for the OMR prefix with the border router as the next hop. OpenThread Border Routing Manager, RFC 4191.
On an OpenThread Border Router with shell access, run
sudo ot-ctl netdata show. In the codelab’s example, the OMR prefix isfd76:a5d1:fcb0:1707::/64underPrefixes. Use your border router’s prefix when checking the controller’s route. OpenThread border router codelab. -
Check Linux router advertisement handling if the route is missing. If the Linux kernel handles router advertisements, read the interface setting with the command below. Replace
wlan0with the controller’s LAN interface. The codelab usesaccept_ra=1when forwarding is off and2when the host must forward IPv6. It setsaccept_ra_rt_info_max_plento at least64. OpenThread border router codelab.sudo sysctl -n net.ipv6.conf.wlan0.accept_raFor a controller using the kernel’s router advertisement handling with IPv6 forwarding off, the following settings enable advertisements and allow routes advertised with the codelab’s prefix length. Reconnect to Wi-Fi after applying them to solicit a fresh advertisement. OpenThread border router codelab.
sudo sysctl -w net.ipv6.conf.wlan0.accept_ra=1 sudo sysctl -w net.ipv6.conf.wlan0.accept_ra_rt_info_max_plen=64The codelab shows persisting the route setting by adding
net.ipv6.conf.wlan0.accept_ra_rt_info_max_plen = 64to/etc/sysctl.conf. If NetworkManager or systemd-networkd handles the interface, use that manager’s configuration or connection profile. For a Linux host that only runs the Matter controller, matter.js advises keeping IPv6 forwarding off so the kernel can probe route reachability. OpenThread border router codelab, matter.js OS requirements. -
Check Docker IPv6 on Home Assistant OS. Open Terminal & SSH and run
ha docker info. Ifenable_ipv6isnullorfalse, runha docker options --enable-ipv6=true, thenha host reboot. The reboot temporarily interrupts Home Assistant. Home Assistant Thread docs. -
Check connection tracking if a stateful Linux firewall sits between the controller and the border router. Read the timeout on the kernel that filters the packets, such as the hypervisor when it provides the VM firewall. The matter.js guide recommends at least
1800seconds for sleepy devices. matter.js OS requirements.sysctl net.netfilter.nf_conntrack_udp_timeout_streamIf the value is below
1800, the guide uses the following command to set it to3600seconds. This changes the filtering kernel’s UDP stream timeout. matter.js OS requirements.sudo sysctl -w net.netfilter.nf_conntrack_udp_timeout_stream=3600If firewall rules restrict Matter by destination port, review rules pinned to
UDP/5540. A device can advertise another port through mDNS. matter.js OS requirements.
For other symptoms, see the pairing failure fix list and why Matter devices keep going offline. For WAN outages, see does Matter work without internet.
Evidence and limits. The Matter Handbook, OpenThread codelab and Home Assistant 2026.11.2 documentation were checked on 2026-11-21. The commands and settings were documented without hands-on testing.