杭州电子科技大学学生考试卷(A)卷 考试课程 IPv6技术 考试日期
2015年1 月9 日 成 绩
课程号 B0503530 教师号
任课教师姓名 周旭 考生姓名
学号(8位) 年级 专业
注意事项:本试卷为开卷考试。答案写在答题白纸上,并需注明学号、姓名。答题时注明题目编号,无需按照题目顺序答题。可以查阅自带参考资料,但不得与他人交换和借阅参考资料。
一、判断题(判断下面叙述的对错,每题1分,共15分)
1.在IPv6协议中路由器可以对发包的主机提供新的路由推荐,使数据包改走其他更好的路径。
2.地址2001:0:0:0:0800:0:0:417A的压缩写法为2001::8::417A。 3.地址FF05::3表示该地址是一个熟知(well known)的组播地址。 4.ICMPv6融合了IPv4体系中的ICMP,IGMP,ARP功能。 5.在完成DAD之前,接口的地址处于prefer的状态。
6.接口发送RS数据包,路由器以RA包响应,表明自己的存在并发送一些参数。 7. IPv6组播地址和IPv6单播地址格式相似,只差一位,不容易区分清楚。 8.转交地址的前缀是移动节点所访问的家乡链路的子网前缀。 9.在无状态链路中,RA数据包的M位为0。
10.在IPv6的数据包中路由扩展头部必须是第一个扩展头部。 11.地址::总是自动分配给每个接口,与loopback地址相似。 12.::FFFF:192.168.6.10是一种IPv4兼容型的IPv6地址。
13.Aggregatable Global Unicast地址的SLAID可以用来表示子网,且子网必须是扁平(flat)的,即只能有一层。
14.IPv6数据包的头部中的source地址可能是unspecified地址。
15.移动IPv6与IPv4一样存在使用三角路由所带来的问题。 二、填空题(每空1分,共25分)
1.如果Hop-by-Hop Options头部的长度值为8,则该报头的实际总长度为(1)个8bit组。 2.在Routing扩展头部中使用(2)字段指明了需要经过的中间节点的个数。
3.IPv6数据包的最大长度是(3)字节,如果需要突破这个限制,则需要使用(4)扩展头部中设置的(5)选项,同时IPv6头部的长度字段取值设置为0。
4.当IPv6数据报头或者扩展头部之后没有其他报头的时候,IPv6头部的“下一个报头”取值为(6)。
5.请你写出一个Aggregatable Global Unicast地址(7);一个Link-Local地址(8);Loopback地址(9);本站点范围内全部节点的地址(10)。
6.在接口启动后进行地址自动配置(FE80::5F39:7E31)的过程中,需要经过一个确认是否有地址冲突的步骤,该步骤需要发送(11)数据包,其中destination地址是(12),target地址是(13)。
7.移动节点离开本地子网加入外地网络链路后,需要经过(14)步骤向家乡代理通告自己的新地址,这个新地址称为(15)。 8.移动节点具有的基本功能包括:(16)、(17)和(18)。
9.如果是采用RIPng路由协议,则IPv6数据报头部的Next Header取值为(19);如果采用的是OSPF路由协议,则Next Header取值为(20)。
10.RIPng进行路由条目更新是通过周期性发送路由信息通告实现的,需要依靠(21)进行计时控制;当路由更新的时候就会恢复(22)的值为0;过期仍然没有更新的路由条目会处于(23)状态,当(24)超时,该条目会被(25)。 三、阅读题(共10分)请阅读如下短文,并回答问题。
X1 is a link-state routing protocol for IP, as opposed to a distance-vector protocol. Think of a link as being an interface on a networking device. A link-state protocol makes its routing decisions based on the states of the links that connect source and destination machines. The state of a link is a description of that interface and its relationship to its neighboring networking devices. The interface information includes the IPv6 prefix of the interface, the network mask, the type of network it is connected to, the routers connected to that network, and so on. This information is propagated in various type of link-state advertisements.
A router's collection of link-state advertisements data is stored in a link-state database. The contents of the database, when subjected to the X2 algorithm, result in the creation of the routing table. The difference between the database and the routing table is that the database contains a complete collection of raw data; the routing table contains a list of shortest paths to known destinations via specific router interface ports. (1)What is X1? (2)What is X2?
(3)What protocol was mentioned as comparison to X1? (4)Please give the definition for “link-state”.
(5)What message the routers collect information via?
(6)Is it correct: router builds its routing table through exchanging routing table entries with its neighbor routers?
四、综合题(共50分)
1.(5分)请简述确定PMTU的原理。
2.(5分)请简述Traceroute的工作原理。
3.(5分)IPv6的RA报文中M标识位和O标识位的作用分别是什么,他们的常用组合所代表的意义是什么? 4.(5分)简述无状态自动配置的过程?使用了哪些报文?并与有状态自动配置对比优缺点。 5.(5分)简述IPv6中如何使用组播代替广播实现类似ARP的地址解析功能的。 6.(5分)按照IPv6头部的构造,写出如下数据包的头部(以Hex表示,5×8矩阵形式)。 Internet Protocol Version 6 Version: 6 Traffic class: 0 Flow label: 1
Next header: ICMPv6 Hop limit: 255
Source address: 2001::7146:FF23:A380 Destination address: FF02::1
7.(5分)解释下图中各个地址的类型和作用。
8.(5分)从下图中可以看出IPv6数据包的类型是什么?是什么类型的节点发出的?作用是什么?其中包含有哪些重要参数及其取值?
9.(5分)什么时候会产生重定向报文?简述重定向的作用。 10.(5分)简述伪造RA包攻击的原理。
相关推荐: