OpenWrt: DHCPv6 PD present but clients intermittently lack IPv6 default route after enabling RA firewall filtering
Environment
OpenWrt 22.03 on home router (ath79), LAN bridge br-lan, radvd disabled, odhcpd handling RA; clients include Ubuntu 22.04 laptop, Android 12 phones and an Apple TV. SLAAC + DHCPv6-PD used to advertise prefix; firewall has recent nftables/iptables RA filtering rules added to block forged RAs.
Symptoms
Clients intermittently obtain IPv6 address but show no default route (::/0) and cannot reach IPv6-only sites. Issue happens more after DHCPv6 PD renewals or when LAN switch port flaps. Some clients recover after toggling wifi or reboot; others require 30–60s.
Observations
Router shows PD delegation active and prefix present (ip -6 addr / ip -6 route shows ::/0 on router). odhcpd logs alternating 'advertise' entries and occasional 'RA dropped by firewall'. tcpdump on br-lan shows RAs being sent but sometimes rejected by kernel nf_conntrack helper rules. Affected clients show RA packets arriving but ignore them (no default route added).
Already attempted
Restarted odhcpd and network; temporarily disabled custom nftables RA rules and problem stopped for several hours. Re-applied rules and problem returned. Upgraded to latest OpenWrt snapshot with same behavior. Cleared client ND cache; issue persists. Replaced switch port and cable — no change.
Question
Why do clients intermittently ignore RAs / default route despite RAs being sent, and what minimal configuration change will reliably restore default route propagation without disabling RA filtering entirely?
Verified community troubleshooting
Start by checking firewall rules that touch ICMPv6 before conntrack. On OpenWrt, add explicit accepts for ICMPv6 RA/NS/NA in the raw/PREROUTING path so those packets never hit drop logic. Example: in nftables/prerouting add a rule to accept icmpv6 type 134,135,136. Then trigger a PD renewal and watch tcpdump on br-lan to confirm RAs arrive and clients add ::/0 (ip -6 route). If that fixes it, narrow accept rules to the LAN interface only; rollback by restoring original nft ruleset.
Incident analysis
Most likely causes
Summary
Suggested Fixes
Continue troubleshooting
Related troubles
Matched from the title, description and tags
- Networking44% match
Clients receive IPv6 addresses but no default route after enabling DHCPv6-only mode on OpenWrt router
Open0 answers - Networking33% match
Router stops advertising IPv6 default route after enabling RA + DHCPv6 coexistence
Open0 answers - Networking29% match
Clients time out to IPv4-only sites after enabling DNS64/NAT64 on OpenWrt router (intermittent synthesis failures)
Open0 answers - Networking27% match
OpenWrt DHCPv6-only LAN intermittently fails to reach IPv4-only websites after enabling PD-only mode
Solved1 answer - Networking27% match
Intermittent timeouts to dual‑stack websites after enabling DHCPv6 prefix delegation on OpenWrt router
Open0 answers