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

dhcp 占用问题

  •  
  •   nutting · May 7, 2021 · 1066 views
    This topic created in 1821 days ago, the information mentioned may be changed or developed.

    假如有人强行手动指定了池子里的某个 ip,那么分配的时候会把这个 ip 分出去吗

    2 replies    2021-05-07 11:47:52 +08:00
    linvon
        1
    linvon  
       May 7, 2021
    你的意思是某个客户端手动设置了静态 IP 吗? 这对 DHCP 服务端是感知不到的,自然会把这个 IP 分出去,如果有同一网络内另一台机器拿到这个 IP,就会产生 IP 冲突
    also24
        2
    also24  
       May 7, 2021   ❤️ 2
    https://tools.ietf.org/html/rfc2131#section-3.1

    When allocating a new address, servers SHOULD check that the offered network address is not already in use; e.g., the server may probe the offered address with an ICMP Echo Request.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2564 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 06:53 · PVG 14:53 · LAX 23:53 · JFK 02:53
    ♥ Do have faith in what you're doing.