它被解释为“这个网络或网段”。这里的“网络地址”是相对于主机地址的。
我的问题:在什么情况下使用这样的IP地址?
It's nothing more than a "notational convention"; a convenient way of talking about a network, according to the earliest reference to the all-zeroes address I found, in RFC 919:
If the use of "all ones" in a field of an IP address means
"broadcast", using "all zeros" could be viewed as meaning
"unspecified". There is probably no reason for such addresses to
appear anywhere but as the source address of an ICMP Information
Request datagram. However, as a notational convention, we refer to
networks (as opposed to hosts) by using addresses with zero fields.
For example, 36.0.0.0 means "network number 36" while 36.255.255.255
means "all hosts on network number 36".
For example, if I were to say "it's 10.0.0.0/16", you would know I was talking about a subnet, and not a host. If I were to say "it's 10.0.4.16/16", you would know I was talking about a host.
In practice, some IP stacks interpreted this as an alternate form of the broadcast address. But (as the RFC states) you will probably never see it on the network.
全 0 的网络地址代表this network
。例如 0.0.0.120 用于向网络发送广播消息。
全1的网络地址代表all networks
。向所有网络发送广播消息。
每个人都感到困惑的是在网络地址,广播地址和相反的网络之间
网络地址:它是一个所有主机位为零的网络,即10.0.0.0
是一个网络地址
和
广播地址:它是所有主机位均为 1 的地址,即10.255.255.255
广播地址