没有合适的资源?快使用搜索试试~ 我知道了~
首页计算机网络实验--ip部分
资源详情
资源评论
资源推荐

http://www.docin.com/p-728994094.html
中文版指导书
http://max.book118.com/html/2016/0302/36708979.shtm
22 页,相应答案。
IP 协议部分
1. What is the IP address of your computer?
答: ip:10.77.11.217.
2. Within the IP packet header, what is the value in the upper layer protocol
*eld?
答:上层协议是 ICMP。
3. How many bytes are in the IP header? How many bytes are in the payload
of the IP datagram? Explain how you determined the number of payload
bytes.
答:头部字节是 20bytes(ip 包头的最小字节);总字节是 56 bytes;因此有效
载荷是 36 bytes
4. Has this IP datagram been fragmented? Explain how you determined
whether or
not the datagram has been fragmented.
答:数据没有分片,因为 ip 报文中,ag 和 fragement oset 都是 0;

他们分别表示标志(长度 3 比特。该字段第一位不使用。第二位是 DF(Don't
Fragment)位,DF 位设为 1 时表明路由器不能对该上层数据包分段。如果一个上
层数据包无法在不分段的情况下进行转发,则路由器会丢弃该上层数据包并返回一个
错误信息。第三位是 MF(More Fragments)位,当路由器对一个上层数据包分
段,则路由器会在除了最后一个分段的 IP 包的包头中将 MF 位设为 1)和 8bit 大小
的比特片偏移(表示该 IP 包在该组分片包中位置,接收端靠此来组装还原 IP 包。)。
只有在 ipv4 中才有,在 ipv6 中已经取消了。
5. Which *elds in the IP datagram always change from one datagram to the
next
within this series of ICMP messages sent by your computer?
答 : header checksum ( 首 部 检 验 和 ) , time to live ( 寿 命 ) ,
identi*cation(16 位比特标识)在变化
6. Which *elds stay constant? Which of the *elds must stay constant? Which
*elds
must change? Why?
答:保持不变:版本号,头部长度,源 IP 地址,目的 IP 地址,服务类型,上层协议。
必须保持不变:版本号,头部长度,源 IP 地址,目的 IP 地址,服务类型,上层协议。
必 须 变 化 : header checksum ( 首 部 检 验 和 ) , time to live ( 寿 命 ) ,
identi*cation(16 位比特标识)
解释:1.没经过一个路由器,TTL 都会减 1.因此寿命一直在变化。
2.同时,路由器需要对传来的数据进行检验,如果出现错误会进行丢弃。因此每经
过一个路由器,规定必须重新计算检验和并存放在原处。
7. Describe the pattern you see in the values in the Identi*cation
*eld of the IP
Datagram

答:标识域在递增。(因为是 16 进制表示。0x 是前缀。所以有的会存在从 a 到 e,才会
进位。)只有存在分片的时候,才会是相同的标识域。
8. What is the value in the Identi*cation *eld and the TTL *eld?
答:*eld 是 13318;TTL 是 128;
(有问题) 9. Do these values remain unchanged for all of the ICMP TTL-
exceeded replies sent to your computer by the nearest (*rst hop) router?
Why?
答:TTL 的数值一直在变化。
什么是超出时间的 TTL。
10. Find the *rst ICMP Echo Request message that was sent by your computer
after you changed the Packet Size in pingplotter to be 2000. Has that
message been fragmented across more than one IP datagram?
答:是的,当我 packet size 改成 2000 后,出现的 2 个分片。
剩余13页未读,继续阅读














安全验证
文档复制为VIP权益,开通VIP直接复制

评论0