資源描述:
《46組播修改ttl實驗》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、組播修改TTL實驗R1是源,所有路由器運行OSPF并互通,組播接口運行PIM-DM協(xié)議,R4,R5模擬主機,并加入組地址224.2.2.2現(xiàn)在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接口的詳細(xì)信息,發(fā)
2、現(xiàn)默認(rèn)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現(xiàn)在改變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設(shè)為8發(fā)送,R4和R5都回復(fù)了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