- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计算机网络课后习题习题四五
Chapter five
第五章习题
38. Convert the IP address whose hexadecimal representation is C22F1582 to dotted decimal notation.
(38.如果一个IP地址的十六进制表示C22F1582,请将它转换成点分十进制标记.)
Solution:
The address is 194.47.21.130.
解答:
先写成二进制:0010101111,0001010所以,它的点分十进制为:
194.47.21.130
39. A network on the Internet has a subnet mask of 255.255.240.0. What is the maximum number of hosts it can handle?
(39.Interent上一个网络的子网掩码为255.255.240.0.请问它最多能够处理多少台主机?)
Solution:
The mask is 20 bits long, so the network 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 for network and the last one for broadcast.
解答:
从子网掩码255.255.240.0可知,它还有12位用于作主机号。
故它的容量有2的12次方,也即有4096地址。
除去全0和全1地址,它最多能够处理4094台主机
40. A large number of consecutive IP address are available starting at 198.16.0.0. Suppose that four organizations, 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 w.x.y.z/s notation.
(40.假定从198.16.0.0开始有大量连续的IP地址可以使用.现在4个组织A,B,C和D按照顺序依次申请4000,2000,4000和8000个地址.对于每一个申请,请利用w.x.y.z/s的形式写出所分配的第一个IP地址,以及掩码.)
Solution:
To start with, all the requests are rounded up to a power of two. The starting
address, ending address, and mask are as follows: A: 198.16.0.0 –
198.16.15.255 written as 198.16.0.0/20
B: 198.16.16.0 – 198.23.15.255 written as 198.16.16.0/21
C: 198.16.32.0 – 198.16. 47.255 written as 198.16.32.0/20
D: 198.16.64.0 – 198.16.95.255 written as 198.16.64.0/19
解答:
因为只能是2的整数次方的,故应分别借4096,2048,4096,8192个IP地址。它们分别为2的12次方,2的11次方,2的11次方,2的13次方.故可有如下分配方案:
组织 首地址 末地址 w.x.y.z/s的形式 A 198.16.0.0 198.16.15.255 198.16.0.0/20 B 198.16.16.0 198.16.23.255 198.16.16.0/21 C 198.16.32.0 198.16.47.255 198.16.32.0/20 D 198.16.64.0 198.16.95.255 198.16.64.0/19
1111 1111 1111 1111 1111 0000 0000 0000
128+64+32+16=240
您可能关注的文档
最近下载
- 人教版初中化学九年级上册 第五单元 化学方程式 课题3 利用化学方程式的简单计算 大单元整体教学设计 .pdf VIP
- 2024年上海市长宁区中考英语二模试卷.docx VIP
- 2024年深圳市育才二中初一入学分班考试数学模拟试卷附答案解析.pdf VIP
- 最新部编版一年级语文上册第八单元学历案(2024).doc
- 2025年新疆生产建设兵团继续教育公需课答案.docx
- DW15-630型断路器要点分析.doc
- 2025年7月到九月份的思想汇报.docx VIP
- 2024年上海市嘉定区中考英语二模试卷.docx VIP
- 上海市2024年虹口区中考英语二模试卷.pdf VIP
- 土力学直剪试验(完整报告,含实验数据、强度图).doc VIP
文档评论(0)