Wish for new default: `ip6assign 64`

/* Uff, https://github.com/openwrt/openwrt/issues/new/choose links me back to the forum... Ok, then... */

I would like to see that ip6assign gets a default value of 64 and that it is used on all IPv6 capable interfaces.

Rationale:
Why isn't 64 the default of ip6assign, anyway?

If a user want to have another local network (within the current local network), then this link to a downstream router would need special treatment, nevertheless.
The user needs to know how large that (downstream) network is, or assume (a default) like /60, but in the end: What kind of user scenario can be achieved here? How many clients can connect and request a prefix till a common delegated prefix runs out of space? If user wants/needs prefix-delegation, then a short write-up in the wiki collection how to configure a dedicated "transport link" to a downstream router, would serve better. And how to cut and slice the prefix of course.

Also, I would assume, that the most of configured networks, are local networks intended to connect end user devices, anyway. Therefor an implicit default of /64 would save me from repeating this obvious statement all over the place, all the time :slight_smile:
I'm a heavy user of ip6hint and "I need" to set ip6assign 64, otherwise I get no auto-calculated interfaces addresses.

Maybe not for the wan?
As the wan usually gets its own address and if you only have a /64 PD you do not want to waste it on the wan.

But otherwise it seems like a good idea :slight_smile:

Mmmh, but I just hooked up my OpenWrt One behind my primary router (for testing) configured as router and was pleasantly surprised that it had gotten its own prefix delegated from the primary and was able to supply connected devices with functioning GUAs out of my provider assigned prefix. My understanding is, with your proposal that would not work out of the box any more?

1 Like

No, not quiet. The interface lan stanza would need an explicit option ip6assign 60, like it is already the case. So nothing would change here AFAIS.

The config template for interface wan would get an ip6assign 0, I guess.

2 Likes