Hi, I am trying to set up IPv6 by following the doc, and currently the router can establish connection (ping6 google.com
) but my devices can't. I only have limited knowledge on this topic so any help on debugging or fixing the issue would be appreciated, thanks!
The information I got from my ISP:
- IPv6 address
- IPv6 default gateway
- Allocated prefix
I created a wan6
interface and here is the config (cat /etc/config/network
)
Summary
config interface 'wan6'
option device 'eth0'
option proto 'static'
list ip6addr '2604:21c0:xxxx:xxxx::xxxx:xxxx/64'
option ip6gw '2604:21c0:xxxx:xxxx::xxxx:xxxx'
option ip6prefix '2604:21C0:xxxx:xxxx::/60'
list dns '2001:4860:4860::8888'
list dns '2001:4860:4860::8844'
For DHCP (cat cat /etc/config/dhcp
)
Summary
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
list dns '2001:4860:4860::8888'
list dns '2001:4860:4860::8844'
list dhcp_option '6,8.8.8.8,8.8.4.4'
option dhcpv6 'server'
The interface status (ifstatus wan6
)
Summary
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 2785,
"l3_device": "eth0",
"proto": "static",
"device": "eth0",
"updated": [
"addresses",
"routes",
"prefixes"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
{
"address": "2604:21c0:xxxx:xxxx::xxxx:xxxx", (The given IPv6 address)
"mask": 64
}
],
"ipv6-prefix": [
{
"address": "2604:21c0:xxxx:xxxx::",
"mask": 60,
"class": "wan6",
"assigned": {
"lan": {
"address": "2604:21c0:xxxx:xxxx::",
"mask": 60
}
}
}
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "::",
"mask": 0,
"nexthop": "2604:21c0:xxxx:xxxx::xxxx:xxxx", (The default gateway)
"source": "::/0"
}
],
"dns-server": [
"2001:4860:4860::8888",
"2001:4860:4860::8844"
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
}
}
And ping6 google.com
from my laptop got 100% packet loss.
Summary
❯ ping6 google.com
PING6(56=40+8+8 bytes) 2604:21c0:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx --> 2607:f8b0:4005:802::200e
^C
--- google.com ping6 statistics ---
87 packets transmitted, 0 packets received, 100.0% packet loss
Please let me know if you see any issues on the config, or how I could further find out which part is problematic.