OpenWrt DHCPv6-only LAN: intermittent inability to reach IPv4-only sites after enabling PD-only mode
Environment
OpenWrt 21.02 router (home-edge), LAN with mixed clients: Windows 10/11 laptops, Android phones, and Linux servers. Router configured to request delegated prefixes (PD-only) from upstream ISP and advertise RA while disabling IA for IPv4 DHCP on LAN.
Symptoms
Some clients intermittently time out or receive browser errors when accessing IPv4-only websites (example.com). Other sites (IPv6-enabled) work. Issue occurs across different clients and browsers, mostly during heavy LAN activity or after a DHCPv6 prefix refresh.
Observations
Router logs show successful PD renewals. On affected clients: ip -6 route shows default via LAN router; resolv.conf points to router DNS. DNS64 sometimes returns synthesized AAAA for IPv4-only domains; at failure times, DNS queries either timeout or return no AAAA. tcpdump on router shows DNS queries from clients forwarded, but occasional ICMPv6 'Destination unreachable, communication with destination administratively prohibited' for synthesized flows.
Already attempted
Rebooted router and several clients, toggled RA/DHCPv6 settings, rebooted upstream modem, increased firewall logging, temporarily enabled IPv4 DHCP alongside PD (restored IPv4 connectivity), updated OpenWrt to latest available stable package feed.
Question
What targeted diagnostics and reversible configuration changes can confirm whether the break is DNS64/NAT64 synthesis, RA/default-route timing, firewall RA filtering, or MTU/ICMPv6 filtering? How to restore stable IPv4 reachability without reverting to IPv4 DHCP permanently?
Verified community troubleshooting
First check whether DNS64 is reliably returning synthesized AAAA records. From an affected client run: dig +short A example.com and dig +short AAAA example.com @<router-ip>. If AAAA is missing or inconsistent, tail the router's DNS (dnsmasq/unbound) while retrying the lookup. If DNS is fine, capture tcpdump on the router while reproducing: watch for translated SYN packets and any ICMPv6 Packet Too Big responses. As a quick reversible fix, enable IPv4 DHCP on the LAN (or pin one test client to IPv4) to confirm the problem is the synthesis/translation path; if that restores connectivity, focus on NAT64/DNS64 service on the router or upstream. When changing firewall rules, only open ICMPv6 PTB temporarily and restore after tests. Roll back by re-enabling previous firewall or disabling IPv4 DHCP when done.
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Networking45% match
OpenWrt DHCPv6-only LAN intermittently fails to reach IPv4-only websites after enabling PD-only mode
Solved1 answer - Networking37% match
Clients time out to IPv4-only sites after enabling DNS64/NAT64 on OpenWrt router (intermittent synthesis failures)
Open0 answers - Networking34% match
Clients receive IPv6 addresses but no default route after enabling DHCPv6-only mode on OpenWrt router
Open0 answers - Networking27% match
Intermittent timeouts to dual‑stack websites after enabling DHCPv6 prefix delegation on OpenWrt router
Open0 answers - Networking25% match
OpenWrt: DHCPv6 PD present but clients intermittently lack IPv6 default route after enabling RA firewall filtering
Open1 answer