OpenWrt Forum Archive

Topic: Do I need to set a ULA? (IPv6)

The content of this topic has been archived on 30 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Can anyone tell me whether I need to set a ULA for my network?

I see the setting under globals in the network config file.  It's also in Luci under IPv6 ULA-Prefix.

What is the default value of this field?  From what I have read a ULA is similar to a non-internet routable IPv4 address.  Is this how I would do IPv6 address to hostname assignment on my local network?  I give them a ULA prefix and then assign addresses from that ULA?

The answer is that you do not.

You don't need to configure an ULA prefix, but I would nevertheless recommend setting one. It's basically simple, if your (IPv6) uplink (wan6) ever goes down, your globaly IPv6 addresses go down as well, thereby crippling LAN internal connections as well (this is exaggerated, but to get the concept, you won't even be able to connect to your own router (via IPv6) without the working wan6 uplink or an ULA prefix (or link local addresses, or IPv4)).

Ula is not required at all. Even if uplink dies we always have link-local addresses. They are always present.
Most home networks have only one segment and all devices can be addressed by link local

Do you have IPv6 ISP? Do they change your LAN prefix every time you connect? Then you might want to use ULA addressing to provide consistent addresses, independent of your ISP supplied IPv6 addressing.

And if you use ip6neigh then you can access the hosts in your network by name:

https://github.com/AndreBL/ip6neigh

cvmiller wrote:

Do you have IPv6 ISP? Do they change your LAN prefix every time you connect? Then you might want to use ULA addressing to provide consistent addresses, independent of your ISP supplied IPv6 addressing.

And if you use ip6neigh then you can access the hosts in your network by name:

https://github.com/AndreBL/ip6neigh

This actually seems pretty cool and it's a little annoying that things don't work like this be default. I'll have to give it a shot.

Using Names rather than IP addresses, is always a good idea, IMHO.

Even with local DNS resolution, non-static IPv6 prefixes are quite problematic (ULA prefixes can help a lot there).

slh wrote:

Even with local DNS resolution, non-static IPv6 prefixes are quite problematic (ULA prefixes can help a lot there).

It's odd because all of my Windows hosts report back their host names and are then listed under the IPv6 reservations section of the DHCP server.  It works automatically and perfectly.

The other hosts, however, do not.

The discussion might have continued from here.