V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
nutting
V2EX  ›  问与答

dhcp 占用问题

  •  
  •   nutting · 2021-05-07 11:33:18 +08:00 · 662 次点击
    这是一个创建于 1085 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    2 条回复    2021-05-07 11:47:52 +08:00
    linvon
        1
    linvon  
       2021-05-07 11:36:08 +08:00
    你的意思是某个客户端手动设置了静态 IP 吗? 这对 DHCP 服务端是感知不到的,自然会把这个 IP 分出去,如果有同一网络内另一台机器拿到这个 IP,就会产生 IP 冲突
    also24
        2
    also24  
       2021-05-07 11:47:52 +08:00   ❤️ 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.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   999 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 19:48 · PVG 03:48 · LAX 12:48 · JFK 15:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.