OVH Community, your new community space.

IPv6 configuration


lxn
15/04/2015, 14h55
Hi,

my IPv6 address is 2001:41d0:1:8822::1 and my gateway should be 2001:41d0:1:88ff:ff:ff:ff:ff but if I try to ping the gateway I get no responses back.

Code:
ping6 -c 5 2001:41d0:1:88ff:ff:ff:ff:ff
PING 2001:41d0:1:88ff:ff:ff:ff:ff(2001:41d0:1:88ff:ff:ff:ff:ff) 56 data bytes
From 2001:41d0:1:8822::1 icmp_seq=1 Destination unreachable: Address unreachable
From 2001:41d0:1:8822::1 icmp_seq=2 Destination unreachable: Address unreachable
From 2001:41d0:1:8822::1 icmp_seq=3 Destination unreachable: Address unreachable
From 2001:41d0:1:8822::1 icmp_seq=4 Destination unreachable: Address unreachable
From 2001:41d0:1:8822::1 icmp_seq=5 Destination unreachable: Address unreachable

--- 2001:41d0:1:88ff:ff:ff:ff:ff ping statistics ---
5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4022ms
I'm running on Debian wheezy with the following /etc/network/interfaces

Code:
iface eth0 inet6 static
        address 2001:41d0:1:8822::1/128
        # up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
        # up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
        # up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra_defrtr
        # up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra_pinfo
        # up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra_rtr_pref
        # up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_source_route
        # up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_redirects
        # up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/forwarding
        post-up /sbin/ip -family inet6 route add 2001:41d0:1:88ff:ff:ff:ff:ff dev eth0
        post-up /sbin/ip -family inet6 route add default via 2001:41d0:1:88ff:ff:ff:ff:ff
        pre-down /sbin/ip -family inet6 route del default via 2001:41d0:1:88ff:ff:ff:ff:ff
        pre-down /sbin/ip -family inet6 route del 2001:41d0:1:88ff:ff:ff:ff:ff dev eth0
Code:
uname -a
Linux stitch 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux
Trying with the following commands leads again to an ureachable gateway.

Code:
ip -6 addr add 2001:41d0:1:8822::1/128 dev eth0
ip -6 route add 2001:41d0:1:88ff:ff:ff:ff:ff dev eth0
ip -6 route add default via 2001:41d0:1:88ff:ff:ff:ff:ff
Am I doing something wrong?

Thanks in advance.