Knowledgebase

IPv6 broken on Debian/Ubuntu O.S.

We observed IPv6 misconfiguration on Debian/Ubuntu configuration images. If you have troubles on it, please check file /etc/network/interfaces, you should see something like:

 

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 83.136.1XX.XX
netmask 255.255.254.0

gateway 83.136.106.1

iface eth0 inet6 static
address 2a02:29e0:2:6:1:1:XXXX:XXXX

post-up /sbin/ip -r route add 2A02:29E0:2:6::1 dev eth0
post-up /sbin/ip -r route add default via 2A02:29E0:2:6::1
 

With that configuration if you try to ping some destination you will get Address Unreachable error. To fix it, please adjust /etc/network/interfaces:

 

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 83.136.1XX.XX
netmask 255.255.254.0

gateway 83.136.106.1

iface eth0 inet6 static
address 2a02:29e0:2:6:1:1:XXXX:XXXX

netmask 64
gateway 2A02:29E0:2:6::1
 
 

 

IPv6 should be restored

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How do I connect to my VPS? (SSH)

We recommend the program PuTTY for SSH. You can download it here:...

ISO Installation: No Bootable Disk

MyCore VM support ISO installation from custom images. Most of Linux distros support Virtio...

Migrating MyCore KVM/LXC Servers to a New Region

Customers may wish to migrate MyCore KVM/LXC Servers from one region to another for a variety of...

LXC vs KVM vs Dedicated Server

If few years ago someone told me that you can get better performance with a virtualized guest at...

KVM Performance Tweaks on Linux MyCores

For the best performance, tweak your Linux MyCore VPS with the following commands:   For an...