ccming
V2EX  ›  UBNT

关于 USG 设置 IPv6 后 CPU 高负载或无法获得 IPv6 这个链接也许对你有用

By ccming at 2019 年 12 月 27 日 · 5759 次点击
4 条回复  •  2024-05-20 23:07:16 +08:00
littlepanzh
   1
littlepanzh  
   2019 年 12 月 27 日 via iPhone
我的就一直获取不到 ipv6,回头试试,感谢~
ccming
   2
ccming  
OP
   2019 年 12 月 27 日 via iPhone
@littlepanzh 我是有时候能获取到,但一重启 USG 就没了,然后摸不准前缀委派长度是 60 还是 56,我现在手头没有 USG,而且我非专业人士还不太懂命令行,但我坐地铁搜索到上面文章,觉得可能暂时有帮助,我听说 ubnt 的 IPv6 支持还在 alpha 阶段,所以问题多很正常。
Primovist
   3
Primovist  
   2020 年 2 月 16 日 via iPhone   ❤️ 1
@ccming 填 60 吧,江苏电信前一阵是 56,后来全部变成 60 了。目前我的 USG CPU 占用 1 ~ 10 之间跳动,大部分时间维持在 1 ~ 3。
charley008
   4
charley008  
   2024 年 5 月 20 日
configure
set interfaces ethernet eth0 dhcpv6-pd prefix-only
set interfaces ethernet eth0 pppoe 0 dhcpv6-pd prefix-only
commit;save;exit
重启后 usg 的 cpu 还是会高占用。
其实可以在/srv/unifi/data/sites/default (不同版本地址不同:On Cloud Key, the install path for the .json file is: /srv/unifi/data/sites/[site name/default]/
On an Ubuntu, the install path for the .json file is: /usr/lib/unifi/data/sites/[site name/default]/)下新建 config.gateway.json ,内容如下
{
"interfaces": {
"ethernet": {
"eth2": {
"pppoe": {
"0": {
"dhcpv6-pd": {
"prefix-only": "''"
}
}
}
}
}
}
}
这样每次重启就不会消失这个 prefix-only 了
© 2026 V2EX · 28ms · 3.9.8.5