V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ccming
V2EX  ›  UBNT

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

  •  
  •   ccming · Dec 27, 2019 via iPhone · 5357 views
    This topic created in 2313 days ago, the information mentioned may be changed or developed.
    4 replies    2024-05-20 23:07:16 +08:00
    littlepanzh
        1
    littlepanzh  
       Dec 27, 2019 via iPhone
    我的就一直获取不到 ipv6,回头试试,感谢~
    ccming
        2
    ccming  
    OP
       Dec 27, 2019 via iPhone
    @littlepanzh 我是有时候能获取到,但一重启 USG 就没了,然后摸不准前缀委派长度是 60 还是 56,我现在手头没有 USG,而且我非专业人士还不太懂命令行,但我坐地铁搜索到上面文章,觉得可能暂时有帮助,我听说 ubnt 的 IPv6 支持还在 alpha 阶段,所以问题多很正常。
    Primovist
        3
    Primovist  
       Feb 16, 2020 via iPhone   ❤️ 1
    @ccming 填 60 吧,江苏电信前一阵是 56,后来全部变成 60 了。目前我的 USG CPU 占用 1 ~ 10 之间跳动,大部分时间维持在 1 ~ 3。
    charley008
        4
    charley008  
       May 20, 2024
    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 了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5831 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 03:39 · PVG 11:39 · LAX 20:39 · JFK 23:39
    ♥ Do have faith in what you're doing.