Took VPS, where to enable IPv6, you need to remove comments from the configuration lines in /etc/network/interfaces . It turned out like this:

 iface ens3 inet6 static address 2001:41d0:302:2200::f32 gateway 2001:41d0:302:2200::1 netmask 128 dns-nameservers 2001:4860:4860::8888 2001:4860:4860::8844 post-up /sbin/ip -6 route add 2001:41d0:302:2200::f32 dev eth0 post-up /sbin/ip -6 route add default via 2001:41d0:302:2200::f32 dev eth0 pre-down /sbin/ip -6 route del default via 2001:41d0:302:2200::f32 dev eth0 pre-down /sbin/ip -6 route del 2001:41d0:302:2200::f32 dev eth0 

But IPv6 did not work.

When I try to ping the IPv6 server, I get the error:

connect: Network is unreachable

What have I done wrong?

  • what writes when trying to use ipv6? - user232384 8:32 pm
  • @ user232384 protupil add console output to the question. - JamesJGoodwin pm

0