为啥B类IP地址允许连接的网络数是16382而不是16384另外两个为啥不能用

同一个子网内全0的地址表示这个网络,全1的地址表示网络内广播。这两个IP地址不能用于其他用途。
■网友
网上确实有很多资料提到了16382这个数字,所以我做了些微小的工作:在RFC上搜索,16382没有在任何相关联的地方出现,倒是在方面大量出现。所以我怀疑网上有些文章出现偏差。英文维基似乎不用翻墙Classful network提到:The number of addresses usable for addressing specific hosts in each network is always 2N - 2 (where N is the number of rest field bits, and the subtraction of 2 adjusts for the use of the all-bits-zero host portion for network address and the all-bits-one host portion as a broadcast address. Thus, for a Class C address with 8 bits available in the host field, the number of hosts is 254.仅仅说主机数量(Addresses per network) 为啥B类IP地址允许连接的网络数是16382而不是16384另外两个为啥不能用
,因为有全0和全1主机地址。但是子网数量(Number of networks)没有提及这个影响。 【为啥B类IP地址允许连接的网络数是16382而不是16384另外两个为啥不能用】 为啥B类IP地址允许连接的网络数是16382而不是16384另外两个为啥不能用


    推荐阅读