Hi, all. I have seen some older topics on the subject, but I thought that things have changed a lot in the past couple of years, and it would be good to have an authoritative thread for reference.
QUESTION
I have a working Incus installation, Version 6.2-202405310557-ubuntu24.04
I have an ISP that provides me with a /60 prefix delegation. I have a Unifi Router that can carve my internal networks into routable IPv6 ranges.
I would like for my Incus hosted containers and hosts to receive routable IPv6 addresses, and would like to have one of my internal networks to be reserved for the Incus network.
I can think of three basic ways for this to occur, but I’m not sure if there are any pros and cons or whether any of them are officially supported or documented.
POSSIBLE ANSWERS
1. Configure the linux host running the Incus Server to request a prefix from my home router, and apply it to the incus bridge.
I’m not sure if this is a built-in feature, but possibly some existing linux utilities could be cobbled together to automate this piece. Of the three, this might be the simplest, but it requires my home router to delegate a prefix to another device inside the network, and I’m not sure if it supports that.
The biggest downside that I see is that would make clustering difficult or impossible, since only one host would have the delegated ipv6 network.
2. Configure OVN to be obtain the prefix and configure Incus to managed the addresses on behalf of the hosted containers/VMs.
I expect that OVN would provide this kind of feature out of the box, and aside from the steep learning curve associated with configuring OVN, this would probably be the most effective long term solution. In addition, if I wanted to perform clustering, this would probably be the only option.
It also requires my home router to delegate a range internally
3. Option 3 is to not have an Incus managed network, but create a VLAN for the Incus network on my home router, and have the Incus managed nodes get their addresses from the router directly by leveraging the VLAN.
This wouldn’t require my home router to do anything special for internal prefix delegation, but would be the most complex from an Incus perspective, I suspect.
SUGGESTIONS?
Are there any official guides on this topic, or has anyone gotten it working that can share what they did? I’m happy to go do the research and update this thread with my findings if anyone can point me in the right direction.
Thanks!