OVH Community, your new community space.

IPv6 Connectivity


Simeon
06-07-2015, 21:02
I added you. Thanks in advance.

alvaroag
06-07-2015, 18:22
Add me to Skype (a.aguayo) to check this in depth.

Simeon
06-07-2015, 18:13
Quote Originally Posted by alvaroag
Your gateway is wrong. Is must be 2001:41d0:1:dbff:ff:ff:ff:ff. However, on Debian-based distros(like Ubuntu), this should require special configurtion in /etc/network/interfaces, as it would not allow to set gateway outside of the subnet. Try with this:



Another difference, not sure it it matters, but in the configuration above, I'm suggesting the host ended in "1"(.....::1), instead of the one ended in "0" (.....:.
Thanks for your reply!

With the following in /etc/network/interfaces:

Code:
iface eth0 inet6 static
        address 2001:41d0:1:db8d::1
        netmask 64
        post-up /sbin/ip -6 r a 2001:41d0:1:dbff:ff:ff:ff:ff dev eth0
        post-up /sbin/ip -6 r a ::/0 via 2001:41d0:1:dbff:ff:ff:ff:ff dev eth0
        pre-down /sbin/ip -6 r d ::/0 via 2001:41d0:1:dbff:ff:ff:ff:ff dev eth0
        pre-down /sbin/ip -6 r d 2001:41d0:1:dbff:ff:ff:ff:ff dev eth0
Code:
# ping6 ipv6.google.com
connect: Network is unreachable
I have tried various mutations of the above configuration with the same results.

Thanks!

alvaroag
04-07-2015, 22:06
Your gateway is wrong. Is must be 2001:41d0:1:dbff:ff:ff:ff:ff. However, on Debian-based distros(like Ubuntu), this should require special configurtion in /etc/network/interfaces, as it would not allow to set gateway outside of the subnet. Try with this:

iface eth0 inet6 static
address 2001:41d0:1:db8d::1
netmask 64
post-up /sbin/ip -6 r a 2001:41d0:1:dbff:ff:ff:ff:ff dev eth0
post-up /sbin/ip -6 r a ::/0 via 2001:41d0:1:dbff:ff:ff:ff:ff dev eth0
pre-down /sbin/ip -6 r d ::/0 via 2001:41d0:1:dbff:ff:ff:ff:ff dev eth0
pre-down /sbin/ip -6 r d 2001:41d0:1:dbff:ff:ff:ff:ff dev eth0
Another difference, not sure it it matters, but in the configuration above, I'm suggesting the host ended in "1"(.....::1), instead of the one ended in "0" (.....:.

Simeon
04-07-2015, 17:49
Hi,

Server ID: ns358893.ip-91-121-154.eu

As far as I can see I have configured the server correctly, however it is not possible to reach any IPv6 hosts as shown here:

# ping6 ipv6.google.com
PING ipv6.google.com(wi-in-x8b.1e100.net) 56 data bytes
From wi-in-x8b.1e100.net icmp_seq=1 Destination unreachable: Address unreachable
From wi-in-x8b.1e100.net icmp_seq=2 Destination unreachable: Address unreachable
From wi-in-x8b.1e100.net icmp_seq=3 Destination unreachable: Address unreachable

Further information:

# ip -6 addr show
1: lo: mtu 65536
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qlen 1000
inet6 2001:41d0:1:db8d::/64 scope global
valid_lft forever preferred_lft forever

# ip -6 route show
2001:41d0:1:db8d::/64 dev eth0 proto kernel metric 256
2001:41d0:1:db8d::/64 via 2001:41d0:1:db8d:ff:ff:ff:ff dev eth0 metric 1024
fe80::/64 dev viifbr0 proto kernel metric 256
fe80::/64 dev viifv1001 proto kernel metric 256
fe80::/64 dev viifv1002 proto kernel metric 256
default via 2001:41d0:1:db8d:ff:ff:ff:ff dev eth0 metric 1024

Ubuntu 14.04 is installed on the server. I also have another SoYouStart server which has fully functional IPv6 connectivity using the same configuration method.

Any assistance would be appreciated.
Thanks in advance.