You are not logged in.

#1 2014-05-01 02:48:55

wangchong
Member
Registered: 2013-06-25
Posts: 76

ipv6 problem

I recently installed arch on my laptop and found myself isolated from ipv6 websites. Using windows on the same laptop and in the same place before, I can happily reach ipv6 sites easily. I don't know why I can't reach them under arch.

P.S. I am using networkmanager for network management

Last edited by wangchong (2014-05-01 05:18:58)

Offline

#2 2014-05-01 03:04:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: ipv6 problem

Maybe it's not just me ... I just had a similar problem

For now I've disabled IPv6 on the kernel line.  This is a crap solution, but as a temporary workaround it has me up and running again.

Last edited by Trilby (2014-05-01 03:05:02)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-05-01 03:07:51

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: ipv6 problem

Please have a read over how to ask smart questions and give us some information to work with. For starters, what is your network configuration. Post the output of the following commands:

ip a s
cat /etc/resolv.conf
cat /etc/nsswitch.conf

Offline

#4 2014-05-01 04:47:33

wangchong
Member
Registered: 2013-06-25
Posts: 76

Re: ipv6 problem

Thank fukawi2, here's the out put:

[wangchong@wangchong-ias ~]$ 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: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 88:ae:1d:d4:4d:fb brd ff:ff:ff:ff:ff:ff
    inet 166.111.176.59/25 brd 166.111.176.127 scope global enp7s0
       valid_lft forever preferred_lft forever
    inet6 fe80::8aae:1dff:fed4:4dfb/64 scope link 
       valid_lft forever preferred_lft forever
3: wlp6s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 5c:ac:4c:16:b4:19 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5eac:4cff:fe16:b419/64 scope link 
       valid_lft forever preferred_lft forever
[wangchong@wangchong-ias ~]$ cat /etc/resolv.conf
# Generated by resolvconf
domain tsinghua.edu.cn
nameserver 166.111.8.28
nameserver 166.111.8.29
[wangchong@wangchong-ias ~]$ cat /etc/nsswitch.conf
# Begin /etc/nsswitch.conf

passwd: files
group: files
shadow: files

publickey: files

hosts: files dns myhostname
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

# End /etc/nsswitch.conf

Offline

#5 2014-05-01 04:52:19

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: ipv6 problem

wangchong wrote:

isolated to ipv6 websites

I'm assuming from the output you've posted, this means your isolated from accessing IPv6 websites?

You've said you're using NetworkManager - how? Are you configuring static IP configuration? Does your network broadcast Router Advertisements for IPv6 or do you need static IP addressing?

Compare your Windows IP config to what you're doing in Network Manager. From the output you've posted, you've got IPv6 enabled, but there's no addresses configured (either manually or automatically via RA etc)

Offline

#6 2014-05-01 05:26:59

wangchong
Member
Registered: 2013-06-25
Posts: 76

Re: ipv6 problem

fukawi2 wrote:
wangchong wrote:

isolated to ipv6 websites

I'm assuming from the output you've posted, this means your isolated from accessing IPv6 websites?

You've said you're using NetworkManager - how? Are you configuring static IP configuration? Does your network broadcast Router Advertisements for IPv6 or do you need static IP addressing?

Compare your Windows IP config to what you're doing in Network Manager. From the output you've posted, you've got IPv6 enabled, but there's no addresses configured (either manually or automatically via RA etc)

Thanks for pointing out my misspelling.

I just installed NetworkManager and enabled its daemon. As far as I know, doing this is using dhcp to get an ip address. In 'Edit Connections', ipv4 is using Automatic(DHCP) and ipv6 is Automatic. I don't need a static IP.

Now I don't have windows on my laptop, but my colleages can access ipv6 sites on their laptop. They just plug the wire in and it worked out of the box. They are also using 'automatically acquire ip address'

In addition, here's what i got from test-ipv6.com:
"""
Your IPv4 address on the public Internet appears to be 166.111.176.104

Your Internet Service Provider (ISP) appears to be ERX-CERNET-BKB China Education and Research Network Center,CN

No IPv6 address detected [more info]

Good news! Your current configuration will continue to work as web sites enable IPv6.

You appear to be able to browse the IPv4 Internet only. You will not be able to reach IPv6-only sites.

Your DNS server (possibly run by your ISP) appears to have IPv6 Internet access.
"""

Offline

#7 2014-05-01 06:35:40

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: ipv6 problem

Does your network even have IPv6? At a guess, your colleague's laptop is creating a Teredo Tunnel or similar.

Offline

#8 2014-05-01 07:42:57

wangchong
Member
Registered: 2013-06-25
Posts: 76

Re: ipv6 problem

I should have, I was using the same laptop weeks ago and had access to ipv6 under windows

Offline

#9 2014-05-01 08:09:36

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: ipv6 problem

wangchong wrote:

under windows

Again, I suspect the Windows tunnelling features are at play here. Confirm that your network is actually running IPv6 natively, and if so, confirm that Router Advertisements are being made by the appropriate router(s), before investing any more time in working out why it's not working.

Offline

#10 2014-06-30 15:47:00

oreggin
Member
Registered: 2014-06-13
Posts: 6

Re: ipv6 problem

Ehh, nice bug. Similar (maybe the same) issue: https://bbs.archlinux.org/viewtopic.php … 7#p1426957
Thanks to branch for the interpretation.

SLAAC doesn't need dhcpv6 I think. SLAAC needs only router sends icmpv6 RA. On my laptop dhcpcd installed (from base) but if I not install dhclient package then RAs won't used, because some inportant sysctl values not properli configured by unknown process:

without dhclient:
net.ipv6.conf.wlp3s0.accept_ra=0
net.ipv6.conf.wlp3s0.autoconf=0

after I install dhclient and reboot:
net.ipv6.conf.wlp3s0.accept_ra=2
net.ipv6.conf.wlp3s0.autoconf=1

I can't see the context, but something really f...ed up :-)

So, if anyone:
- have only "noprefixroute" IPv6 address (ip -6 address show)
- hasn't ipv6 defgw (ip -6 route show)
- using networkmanager

then should install dhclient package and restart computer. It should fix this issue. Another fix is not usint networkmanager. Any other PCs of mine I don't using networkmanager but systemd-networkd and SLAAC works fine without DHCPv6 and dhclient package.

Maybe this helps most of the "man! disable ipv6!" situations...

cheers,
oreggin

Offline

Board footer

Powered by FluxBB