I whipped up a (seemingly) working IPv6 set-up for both my hypervisors, meaning my services will soon be IPv6-compliant; yay!
I did struggle with it, though. There are a couple of gotchas one needs to be aware of:
it is best to use RA, in case your provider changes the default gateway for your server
if your hypervisor is going to be a firewall (which I guess it is), you will need to use RADVD to advertise your dom0 to your domUs
RA and IPv6 forwarding do actually work together, but you need to enable both in sysctl.conf
Let’s get on with it, then. First, let’s set up IPv6 on the dom0:
This is what dhclient6.conf looks like:
Then, configure RADVD; it will have to advertise on the internal domU network (xapi0):
Finally, you may want to firewall this all up a bit:
And there you go! You will need to make sure IPv6 multicast traffic can go from the dom0 to the domUs through xapi+: RADVD needs this to advertise.