Skip to content
Contents
GuidesOpenWrt

Troubleshoot OpenWrt IPv6 prefix delegation when only WAN has IPv6

The WAN interface obtains an IPv6 address, while the prefix assigned by the ISP for LAN use is different.

The WAN interface obtains an IPv6 address, while the prefix assigned by the ISP for LAN use is different. First, check the ubus call network.interface.wan6 status output for the address, routes, and IPv6 prefix. Then verify whether the LAN has configured appropriate ip6assign settings.

Distribute upstream prefix to LAN

Let each applicable subnet obtain an available prefix and have odhcpd broadcast RA. Clients acquire addresses via SLAAC or DHCPv6. Retain necessary ICMPv6, and use fw4 to explicitly manage zones and allow WAN inbound ranges.

Follow the delegated WAN prefix to the client

Check WAN6 prefix delegation and its assignment to the LAN. On a client, record the IPv6 prefix, default route, and DNS settings, then send an IPv6 request to a known destination.

On the client, verify the address, local default gateway, and IPv6 HTTPS; test only authorized onboarding services from external sources. After re-establishing upstream connectivity, observe the old prefix retirement and new prefix availability. Refresh dynamic DNS following the same procedure.

Check the router’s own IPv6 connectivity and the downstream delegated prefix separately. After reconnecting, verify the lifetimes of the old and new addresses, and check that ICMPv6 and the firewall still work as intended.

Reference

Reference screenshot · Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
Reference screenshot · Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
Reference screenshot · Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Open the original image

IETF RFC 8415 · IETF Trust Legal Provisions © IETF Trust and the RFC authors.

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments