How to enable ipv6 in Openwrt

The Interfaces snapshot shows that your OpenWrt router WAN6 is getting ipv6.
You don't really need to do anything to allow ipv6 SLAAC on your LAN interface if you stick with the OpenWrt default settings.

If you want to enable DHCPv6 on your LAN do the following trick.

Edit your LAN interface

  1. General Settings: In addition to your static ipv6 starting with fdd2: add one more static ipv6 with the /64 prefix assigned to you by the ISP, e.g. 24xx:x:x:x::1/64 (you need to replace x's with the real numbers from your WAN6 interface). This address usually never changes, but if it does, then you have to update all the time and it is not worth using DHCPv6 at all.
  2. DCHP Server -> IPv6 Settings:
    RA-Service: server mode
    DHCPv6-Service: server mode
  3. DCHP Server -> IPv6 RA Settings:
    Enable SLAAC
    RA Flags: M

Edit your WAN6 interface

  1. DHCP Server -> IPv6 Settings:
    RA-Service: relay mode
    DHCPv6-Service: relay mode
    NDP-Proxy: relay mode
2 Likes