Ipv6 configuration in VPS Server

view full story

http://serverfault.com – Currently I have a VPS where I use different ips as interfaces, like curl google.com --ipv4 --interfaces venet0:1 The vps has ipv4 and some ipv6. Usually the vps are managed with OpenVZ, Xen, or any of these that automatically generate interfaces configurations. This is my /etc/network/interfaces file: auto lo iface lo inet loopback auto venet0 iface venet0 inet manual up ifconfig venet0 up up ifconfig venet0 up route add default dev venet0 down route del default dev venet0 down ifconfig venet0 down iface venet0 inet6 manual up ifconfig venet0 add 2607:ff28:0:a::X (HowTos)