C hapter five 第五章****题 38. Convert the IP address whose hexadecimal representation is C22F1582 to dotted decimal notation. ( 38. 如果一个 IP 地址的十六进制表示 C22F1582, 请将它转换成点分十进制标记.) S olution: The address is . 解答: 先写成二进制: 11000010,0010101111,0001010,10000010 所以,它的点分十进制为: 39. work on the has a mask of . What is the maximum number of hosts it can handle? ( 上一个网络的子网掩码为 . 请问它最多能够处理多少台主机?) S olution: The mask is 20 bits long, so work part is 20 bits. The remaining 12 bits are for the host, so 4096 host addresses exist. Normally , the host address is 4096-2=4094. Because the first address be used work and the last one for broadcast. 解答: 从子网掩码 可知,它还有 12 位用于作主机号。故它的容量有 2的 12 次方,也即有 4096 地址。除去全 0 和全 1 地址,它最多能够处理 4094 台主机 40. A large number of consecutive IP address are available starting at . Suppose that anizations, A,B,C, and D, request 4000, 2000, 4000, and 8000 addresses, respectively, and in that order. For each of these, give the first IP address assigned, the last IP address assigned, and the mask in the /s notation. ( 40. 假定从 开始有大量连续的 IP 地址可以使用. 现在 4 个组织 A,B,C 和D 按照顺序依次申请 4000,2000,4000 和 8000 个地址. 对于每一个申请, 请利用 的形式写出所分配的第一个 IP 地址, 以及掩码.)S olution: To start with, all the requests are rounded up toa power of two. The starting address, ending address, and mask are as follows:
计算机网络课后习题习题五 来自淘豆网www.taodocs.com转载请标明出处.