Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Post IPv6, can ping gateway, but cant go beyond that


    i assigned an IPv6 to my VPS (myipv6::5) from my host dedicated server which has myipv6::/64 assigned to it by datacenter.

    from VPS i did: ping6 -I myipv6::5 myipv6::1

    So Im able to ping gateway, but I cannot ping past the gateway like this...

    ping6 -I myvpsipv6::5
    PING from myipv6::5 : 56 data bytes
    From myipv6::1 icmp_seq=2 Destination unreachable: Address unreachable
    From myipv6::1 icmp_seq=3 Destination unreachable: Address unreachable
    From myipv6::1 icmp_seq=4 Destination unreachable: Address unreachable
    When i do same command (ping6 -I at host machine (node server) where this VPS resides, the result is SAME "Address unreachable".

    Here are commands i did on host dedicated server

    eth0 Link encap:Ethernet HWaddr 4C:72:B92:BD4
    inet addr:myipv4addresshere Bcast:*.*.*.255 Mask:
    inet6 addr: myipv6here::1/64 Scope:Global
    inet6 addr: fe80::4e27:c8ff:fec2:bdd4/64 Scope:Link
    RX packets:1767143835 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2246662202 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:878001097058 (817.7 GiB) TX bytes:2303874402348 (2.0 TiB)
    Interrupt:225 Memory:fe500000-fe520000

    lo Link encap:Local Loopback
    inet addr: Mask:
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:8467408 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8467408 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1050265852 (1001.6 MiB) TX bytes:1050265852 (1001.6 MiB)

    venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    inet6 addr: fe80::1/128 Scope:Link
    RX packets:2223530855 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1740960126 errors:0 dropped:1948050 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2262666403904 (2.0 TiB) TX bytes:831015511414 (773.9 GiB)
    route -6

    route: invalid option -- 6

    route -n -A inet6

    Kernel IPv6 routing table
    Destination Next Hop Flags Metric Ref Use Iface
    myipv6here::5/128 :: U 1024 0 0 venet0
    myipv6here::6/128 :: U 1024 0 0 venet0
    myipv6here::/64 :: U 256 1 0 eth0
    myipv6herefff:ff:ff:ff:ff/128 :: U 1024 1 0 eth0
    fe80::/64 :: U 256 0 0 eth0
    fe80::/64 :: U 256 0 0 venet0
    ::/0 myipv6here:: UG 1 34866 0 eth0
    ::/0 myipv6herefff:ff:ff:ff:ff UG 1024 0 0 eth0
    ::1/128 :: U 0 18787 1 lo
    myipv6here::/128 :: U 0 0 1 lo
    myipv6here::1/128 :: U 0 131933 1 lo
    fe80::/128 :: U 0 0 1 lo
    fe80::1/128 :: U 0 0 1 lo
    fe80::4e27:c8ff:fec2:bdd4/128 :: U 0 2 1 lo
    ff00::/8 :: U 256 0 0 eth0
    ff00::/8 ::
    file /etc/sysconfig/network:

    IPV6_DEFAULTGW=myipv6here:0000:0000:0000:0000 (openvz shows that it should end by ::1)
    file etc/sysconfig/network-scripts/ifcfg-eth0

    IPV6ADDR=myipv6here::1/64 (openvz shows that this ip should be without /64)
    file /etc/sysctl.conf

    net.ipv6.conf.default.forwarding = 1
    net.ipv6.conf.all.forwarding = 1
    net.ipv6.conf.all.proxy_ndp = 1
    net.ipv6.bindv6only = 1
    Please anyone have ideas how to make this IPv6 working on the host server?

    Isnt there any issue with route? I read this post, which might give an idea about route, but i cant understand how that apply on my case, anyone please can help?
    Last edited by postcd; 09-26-2013 at 11:41 PM.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Are you sure that your ISP supports IPv6 for your connection type? Example: AT&T does not support IPv6 on their DSL connections, but does on their Uverse (sp?) ones.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Rubberman: Thanks, currently im just pinging google directly from OVH datacenter (from my server) so i assume it should support everything. (ping6; ping6, result:
    PING 56 data bytes
    From 2001:****:2:****::1 icmp_seq=1 Destination unreachable: Address unreachable

  4. $spacer_open
  5. #4
    Linux Engineer
    Join Date
    Apr 2012
    Virginia, USA
    If you can't ping6 from the host node, then obviously you're not going to be able to do it from the VPS. DNS will resolve IPv6 addresses using IPv4 UDP packets, so just because you see the name resolving doesn't mean any IPv6 packets are going down the wire. Unless you were assigned a static IPv6 address from your ISP, you're probably not going to be able to use it.

  6. #5


    Thank you for the input, i managed to make it working that was a big issue, but its solved now, big rock fall from my heart. I used this tutorial and it was this command which opened the route

    route -A inet6 add default gw 2001:****:*:6fff:ff:ff:ff:ff dev eth0
    replace by your broadcast IPv6..

  7. #6

    ping6 -I 2001:14d0:2:2f6f::5

    But I cannot even ping the gateway using any other IP in that /64.
    I have like 10 configured.

    ping6 -I 2001:14d0:2:2f6f:f75a:6e02:ef05:d7fc 2001:14d0:2:2f6f::1
    PING 2001:14d0:2:2f6f::1(2001:14d0:2:2f6f::1) from 2001:14d0:2:2f6f:f75a:6e02:ef05:d7fc : 56 data bytes
    --- 2001:14d0:2:2f6f::1 ping statistics ---
    9 packets transmitted, 0 received, 100% packet loss
    I have route set up correctly..

    ip -6 route show
    2001:14d0:2:2f6f::/64 dev venet0  metric 256  expires 21333337sec mtu 1500 advmss 1440 hoplimit 4294967295
    default via 2001:14d0:2:2f6f::1 dev venet0  metric 1  expires 21333337sec mtu 1500 advmss 1440 hoplimit 4294967295
    ifconfig -a
    venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
              inet addr:  P-t-P:  Bcast:  Mask:
              inet6 addr: 2001:14d0:2:2f6f:f75a:6e02:ef05:d7fc/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:b9b5:4e07:48d6:181e/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:a2f5:32d:59e6:c1ac/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:ce71:3c12:62f8:1f7/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f::5/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:3dac:5b03:9654:6e72/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:74ba:7e46:a8bd:9e8b/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:c95a:5569:cba9:be4b/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:93c0:c5f:8b75:cde3/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:e6d9:4b76:28dd:4fb5/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:6081:5f2e:7d44:7cbd/64 Scope:Global
              inet6 addr: 2001:14d0:2:2f6f:2f14:1e87:b503:6491/64 Scope:Global
    Any ideas please?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts