LEDE IPv6 中继设置

September 18, 2019 | 分类:Other

WAN6
协议 DHCPv6客户端
请求 IPv6 地址 try
请求指定长度的 IPv6 前缀 64(视实际情况,一般电信为56)

vi /etc/config/dhcp

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option ra 'relay'
        option dhcpv6 'relay'
        option ndp 'relay'

config dhcp 'wan6'
        option interface 'wan6'
        option ra 'relay'
        option dhcpv6 'relay'
        option ndp 'relay'
        option master '1'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

负载均衡 -> 规则
将default_rule分配的策略设置为 default 【默认(使用主路由表)】

启动项增加一行
sleep 60 && /etc/init.d/odhcpd restart

koolshare LEDE 源

src/gz openwrt_koolshare_mod_core http://mirrors.nju.edu.cn/lede/snapshots/targets/x86/64/packages
src/gz openwrt_koolshare_mod_base http://mirrors.nju.edu.cn/lede/snapshots/packages/x86_64/base
src/gz openwrt_koolshare_mod_luci http://mirrors.nju.edu.cn/lede/snapshots/packages/x86_64/luci
src/gz openwrt_koolshare_mod_packages http://mirrors.nju.edu.cn/lede/snapshots/packages/x86_64/packages
src/gz openwrt_koolshare_mod_routing http://mirrors.nju.edu.cn/lede/snapshots/packages/x86_64/routing
src/gz openwrt_koolshare_mod_telephony http://mirrors.nju.edu.cn/lede/snapshots/packages/x86_64/telephony

src/gz openwrt_koolshare_mod_core http://downloads.openwrt.org/snapshots/targets/x86/64/packages
src/gz openwrt_koolshare_mod_base http://downloads.openwrt.org/snapshots/packages/x86_64/base
src/gz openwrt_koolshare_mod_luci http://downloads.openwrt.org/snapshots/packages/x86_64/luci
src/gz openwrt_koolshare_mod_packages http://downloads.openwrt.org/snapshots/packages/x86_64/packages
src/gz openwrt_koolshare_mod_routing http://downloads.openwrt.org/snapshots/packages/x86_64/routing
src/gz openwrt_koolshare_mod_telephony http://downloads.openwrt.org/snapshots/packages/x86_64/telephony
Tags: openwrt, ipv6, lede

评论已关闭