You are not logged in.

#1 2014-06-17 14:23:38

colorprint
Member
Registered: 2014-06-13
Posts: 18

IPv6 not works

I can't access websites over IPv6...
ping6 to another ipv6-enabled hosts in my network works fine, but not to external websites.
Moreover, everything works fine with Ubuntu linux installed on the same host... problem persist only with Arch linux

[anton@AcerW700 ~]$ ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 20:16:d8:3b:8f:3d brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.11/24 brd 10.0.0.255 scope global wlp1s0
       valid_lft forever preferred_lft forever
    inet6 2001:470:1f0b:169b:e09d:e4cf:758d:b9fc/64 scope global noprefixroute dynamic
       valid_lft 86393sec preferred_lft 14393sec
    inet6 fe80::2216:d8ff:fe3b:8f3d/64 scope link
       valid_lft forever preferred_lft forever
[anton@AcerW700 ~]$ ip -6 r s
2001:470:1f0b:169b::/64 dev wlp1s0  proto kernel  metric 302  mtu 1480
fe80::/64 dev wlp1s0  proto kernel  metric 256
[anton@AcerW700 ~]$ ping6 2001:470:1f0b:169b:a4e0:badb:3eb4:1c91
PING 2001:470:1f0b:169b:a4e0:badb:3eb4:1c91(2001:470:1f0b:169b:a4e0:badb:3eb4:1c91) 56 data bytes
64 bytes from 2001:470:1f0b:169b:a4e0:badb:3eb4:1c91: icmp_seq=1 ttl=64 time=130 ms
64 bytes from 2001:470:1f0b:169b:a4e0:badb:3eb4:1c91: icmp_seq=2 ttl=64 time=16.8 ms
^C
--- 2001:470:1f0b:169b:a4e0:badb:3eb4:1c91 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 16.845/73.508/130.172/56.664 ms
[anton@AcerW700 ~]$ ping6 ipv6.google.com
connect: Network is unreachable
[anton@AcerW700 ~]$ ping6 2a00:1450:400d:802::100e
connect: Network is unreachable
[anton@AcerW700 ~]$


Any suggestions how to fix this?
Thanks in advance!

Offline

#2 2014-06-17 14:45:41

colorprint
Member
Registered: 2014-06-13
Posts: 18

Re: IPv6 not works

I see there is no default route (but in Ubuntu it getting fine on wifi connect)...
also I see this in journalctl:
<warn> the dhcpcd backend does not support IPv6.
but if I run dhcpdc -6  manually - the default ipv6 route added and the ipv6 started to work!
How is it possible to fix it to get the default route on the NetworkManager wifi connect?

Offline

#3 2014-06-17 16:53:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: IPv6 not works

I too get

$ ping6 ipv6.google.com
connect: Network is unreachable

I know my internet provider doesn't' offer IPv6, so maybe that's why.

Offline

#4 2014-06-17 16:54:48

branch
Member
Registered: 2014-03-16
Posts: 209

Re: IPv6 not works

While dhcpcd works fine for IPv6, neither NetworkManager nor netctl support using it for IPv6. You must choose between dhcpcd and NetworkManager. If you really want to use dhcpcd you can use it directly by disabling NetworkManager, configuring /etc/dhcpcd.conf, then start/enable dhcpcd.service. If you really want to use NetworkManager you can use dhclient with it.

Offline

#5 2014-06-17 17:28:37

colorprint
Member
Registered: 2014-06-13
Posts: 18

Re: IPv6 not works

I want to use NetworkManager... How can I get it working with ipv6 ?

Offline

#6 2014-06-17 17:55:08

progandy
Member
Registered: 2012-05-17
Posts: 5,280

Re: IPv6 not works

colorprint wrote:

I want to use NetworkManager... How can I get it working with ipv6 ?

Often IPv6 works without dhcp and uses only stateless autoconf, so dhcpv6 is not always necessary.
If you need it while using NetworkManager, you'll have to use dhclient. netctl  supports DHCPv6 with dhcpcd since v1.8.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#7 2014-06-17 18:08:48

colorprint
Member
Registered: 2014-06-13
Posts: 18

Re: IPv6 not works

Ok thanks! Will try it today

Offline

#8 2014-06-17 22:10:48

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: IPv6 not works

If you are using SLAAC (most probably you do) there is no need to run any dhcp clients. The kernel should provide an ip based on the router advertised prefix. Try to see if you can ping your router using both the link-local address (eg. ping6 fe80:......%wlp1s0) of the router and the global unicast address (2001:....., %wlp1s0 is not necessary here). If you can ping your router using both addresses check if the router can actually access the ipv6 internet. If it can't then your router is probably the culprit.

If there is no route (check route -6) try to add one manually, something like route -6 add default gw [ROUTER LINK LOCAL IP] wlp1s0 should do.

Offline

#9 2014-06-18 14:54:57

colorprint
Member
Registered: 2014-06-13
Posts: 18

Re: IPv6 not works

Finally with dhclient installed it works fine now, NetworkManager receives the default route from router.
Thanks!

Offline

Board footer

Powered by FluxBB