资源描述:
《46组播修改ttl实验》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、组播修改TTL实验R1是源,所有路由器运行OSPF并互通,组播接口运行PIM-DM协议,R4,R5模拟主机,并加入组地址224.2.2.2现在PING组地址,收到R4和R5的replyRl#p224.2.2.2Typeescapesequeneetoabort.Sending1,100-byteICMPEchosto224.2.2.2,timeoutis2seconds:Replytorequest0from192.16835.5,176msReplytorequest0from192.168.34.4,176ms在R3上查看PIM接口的详细信息,发
2、现默认TTL=OR3#shippirninterfacesl/1deSeriall/1isup,lineprotocolisupInternetaddressis192.168.34.3/24Multicastswitching:fastMulticastpacketsin/out:0/6Multicastboundary:notsetMulticastTTLthreshold:0PIM:enabledPIMversion:2,mode:densePIMDR:0.0.0.0PIMneighborcount:0PIMHello/Queryinterva
3、l:30secondsPIMHellopacketsin/out:0/13PIMState-Refreshprocessing:enabledPIMState-Refreshorigination:disabledPIMNBMAmode:disabledPIMATMmultipointsignalling:disabledPIMdomainborder:disabledMulticastTagswitching:disabledR3#shippirninterfacef0/0deFastEthernetO/Oisup,lineprotocolisup
4、Internetaddressis192.168.35.3/24Multicastswitching:fastMulticastpacketsin/out:0/1Multicastboundary:notsetMulticastTTLthreshold:0PIM:enabledPIMversion:2,mode:densePIMDR:192.168.35.3(thissystem)PIMneighborcount:0PIMHello/Queryinterval:30secondsPIMHellopacketsin/out:0/23PIMState-R
5、efreshprocessing:enabledPIMState-Refreshorigination:disabledPIMNBMAmode:disabledPIMATMmultipointsignalling:disabledPIMdomainborder:disabledMulticastTagswitching:disabled现在改变R3上两个接口的TTL
6、'1限,对于R4的TTL=5,对于R5的TTL=6R3(config)#intsl/1R3(config-if)#ipmulticastttl-threshold5R3(config-i
7、f)#intf0/0R3(config-if)#ipmulticastttl-threshold6R1的PING信息,将TTL设为8发送,R4和R5都回复了reply信息Rl#pingProtocol[ip]:TargetIPaddress:224.2.2.2Repeatcount[1]:5Datagramsize[100]:Timeoutinseconds[2]:Extendedcommands[n]:yInterface[All]:Timetolive[255]:8Typeofservice[0]:SetDFbitinIPheader?[no]:
8、Validatereplydata?[no]:Datapattern[OxABCD]:Loose,Strict,Record,Timestamp,Verbose[none]:Sweeprangeofsizes[n]:Typeescapesequeneetoabort・Sending5,100-byteICMPEchosto224.2.2.2,timeoutis2seconds:Replytorequest0from192.168.35.5,104msReplytorequest0from192.168.34.4,104msReplytorequest
9、1from192.168.34.4,144msReplytorequest1from192.168.35.5