46組播修改ttl實(shí)驗(yàn)_第1頁(yè)
46組播修改ttl實(shí)驗(yàn)_第2頁(yè)
46組播修改ttl實(shí)驗(yàn)_第3頁(yè)
46組播修改ttl實(shí)驗(yàn)_第4頁(yè)
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、組播修改ttl實(shí)驗(yàn)r1是源,所有路由器運(yùn)行ospf并互通,組播接口運(yùn)行pim-dm協(xié)議,r4, r5模擬主機(jī), 并加入組地址224.2.2.2現(xiàn)在ping組地址,收到r4和r5的replyrl#p 224.2.2.2type escape sequenee to abort.sending 1,100-byte icmp echos to 224.2.2.2, timeout is 2 seconds:reply to request 0 from 192.16835.5,176 msreply to request 0 from 192.168.34.4,176 ms在r3上查看pim接口的

2、詳細(xì)信息,發(fā)現(xiàn)默認(rèn)ttl=or3#sh ip pirn in terface sl/1 deseriall/1 is up, line protocol is upinternet address is 192.168.34.3/24multicast switching: fastmulticast packets in/out: 0/6multicast boundary: not setmulticast ttl threshold: 0pim: enabledpim version: 2, mode: densepim dr:0.0.0.0pim neighbor count: 0pi

3、m hello/query interval: 30 secondspim hello packets in/out: 0/13pim state-refresh processing: enabledpim state-refresh origination: disabledpim nbma mode: disabledpim atm multipoint signalling: disabledpim domain border: disabledmulticast tagswitching: disabledr3#sh ip pirn interface f0/0 defastethe

4、rneto/o is up, line protocol is upinternet address is 192.168.35.3/24multicast switching: fastmulticast packets in/out: 0/1multicast boundary: not setmulticast ttl threshold: 0pim: enabledpim version: 2, mode: densepim dr: 192.168.35.3 (this system)pim neighbor count: 0pim hello/query interval: 30 s

5、econdspim hello packets in/out: 0/23pim state-refresh processing: enabledpim state-refresh origination: disabledpim nbma mode: disabledpim atm multipoint signalling: disabledpim domain border: disabledmulticast tagswitching: disabled現(xiàn)在改變r(jià)3上兩個(gè)接口的ttl |'1限,對(duì)于r4的ttl=5,對(duì)于r5的ttl=6r3(config)#int sl/1r3

6、(config-if)#ip multicast ttl-threshold 5r3(config-if)#int f0/0r3(config-if)#ip multicast ttl-threshold 6r1的ping信息,將ttl設(shè)為8發(fā)送,r4和r5都回復(fù)了 reply信息rl#pingprotocol ip:target ip address: 224.2.2.2repeat count 1: 5datagram size 100:timeout in seconds 2:extended commands n: yinterface all:time to live 255: 8t

7、ype of service 0:set df bit in ip header? no:validate reply data? no:data pattern oxabcd:loose, strict, record, timestamp, verbosenone:sweep range of sizes n:type escape sequenee to abortsending 5,100-byte icmp echos to 224.2.2.2, timeout is 2 seconds:reply to request 0 from 192.168.35.5,104 msreply

8、 to request 0 from 192.168.34.4,104 msreply to request 1 from 192.168.34.4,144 msreply to request 1 from 192.168.35.5,160 msreply to request 2 from 192.168.35.5, 92 msreply to request 2 from 192.16834.4,152 msreply to request 3 from 192.168.35.5,116 msreply to request 3 from 192.168.34.4,116 msreply

9、 to request 4 from 192.168.35.5, 76 msreply to request 4 from 192.168.34.4, 76 msr3 ± debug,經(jīng)過(guò)r2 跳后,再進(jìn)行rpf檢測(cè),ttl從8減到了 6r3(config-if)#no ip mroute-cacher3(config-if)#azr3#debug ip mpacket detailr3#*mar 23 14:32:26.239: ip(0): mac sa=*hdlc* (seriall/0)*mar 23 14:32:26.239: ip(0): ip tos=oxo, len=

10、100z id=79, ttl=6, prot=l*mar 23 14:32:26.243: ip(0): s=192.168.12.1 (seriall/0) d=224.2.2.2 (seriall/1) id=79, prot=l, len=100(100), mforward*mar 23 14:32:26.247: ip(0): s=192.168.12.1 (seriall/0) d=224.2.2.2 (fastetherneto/o) id=79z prot=l, len=100(100), mforward綜上,數(shù)據(jù)包的ttl大于等于門限值則可以轉(zhuǎn)發(fā)。r1的ping信息,將t

11、tl設(shè)為7發(fā)送,只有r4回復(fù)了 reply信息rl#pprotocol ip:target ip address: 224.2.2.2repeat count 1: 5datagram size 100:timeout in seconds 2:extended commands n: yinterface all:time to live 255: 7type of service 0:set df bit in ip header? no:validate reply data? no:data pattern oxabcd:loose, strict, record, timestamp

12、, verbosenone:sweep range of sizes n:type escape sequence to abort.sending 5,100-byte icmp echos to 224.2.2.2, timeout is 2 seconds:reply to request 0 from 192.168.34.4,152 msreply to request 1 from 192.168.34.4,116 msreply to request 2 from 192.168.34.4,116 msreply to request 3 from 192.168.34.4,172 msreply to request 4 from 192.168.34.4, 88 msr3#*mar 23 14:38:09.131: ip(0): mac sa=*hdlc* (seriall/0)*mar 23 14:38:09.131: ip(0): ip tos=0x0, len=100, id=80, ttl=5, prot=l*mar 23 14:38:09.135: ip(0): s=192.168.12.1 (seria

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論