IPv6 extras

  • This how-to describes the most common IPv6 tuning scenarios adapted for OpenWrt.
  • Follow NAT66/NAT64 for IPv6 NAT setup and IPv6 multicast for multicast setup.

Prefer IPv6 over IPv4 behind NAT66 with no GUA prefix.

NET_ULA="$(uci get network.globals.ula_prefix)"
uci set network.globals.ula_prefix="d${NET_ULA:1}"
uci commit network
/etc/init.d/network restart

Disable source routing to provide the default IPv6 route for all prefixes.

uci set network.wan6.sourcefilter="0"
uci commit network
/etc/init.d/network restart

Announce the default IPv6 route with no GUA.

uci set dhcp.lan.ra_default="1"
uci commit dhcp
/etc/init.d/odhcpd restart

Disable the GUA prefix delegation.

uci set network.lan.ip6class="local"
uci commit network
/etc/init.d/network restart

Suppress warnings about missing GUA prefix.

uci set dhcp.odhcpd.loglevel="3"
uci commit dhcp
/etc/init.d/odhcpd restart
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2022/10/31 10:38
  • by vgaetera