DHCPv6 and IPv6 tunnel static lease

I have a OpenWrt router with a ipv6 tunnel set up on it. All of the clients on the network are successfully being given link local, unique local and global ipv6 addresses but these are not being displayed on the "Active DHCPv6 Leases" table of LuCI web interface. Why is this? This also means that if I want to assign a static lease for a client I am unable to.

Collect the diagnostics and post it to pastebin.com redacting the private parts:

ubus call system board; ubus call dhcp ipv6leases; ifstatus wan6; \
uci show network; uci show dhcp; uci show firewall

Thankyou

Here are the results:

1 Like
uci -q delete dhcp.lan.ra_management
uci -q delete dhcp.lan.ra_flags
uci add_list dhcp.lan.ra_flags="managed-config"
uci add_list dhcp.lan.ra_flags="other-config"
uci commit dhcp
/etc/init.d/odhcpd restart

Thanks that worked I now can see the dhcpv6 leases. I am confused as to why that fixed it though. Also the clients on the network now have 5 ipv6 addresses now 1 link local 2 unique local and 2 global. Is that correct.

Thanks very much for your help.

1 Like

Yep, it should provide LLA and both stateless and stateful addresses for each prefix.
This can happen if you keep settings from the previous release.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.