![IPv6 适用于 LAN,但不适用于 WLAN](https://linux22.com/image/1522425/IPv6%20%E9%80%82%E7%94%A8%E4%BA%8E%20LAN%EF%BC%8C%E4%BD%86%E4%B8%8D%E9%80%82%E7%94%A8%E4%BA%8E%20WLAN.png)
我有以下设置:
- 我的 ISP 同时支持 IPv4 和 IPv6 网络
- 我的调制解调器是 Cisco EPC3208
- 我的路由器是 TP-Link Archer C2 (AC750)
- 我的笔记本电脑配有 Intel Wireless-AC 8260,运行 Fedora 25。它连接到 WiFi,但未获取 WAN IPv6 地址。但是,它确实获取了本地 IPv6 地址。当我使用 LAN 电缆将笔记本电脑连接到路由器时,它会创建一个新的网络接口并接收 IPv6 地址,并且可以 ping6 ipv6.google.com。
- 我的手机是 Nexus 5,可以在 WLAN 上 ping6 ipv6.google.com。因此,问题出在我笔记本电脑的设置上。
以下是 WiFi 上笔记本电脑上 ifconfig 的输出:
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 20086 bytes 1980721 (1.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 20086 bytes 1980721 (1.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:e5:31:7b txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.113 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::de69:7bae:ac29:ff68 prefixlen 64 scopeid 0x20<link>
inet6 fe80::ff78:cce:9e1a:8146 prefixlen 64 scopeid 0x20<link>
inet6 fe80::84be:f382:5644:e16c prefixlen 64 scopeid 0x20<link>
ether 34:f3:9a:26:40:b7 txqueuelen 1000 (Ethernet)
RX packets 135226 bytes 164427934 (156.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 49660 bytes 7543436 (7.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
LAN 上的输出:
enp0s20f0u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.114 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::ee1e:99a9:b350:5b9e prefixlen 64 scopeid 0x20<link>
inet6 2a00:4802:a0e:9301:a490:bd15:2392:188b prefixlen 64 scopeid 0x0<global>
ether 00:e0:4c:61:bc:03 txqueuelen 1000 (Ethernet)
RX packets 132 bytes 34031 (33.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 364 bytes 34496 (33.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 17904 bytes 1743829 (1.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 17904 bytes 1743829 (1.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:e5:31:7b txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.113 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::de69:7bae:ac29:ff68 prefixlen 64 scopeid 0x20<link>
inet6 fe80::ff78:cce:9e1a:8146 prefixlen 64 scopeid 0x20<link>
inet6 fe80::84be:f382:5644:e16c prefixlen 64 scopeid 0x20<link>
ether 34:f3:9a:26:40:b7 txqueuelen 1000 (Ethernet)
RX packets 129833 bytes 159922423 (152.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 46548 bytes 6991129 (6.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
我尝试了笔记本电脑和路由器的设置(包括重置所有内容),但无济于事。有人知道如何解决这个问题吗?
编辑:我可以确认当我以 Live 用户身份从闪存驱动器启动时也会发生同样的事情。