ch23-隧道技术-移动IP技术-教学课件.ppt





《ch23-隧道技术-移动IP技术-教学课件.ppt》由会员分享,可在线阅读,更多相关《ch23-隧道技术-移动IP技术-教学课件.ppt(28页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、隧道技术Topologically correct/routable IP address is said to be topologically correct or routable if the host or router using that address is physically attached to the network to which that IP address belongs.For example,the IP address 137.132.21.3 with netmask 255.255.255.0 is topologically correct or
2、 routable if the host using it is physically attached to the 137.132.21.0 network.This IP address is topologically incorrect if the host is physically attached to the 137.132.88.0 network.Tunnel is a method of transporting topologically non-routable IP datagrams by encapsulating that datagram in ano
3、ther topologically routable datagramTunneling is a term for the process of running one network protocol on top of another1)Record route option5.4.5 为什么用隧道而不是源路由1)Record route concept2)Strict source route concept67.14.10.22140.10.5.4200.14.7.14140.10.6.3140.10.5.4200.14.7.14140.10.6.3200.14.7.9200.14
4、.7.14140.10.6.3200.14.7.9138.6.22.263)Loose source route option为什么说源路由不是一个好方案首先,虽然Record Route 和Loose Source Option在IPv4标准RFC 791已经定义,但是两个选项基本上从来没有在IPv4主机中正确地实现过其次,包含选项的IP数据包需要从源到目的地沿途所有路由器打开带有选项的数据包进行语法分析,以防选项可能与该路由器有关。带来性能下降快。隧道技术只需要两台路由器:家乡代理和隧道出口(外地代理或移动节点自己)作特殊处理。安全问题:一个坏家伙可以向移动节点的通信对端发送一个包,将一个
5、伪造的转交地址当作中间目的地址,通信对端使源路由反向后,在它的应答中也将伪造的转交地址作为中间目的地址。这时,移动节点就被从与对端的通信中挤出去了,这个坏人可以得到移动节点的通信对端送给移动节点的所有数据包。IP datagram6.1 IP分片MTU 数据链路层MTU(Maximum Transfer Unit)为避免分片的发生,IPv4建议(IPv6则要求)主机查明从源到目的之间路径的MTU分片的工作原理IP FragmentationDetailed example6.2 IP-in-IP封装移动IP要求家乡代理和外地代理实现IPinIP封装,以实现从家乡代理到转交地址的隧道。Home
6、agent tunnels(encapsulates)packets to care-of addressTunnel source is the home agents addressTunnel destination is the care-of addressRFC2474 Definition of the Differentiated Services Field(DS Field)in the IPv4 and IPv6 Headers6.3 最小封装RFC2004 Minimal Encapsulation within IP(optional)最小封装的目的是减少实现隧道所需
7、的额外字节数,可通过将IP的IP封装中内层IP报头和外层IP报头的冗余部分去掉来完成。e.g.TTL,IHL,version,DS(RFC 2474,old:TOS)采用最小封装的隧道中,从隧道入口到出口的每一台路由器都会将原始数据包的生存时间减小。因此,经过最小封装的包可能不能到达目的地。最小封装不能用于那些已经经过分片的原始数据包Generic Routing Encapsulation RFC2784GRE还支持其他网络层协议,它允许采用一种协议的数据包封装在采用另一种协议的数据包的净荷中6.4 多协议封装技术11.1.6 向移动节点路由其他协议的数据包6.5 本章总结分片是一个将IP包
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ch23 隧道 技术 移动 IP 教学 课件

限制150内