|
请教LEDE Reboot 17.01.7 中继 无线,电脑端ipv6 ping不通外网故障咋个解决????
?
?
?
?
用x86版本最新的21.02.5中继同一个无线,是没有问题的,电脑端可以获取ipv6,并且ipv6可以访问外网,也可以ping通外网ipv6 ip。
但有个老的路由器,最新只能刷LEDE Reboot 17.01.7版本,同样的配置, lan 和 wwan6口全是中继,中继同一个无线,电脑端能够获取到ipv6地址,但ping外网 ipv6地址不通,http://testipv6.cn/ 测试也没有ipv6。
在启动项目/etc/rc.local文件里添加:
sleep 60
/etc/init.d/odhcpd restart
exit 0
试了也不行。。
ip6tables -F
ip6tables -P FORWARD ACCEPT
试了也不行。。
修改 /etc/sysctl.conf 文件,添加以下内容
net.ipv6.conf.default.forwarding=2
net.ipv6.conf.all.forwarding=2
net.ipv6.conf.default.accept_ra=2
net.ipv6.conf.all.accept_ra=2
试了也不行。。
---------------------------------------------------------------------------
我的配置如下:
/etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option localservice '1'
config dhcp 'lan'
option interface 'lan'
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
option start '100'
option limit '50'
option leasetime '3h'
config dhcp 'wwan6'
option interface 'wwan6'
option master '1'
option ra 'relay'
option dhcpv6 'relay'
option ndp 'relay'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
/etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.8'
option ip6assign '64'
config device 'lan_dev'
option name 'eth0.1'
option macaddr 'ax:9x:fx:xe:xe:1x'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config device 'wan_dev'
option name 'eth0.2'
option macaddr 'ax:9x:fx:xe:xe:1x'
config interface 'wan6'
option proto 'dhcpv6'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option reqaddress 'try'
option ifname 'eth0.2'
option reqprefix 'auto'
config switch
option name 'rt305x'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'rt305x'
option vlan '1'
option ports '0 1 2 3 5 6t'
config switch_vlan
option device 'rt305x'
option vlan '2'
option ports '4 6t'
config interface 'wwan'
option _orig_ifname 'wlan0'
option _orig_bridge 'false'
option proto 'dhcp'
config interface 'wwan6'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix '56'
|
|