找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 171|回复: 2

请教LEDE Reboot 17.01.7 中继 无线,电脑端ipv6 ping不通外网故障咋个解决?

[复制链接]
请教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'






我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
太难了?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
降级到15.05.1居然可以了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 18:39

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表