mturoute–檢測(cè)網(wǎng)路的mtu值

mturoute是一個(gè)檢測(cè)你與目標(biāo)網(wǎng)站的mtu值的windows軟件,通過(guò)不斷嘗試發(fā)送不同大小的icmp ping包來(lái)確定mtu大小,由于使用了non-fragment標(biāo)識(shí),所以當(dāng)發(fā)送icmp包太大,包不會(huì)被重封裝,而是直接丟棄,不返回任何信息;這樣下次就會(huì)選擇個(gè)小點(diǎn)的icmp包來(lái)發(fā)送,直至收到回復(fù)信息~

用法:
mturoute [選項(xiàng)] 目標(biāo)地址
選項(xiàng):

-t : Toggles 'traceroute' mode. (Default is off)
-f : Allow fragmentation. This will return the max ping size that the target host will respond to, but not necessarily the MTU.
-w : Set the number of milliseconds to wait for a response (default 3000).
-r : Set the maximum number of probe retries on timeout (default = 3).
-i : Set the interval between two echo requests.
-d : Increases the debugging level. Reports ICMP status/failures.
-m : Sets a maximum payload size to test. (Default is 10000)
-v : Print version info and exit.
-z : Fill ICMP packets with random data.
-p : Fill ICMP packets with a specified pattern.
-s : Skip speed optimizations.
-x : Redact IP addresses in output.
-h,-? : Print usage information and exit.

例子:

這里1472字節(jié)就行,但1473字節(jié)就失敗了,所以軟件返回了1500字節(jié)(檢測(cè)的1472字節(jié)+額外的icmp協(xié)議報(bào)頭的8字節(jié)+IP報(bào)頭的20字節(jié))

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容

  • 11.1 引言 UDP是一個(gè)簡(jiǎn)單的面向數(shù)據(jù)報(bào)的運(yùn)輸層協(xié)議:進(jìn)程的每個(gè)輸出操作都正好產(chǎn)生一個(gè)UDP數(shù)據(jù)報(bào),并組裝成一...
    張芳濤閱讀 2,864評(píng)論 1 6
  • 簡(jiǎn)介 用簡(jiǎn)單的話來(lái)定義tcpdump,就是:dump the traffic on a network,根據(jù)使用者...
    保川閱讀 5,987評(píng)論 1 13
  • 個(gè)人認(rèn)為,Goodboy1881先生的TCP /IP 協(xié)議詳解學(xué)習(xí)博客系列博客是一部非常精彩的學(xué)習(xí)筆記,這雖然只是...
    貳零壹柒_fc10閱讀 5,092評(píng)論 0 8
  • nmap使用指南(終極版) 原創(chuàng)2017-09-09hl0rey信安之路 一、目標(biāo)指定 1.CIDR標(biāo)志位 192...
    用電熱毯烤豬閱讀 12,052評(píng)論 1 49
  • 24.1 引言 TCP已經(jīng)在從1200 b/s的撥號(hào)SLIP鏈路到以太數(shù)據(jù)鏈路上運(yùn)行了許多年。在80年代和90年代...
    張芳濤閱讀 1,522評(píng)論 0 3