Is there any information on configuring IPv6 on an Debian 9 VPS running on OpenVZ? I have a VPS which was running an older version of Debian on OpenVZ which I needed to upgrade to support some newer software. After the upgrade my IPv6 interface configuration does not seem to be working. IPv6 was working just fine before upgrading Debian on the same VPS.
The auto-generated /etc/network/interfaces (which was working before) is:
auto venet0 iface venet0 inet manual up ifconfig venet0 up up ifconfig venet0 127.0.0.2 up route add default dev venet0 down route del default dev venet0 down ifconfig venet0 down iface venet0 inet6 manual up ifconfig venet0 add 2604:880:26::a4cd:e7e/128 down ifconfig venet0 del 2604:880:26::a4cd:e7e/128 up route -A inet6 add default dev venet0 down route -A inet6 del default dev venet0 auto venet0:0 iface venet0:0 inet static address 126.96.36.199 netmask 255.255.255.255
So it appears I should also be able to configure IPv6 from the command line with ifconfig or ip address add commands but when I do I receive "no buffer space available messages (see below):
root@dal1:/# ifconfig venet0 add 2604:880:26::a4cd:e7e/128 SIOCSIFADDR: No buffer space available root@dal1:/# ip address add 2604:880:26::a4cd:e7e/128 dev venet0 RTNETLINK answers: No buffer space available