In my PC (Archlinux NetworkManager) with the enabled wired network and the disabled wireless network does not work IPv6:
# ping -c 3 google.com
PING google.com (2a00:1450:4003:802::200e) 56 data bytes
--- google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2051ms
Looking at the routes, I have a default route through the local-link (fe80 :: xxxx: xxxx: xxxx: 60c0):
# ip -6 route show
[...]
default via fe80::xxxx:xxxx:xxxx:60c0 dev enp4s0 proto ra metric 20100 pref medium
But when I disable the wired network and enable the wireless network it seems that everything works correctly:
# ping -c 3 google.com
PING google.com (2a00:1450:4003:802::200e) 56 data bytes
64 bytes from mad07s09-in-x0e.1e100.net (2a00:1450:4003:802::200e): icmp_seq=1 ttl=118 time=22.2 ms
64 bytes from mad07s09-in-x0e.1e100.net (2a00:1450:4003:802::200e): icmp_seq=2 ttl=118 time=12.1 ms
64 bytes from mad07s09-in-x0e.1e100.net (2a00:1450:4003:802::200e): icmp_seq=3 ttl=118 time=14.9 ms
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 12.118/16.394/22.199/4.255 ms
The default route is the same:
# ip -6 route show
[...]
default via fe80::xxxx:xxxx:xxxx:60c0 dev wlp3s0 proto ra metric 600 pref medium
Both the configuration of my LAN and my wifi network in OpenWRT is standard:
config globals 'globals'
option ula_prefix 'fd70:xxxx:xxxx::/48'
config device
option name 'br-lan'
option type 'bridge'
option igmp_snooping '1'
list ports 'lan0'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '64'
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:01:00.0'
option country 'ES'
option band '5g'
option channel 'auto'
option htmode 'VHT80'
option disabled '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'mi-red'
option encryption 'sae-mixed'
option key 'xxx'
config wifi-device 'radio1'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:03.0/0000:02:00.0'
option country 'ES'
option band '2g'
option channel 'auto'
option htmode 'HT20'
option disabled '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'mi-red'
option encryption 'sae-mixed'
option key 'xxx'
The br-lan
interface looks like this
br-lan Link encap:Ethernet HWaddr D8:XX:XX:XX:XX:C0
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fd70:xxxx:xxxx::1/64 Scope:Global
inet6 addr: 2a02:xxxx:xxxx:xxxx::1/64 Scope:Global
inet6 addr: fe80::xxxx:xxxx:xxxx:60c0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1046540 errors:0 dropped:0 overruns:0 frame:0
TX packets:3395109 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:154134398 (146.9 MiB) TX bytes:4538295325 (4.2 GiB)
And in the Firewall everything is allowed for the LAN:
config defaults
option input 'DROP'
option output 'DROP'
option forward 'DROP'
option drop_invalid '1'
option synflood_protect '1'
option flow_offloading '1'
config zone
option name 'lan'
list network 'lan'
list network 'vpn'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'