Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I m getting two IPv6 from my vps provider but they are not working at all.

I can ping

ping6 ipv6.google.com

My interface looks like this:

ifconfig eth0

eth0      Link encap:Ethernet  HWaddr 00:16:3e:2c:f4:a6  
          inet addr:184.82.xxx.xxx  Bcast:184.82.xxx.xxx  Mask:255.255.255.0  
          inet6 addr: fe80::216:3eff:xxxx:xxxx/64 Scope:Link  
          inet6 addr: 2607:f878:1:aec::xxxx:xxxx/64 Scope:Global  
          inet6 addr: 2607:f878:1:aec::xxxx:xxxx/128 Scope:Global  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1  
          RX packets:8350 errors:0 dropped:0 overruns:0 frame:0  
          TX packets:383 errors:0 dropped:0 overruns:0 carrier:0  
          collisions:0 txqueuelen:1000  
          RX bytes:819030 (799.8 KiB)  TX bytes:83052 (81.1 KiB)  
          Interrupt:9

And the configuration is:

cat /etc/network/interfaces  

auto eth0  
iface eth0 inet static  
    address 184.82.xxx.xxx  
    gateway 184.82.xxx.xxx  
    netmask 255.255.255.0  

iface eth0 inet6 static  
    up echo 0 > /proc/sys/net/ipv6/conf/all/autoconf  
    up echo 0 > /proc/sys/net/ipv6/conf/default/autoconf  
    netmask 64  
    gateway 2607:f878:0001:0aec:0000:0000:0000:0001  
    address 2607:f878:1:xxxx::xxx:xxxx  
    up ifconfig eth0 add 2607:f878:1:xxxx::xxxx:xxxx  

auto lo  
iface lo inet loopback

With these firewall rules:

ip6tables -L  

Chain INPUT (policy ACCEPT)  
target     prot opt source               destination  

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination  

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

And my routing table:

ip -6 route  

2607:f878:1:aec::xxxx:xxxx dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 0  
2607:xxxx:1:xxxx::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 0  
fe80::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 0  
default via 2607:f878:1:xxxx::xxxx dev eth0  metric 1  mtu 1500 advmss 1440 hoplimit 0

These boot messages:

dmesg | grep IPv6  

[    0.049250] Mobile IPv6  
[   18.772088] eth0: no IPv6 routers present

ping6 ::1 works!

ping6 fe80::%eth0 works!

What I need to do to get it to work?

share|improve this question
1  
Try to ping your gateway 2607:f878:1:xxxx::xxxx. If it's works, ask to the manager of this gateway what's happend –  Dom Jan 6 at 7:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.