IPv6 prefix size set to /60 for LAN

Hi,

I wonder why the IPv6 prefix size is set to /60 for the LAN interface by default. Is this just good practice (assuming a /56 prefix has been delegated by ISP)? I doubt a lot of users have subnet routers, so I’m wondering if there is another reason (maybe some apps benefit from this).

Why not set a /64 prefix to LAN instead?

It's the default to enable the use case of attaching other routers to LAN and enable that these routers can request a dedicated prefix, too.

If you know that you will not use downstream routers then yes you can change 60 to 64.

3 Likes

Alright, thx for the explanation. I guess prefix delegation can also be disabled for LAN interfaces

I'm not sure about the working with Luci as I do not use the web ui. But I assume you want at least a delegated prefix from wan on lan, right?

Indeed, I’ll just do

uci set network.lan.delegate='0'

And I’ll keep it enable for wan6

If you have no prefix size suitable for delegation like with setting 64 then you do not need that option. It makes no difference.

1 Like

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