Answers:
RFC1122,互联网主机要求-通讯层,说:
{ <Network-number>, <Host-number> }
(a) { 0, 0 }
This host on this network. MUST NOT be sent, except as
a source address as part of an initialization procedure
by which the host learns its own IP address.
See also Section 3.3.6 for a non-standard use of {0,0}.
(b) { 0, <Host-number> }
Specified host on this network. It MUST NOT be sent,
except as a source address as part of an initialization
procedure by which the host learns its full IP address.
看起来0.0.0.0/8在IANA保留子网列表中。
根据RFC 5735,0.0.0.0 / 8是保留的IP地址范围,如下所示:
0.0.0.0/8-此块中的地址引用“此”网络上的源主机。地址0.0.0.0/32可用作此网络上该主机的源地址;0.0.0.0/8内的其他地址可用于引用此网络上的指定主机[RFC1700,第4页]。
根据RFC 1700-“分配的号码”,“特殊地址”部分,网络号码0只能用作源地址,并且表示同一网络上的主机。因此,将这种类型的地址分配给接口是无效的。
IP 0.0.0.0仅用于从DHCP服务器请求有效IP地址,而DHCP服务器正在为请求计算机答复动态有效IP。