7

电信 IPv6 无前缀(IPv6-PD)下发内网 IPv6 问题讨论

 1 year ago
source link: https://www.v2ex.com/t/903292
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  宽带症候群

电信 IPv6 无前缀(IPv6-PD)下发内网 IPv6 问题讨论

  alicespace · 2 小时 7 分钟前 · 199 次点击

背景:陕西电信,OpenWrt 拨号,光猫桥接

OpenWrt 22.03.2
odhcpd-ipv6only 2022-03-22-860ca900-1
odhcp6c 2022-08-05-7d21e8d8-18 

起因是某天半夜 pppoe 突然断线重播,起来一看下发的 IPv6-PD 前缀没了,只剩了一个 /64 地址分配给路由器,下面的设备全部没有 IPv6 地址

换用 relay 方法尝试之后,能分配到地址了,但是 OpenWrt 日志一直报错,内网设备无法访问 v6 网站 报错:

odhcpd[1605]: Failed to send to 240e:xxx%wan@pppoe-wan (Bad file descriptor)
config dhcp 'lan'
	option interface 'lan'
	option start '100'
	option limit '150'
	option leasetime '12h'
	option dhcpv4 'server'
	option ra 'relay'
	option ndp 'relay'
	option dhcpv6 'relay'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'
	option master '1'
	option ra 'relay'
	option ndp 'relay'
	option dhcpv6 'relay'

参考 v2ex LGA1150 的回复链接 发现用内网设备 ping 了一下路由器就好了???最后通过手动加路由表解决。

之前说是 odhcpd 的 bug 但是已经过了 4 年,还没有修复吗?版本也更新了很多了。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK