我是用的自购的光猫和 Mikrotik hAP ax2 路由器,光猫是桥接的,用路由器拨号。位置在鹤沙航城。
昨天凌晨断网将近一分钟,我重置 PPPoE 密码之后重拨连上了(不知道是不是无效操作),重连之后公网 IPv4 变成了 58.37
网段,Active AC name 变成了 SH-SH-GD-VBASCP-1.NMAN.V6000
,然后就发现拿不到 IPv6 前缀了。
IPv6 配置为
/ipv6 dhcp-client add \
add-default-route=yes \
allow-reconfigure=no \
check-gateway=none \
default-route-distance=1 \
default-route-tables=main \
dhcp-options="" \
dhcp-options="" \
disabled=no \
interface="China Telecom" \
pool-name=ipv6_pool \
pool-prefix-length=60 \
prefix-address-lists="" \
prefix-hint=::/60 \
request=prefix \
use-interface-duid=yes \
use-peer-dns=no \
validate-server-duid=no
打开 dhcp, packet, debug
日志看到如下输出:
2025-07-17 01:06:47 dhcp,debug,packet send China Telecom -> ff02::1:2%29
2025-07-17 01:06:47 dhcp,debug,packet type: solicit
2025-07-17 01:06:47 dhcp,debug,packet transaction-id: 5ba3d8
2025-07-17 01:06:47 dhcp,debug,packet -> clientid: 00030001 00000000 0000
2025-07-17 01:06:47 dhcp,debug,packet -> elapsed_time: 0
2025-07-17 01:06:47 dhcp,debug,packet -> rapid_commit: [empty]
2025-07-17 01:06:47 dhcp,debug,packet -> ia_pd:
2025-07-17 01:06:47 dhcp,debug,packet t1: 0
2025-07-17 01:06:47 dhcp,debug,packet t2: 0
2025-07-17 01:06:47 dhcp,debug,packet id: 0x9
2025-07-17 01:06:47 dhcp,debug,packet -> ia_prefix:
2025-07-17 01:06:47 dhcp,debug,packet prefix: ::/60
2025-07-17 01:06:47 dhcp,debug,packet valid time: 0
2025-07-17 01:06:47 dhcp,debug,packet pref. time: 0
2025-07-17 01:06:48 dhcp,debug,packet send China Telecom -> ff02::1:2%41
2025-07-17 01:06:48 dhcp,debug,packet type: solicit
2025-07-17 01:06:48 dhcp,debug,packet transaction-id: 5ba3d8
2025-07-17 01:06:48 dhcp,debug,packet -> clientid: 00030001 00000000 0000
2025-07-17 01:06:48 dhcp,debug,packet -> elapsed_time: 1
2025-07-17 01:06:48 dhcp,debug,packet -> rapid_commit: [empty]
2025-07-17 01:06:48 dhcp,debug,packet -> ia_pd:
2025-07-17 01:06:48 dhcp,debug,packet t1: 0
2025-07-17 01:06:48 dhcp,debug,packet t2: 0
2025-07-17 01:06:48 dhcp,debug,packet id: 0x9
2025-07-17 01:06:48 dhcp,debug,packet -> ia_prefix:
2025-07-17 01:06:48 dhcp,debug,packet prefix: ::/60
2025-07-17 01:06:48 dhcp,debug,packet valid time: 0
2025-07-17 01:06:48 dhcp,debug,packet pref. time: 0
2025-07-17 01:06:49 dhcp,debug,packet secs = 20
2025-07-17 01:06:49 dhcp,debug,packet ciaddr = 0.0.0.0
2025-07-17 01:06:49 dhcp,debug,packet chaddr = D4:01:C3:37:A1:13
2025-07-17 01:06:49 dhcp,debug,packet Host-Name = "MikroTik"
2025-07-17 01:06:49 dhcp,debug,packet Msg-Type = discover
2025-07-17 01:06:49 dhcp,debug,packet Parameter-List = Subnet-Mask,Classless-Route,Router,Static-Route,Dom
ain-Server,NTP-Server,CAPWAP-Server,Vendor-Specific
2025-07-17 01:06:49 dhcp,debug,packet Client-Id = 01-D4-01-C3-37-A1-13
也试着给电信装维师傅发了短信,把宽带编号发他之后,就再没回复了。
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.