
ip -6 addr add 2a01:XXXX:YYYY:9081::2/64 dev xenbr0 ip route add 2a01:XXXX:YYYY:9080::1/59 dev xenbr0 ip route add default via 2a01:XXXX:YYYY:9080::1
Hetzner (my hosting company) sent me an unsolicited information email about my new IP addresses. It had a link to the English version of
their Wiki
about this which happened to be a non-existent page. With the help of Google Translation on their German Wiki page I got the above commands to work.
It seems that my mistake was that I didn't realise that you can create a host route on an IPv6 enabled interface without having a local address in the subnet. Once I added that route (the second line) then the third line was obvious and everything works well.
My next task will be to assign public IPv6 addresses to a bunch of DomUs to save the expense of buying them public IPv4 addresses.
Good to hear you have it working! What distribution are you using? Last time I tried using the IPv6 stuff in /etc/network/interfaces under Debian it was an exercise in frustration. It treated the IPv6 as a separate interface, which is (IMHO) very stupid as it meant that all the bridge and vlan commands tried to do their thing in both interfaces with hilarious results. That was around 5 years ago now though I think... but I've just stuck with 'ip -6 addr add' commands in each interface since then. If only it was as easy as Windows. James