两个 OpenWRT 设备之间 IPv6 不起作用

两个 OpenWRT 设备之间 IPv6 不起作用

我最近遇到了 2 个有关 IPv6 的问题:我的 ISP 不提供 IPv6 前缀(即使桥接调制解调器,而且 ISP 支持)所以, 我正在使用 SIXXS 隧道,尽管所有其他设备都正常,但它没有将 IPv6 归因于 LAN 中的另一个 OpenWRT。关于如何开始排除故障,您有什么想法吗?

这是我的网络:两个 TP 链接都使用 OpenWrt Chaos Calmer 15.05,防火墙是默认的。

ISP 调制解调器(桥接器)<--PPPoE-->TP-Link TL-WDR4300 v1<-局域网->TP-Link TL-WA901N/ND v3

TP-Link TL-WDR4300(/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 ifname 'eth0.1 tap_myvpn'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.72.1'

config interface 'wan'
        option ifname 'eth0.2'
        option _orig_ifname 'eth0.2'
        option _orig_bridge 'false'
        option proto 'pppoe'
        option username 'xxxxxxx'
        option password 'xxxxxxx'

config interface 'wan6'
        option _orig_ifname 'eth0.2'
        option _orig_bridge 'false'
        option proto 'dhcpv6'
        option ifname 'eth0.2'
        option reqaddress 'try'
        option reqprefix 'auto'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 2 3 4 5'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0t 1'

config interface 'SIXXS'
        option _orig_ifname 'eth0.2'
        option _orig_bridge 'false'
        option proto 'aiccu'
        option username 'xxxxxx'
        option password 'xxxxxxx'
        option tunnelid 'xxxxxxxx'
        option heartbeat '0'
        option requiretls '0'
        option ip6prefix '2001:1291:XXX:XXXX::/64'
        option ip6addr '2001:1291:XXX:XXX::2/64'
        option verbose '1'
        option nat '0'
        option ntpsynctimeout '0'
        option metric '50'

config interface 'clients'
        option _orig_ifname 'wlan0-1'
        option _orig_bridge 'false'
        option proto 'static'
        option ipaddr '192.168.0.1'
        option netmask '255.255.255.0'

config route
        option interface 'lan'
        option target '192.168.72.1'
        option netmask '255.255.255.0'

config route
        option interface 'clients'
        option target '192.168.0.0'
        option netmask '255.255.255.0'
        option gateway '192.168.72.1'

TP-Link TL-WA901N/ND v3(/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'
        option ula_prefix 'fd0a:abd9:4b90::/48'

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option _orig_ifname 'eth0 radio0.network1'
        option _orig_bridge 'true'
        option proto 'dhcp'

config interface 'clientes'
        option _orig_ifname 'wlan0-1'
        option _orig_bridge 'false'
        option proto 'static'
        option ipaddr '192.168.0.1'
        option netmask '255.255.255.0'

config route
        option interface 'lan'
        option netmask '255.255.255.0'
        option target '192.168.72.201'

config route
        option interface 'clientes'
        option target '192.168.0.0'
        option netmask '255.255.255.0'
        option gateway '192.168.72.201'

config interface 'LAN6'
        option proto 'dhcpv6'
        option ifname 'eth0'
        option reqaddress 'try'
        option reqprefix 'auto'

相关内容