We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

IPV6 configuration


alsemany
22-05-2015, 05:18
thank you for your reply,
I just updated the file and make sysctl -p && service networking restart
but still this
Code:
ping6 -c 4 2001:4860:4860::8888
connect: Network is unreachable
even after rebooting the server

for one of my VM servers I used tunnelbroker.net for ipv6 support and it's working great however I already have the OVH ipv6/64 and I just want use it
I hope some of OVH support tell me if there's any mistakes in my configuration I'm using debian 8

alvaroag
22-05-2015, 04:25
Try with this on sysctl.conf

net.ipv6.conf.eth0.forwarding=1

alsemany
22-05-2015, 01:15
Hello everyone,
I'm just confused about IPV6 configuration on KVM vps which not stable with me, I already followed the documentations on debian
http://docs.ovh.ca/en/guides-network-ipv6.html

Code:
auto eth0
iface eth0 inet static
    address FailOver.IP
    netmask 255.255.255.255
    broadcast FailOver.IP

    post-up route add DED.254 dev eth0
    post-up route add default gw DED.254
    pre-down route del DED.254 dev eth0
    pre-down route del default gw DED.254

iface eth0 inet6 static
    address 2607:5300:60:47b3::1
    netmask 64

    post-up /sbin/ip -f inet6 route add 2607:5300:60:47ff:ff:ff:ff:ff dev eth0
    post-up /sbin/ip -f inet6 route add default gw 2607:5300:60:47ff:ff:ff:ff:ff
    pre-down /sbin/ip -f inet6 route del 2607:5300:60:47ff:ff:ff:ff:ff dev eth0
    pre-down /sbin/ip -f inet6 route del default gw 2607:5300:60:47ff:ff:ff:ff:ff
I also configured the /etc/sysctl.conf
Code:
net.ipv6.conf.eth0.autoconf=0
net.ipv6.conf.eth0.accept_ra=0
and restart the server to ensure that all the configuration effected however I can't ping from my PC and I can't ping from the server
this is my own configuration for ipv6
Code:
iface eth0 inet6 static
    address 2001:41d0:2:3975::9
    netmask 64

    post-up /sbin/ip -f inet6 route add 2001:41d0:2:39ff:ff:ff:ff:ff dev eth0
    post-up /sbin/ip -f inet6 route add default gw 2001:41d0:2:39ff:ff:ff:ff:ff
    pre-down /sbin/ip -f inet6 route del 2001:41d0:2:39ff:ff:ff:ff:ff dev eth0
    pre-down /sbin/ip -f inet6 route del default gw 2001:41d0:2:39ff:ff:ff:ff:ff
and this is the ping result
Code:
root@alsemany:~# ping6 -c 4 2001:4860:4860::8888
connect: Network is unreachable
I can ping the gateway
Code:
root@alsemany:~# ping6 -c 3 2001:41d0:2:39ff:ff:ff:ff:ff
PING 2001:41d0:2:39ff:ff:ff:ff:ff(2001:41d0:2:39ff:ff:ff:ff:ff) 56 data bytes
64 bytes from 2001:41d0:2:39ff:ff:ff:ff:ff: icmp_seq=1 ttl=64 time=0.699 ms
64 bytes from 2001:41d0:2:39ff:ff:ff:ff:ff: icmp_seq=2 ttl=64 time=0.652 ms
64 bytes from 2001:41d0:2:39ff:ff:ff:ff:ff: icmp_seq=3 ttl=64 time=10.5 ms

--- 2001:41d0:2:39ff:ff:ff:ff:ff ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.652/3.951/10.504/4.633 ms

is there any modules or configuration should be updated on the node ?

thanks