Hello,
My ipv6 address work well when I reboot openwrt. However, after a few hours, it do not work:
Ping 2606:4700:4700::1111 具有 32 字节的数据:
PING:传输失败。常见故障。
PING:传输失败。常见故障。
PING:传输失败。常见故障。
PING:传输失败。常见故障。
Let me show the network topology and more infornation:
Openwrt is the subnetwork in ipv4, and it works well every time. Ipv6 setting is relay mode.
This problem confuse me a lot. And I try some methods to solve it:
First:
When it does not work, I find that ipconfig
command can show ipv6 address. And I use route -A inet6
in openwrt. The output do not contain that ipv6 address. The root router does not contain that ipv6 address either.
And:
I try to log dhcpv6:
root@OpenWrt:~# cat /etc/dnsmasq.conf
log-dhcp
log-queries
log-facility=/tmp/dnsmasq.log
root@OpenWrt:~# /etc/init.d/dnsmasq restart
udhcpc: started, v1.36.1
udhcpc: broadcasting discover
udhcpc: no lease, failing
root@OpenWrt:~# cat /tmp/dnsmasq.log
cat: can't open '/tmp/dnsmasq.log': No such file or directory
I found that I could not get log, which confused me so much.
I wonder how to get dhcpv6 log so that I can find why my ipv6 do not work sometimes and if you know how to solve this problem, please help me. Thank u.