DHCP 服务器可以为客户端提供多个地址并让其选择一个吗?

DHCP 服务器可以为客户端提供多个地址并让其选择一个吗?

可能重复:
DHCP 协议是否允许服务器向客户端提供多个地址而不是只提供一个?

如果答案是肯定的,那么为什么会这样做呢?

以下是原始问题:

dhcp client sends to server dhcp discover message, server replies to client
"dhcp  offer", which includes multiple ip addresses, the client can pick up one that 
it preferes, then sends to server dhcp request, including the ip that it wants to pick  
up. my queestion is, why server sends to client multiple ip addresses so that 
it can select,rather than just assign it one ip address?

答案1

我从未听说过 DHCP 服务器在单个请求中向客户端提供多个 IP。据我所知,DHCP 服务器会选择一个 IP(并可选地使用单个 icmp ping 检查该 IP 是否正在使用)并将其提供给客户端。客户端可以接受或拒绝租约。

答案2

是时候打印一份维基百科并用它攻击你的朋友了:[citation needed]

相关内容