V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ccming
V2EX  ›  UBNT

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

  •  
  •   ccming · 2019-12-27 18:26:10 +08:00 via iPhone · 4336 次点击
    这是一个创建于 1614 天前的主题,其中的信息可能已经有所发展或是发生改变。
    4 条回复    2024-05-20 23:07:16 +08:00
    littlepanzh
        1
    littlepanzh  
       2019-12-27 19:29:20 +08:00 via iPhone
    我的就一直获取不到 ipv6,回头试试,感谢~
    ccming
        2
    ccming  
    OP
       2019-12-27 19:37:51 +08:00 via iPhone
    @littlepanzh 我是有时候能获取到,但一重启 USG 就没了,然后摸不准前缀委派长度是 60 还是 56,我现在手头没有 USG,而且我非专业人士还不太懂命令行,但我坐地铁搜索到上面文章,觉得可能暂时有帮助,我听说 ubnt 的 IPv6 支持还在 alpha 阶段,所以问题多很正常。
    Primovist
        3
    Primovist  
       2020-02-16 15:09:47 +08:00 via iPhone   ❤️ 1
    @ccming 填 60 吧,江苏电信前一阵是 56,后来全部变成 60 了。目前我的 USG CPU 占用 1 ~ 10 之间跳动,大部分时间维持在 1 ~ 3。
    charley008
        4
    charley008  
       8 天前
    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 了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5213 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 06:47 · PVG 14:47 · LAX 23:47 · JFK 02:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.