There is no place like ::1
hjy1022
V2EX  ›  IPv6

IPv6 临时地址生成时间受什么的影响?

  •  
  •   hjy1022 · Mar 22, 2019 · 5363 views
    This topic created in 2634 days ago, the information mentioned may be changed or developed.

    目前根据 RFC 文档了解到的 IPv6 临时地址的生成是在 Preferred Lifetime 剩余时间大于 Regenerate Time 时生成,但是并没有确切描述是提前多久生成,Windows 下的 Preferred Lifetime 默认是 1 天,而 Regenerate Time 则是 5s,想问一下,临时地址的生成有受什么的影响吗?还有一个问题是 Valid Lifetime 的默认时间是 7 天,那按理来说每台电脑至少存在 7 个临时地址才对?可是实际现象好像并不是这样,有什么原因吗?

    2 replies    2020-11-16 09:06:27 +08:00
    goofool
        1
    goofool  
       Mar 26, 2019
    Preferred Lifetime 和 Valid Lifetime 是 RA 里带着的,没有默认值
    Overfill3641
        2
    Overfill3641  
       Nov 16, 2020
    影响大概是有 5 个后所有临时地址失效(都变成“受到抨击”),我是改成 5 天,现在观察中。
    https://www.51-n.com/t-4621-1-1.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2768 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 11:57 · PVG 19:57 · LAX 04:57 · JFK 07:57
    ♥ Do have faith in what you're doing.