Lm th? no ? s? d?ng ti?n ch d?ng l?nh Tracert ? g? r?i cc v?n ? v? TCP/IP trong Windows

D?ch tiu ? D?ch tiu ?
ID c?a bi: 162326 - Xem s?n ph?m m bi ny p d?ng vo.
i vi phin ban Microsoft Windows XP cua bai vit nay, hay xem 314868.
Bung t?t c? | Thu g?n t?t c?

? Trang ny


Quan tr?ng Ph?n ny, phng php, ho?c cng vi?c c b?c m cho b?n bi?t lm th? no ? ch?nh s?a registry. Tuy nhin, v?n ? nghim tr?ng c th? x?y ra n?u b?n s?a ?i registry khng chnh xc. V? v?y, h?y ch?c ch?n r?ng b?n lm theo cc b?c sau m?t cch c?n th?n. ? b?o v? ?c thm vo, sao lu s? ng k? tr?c khi b?n s?a ?i n. Sau , b?n c th? khi ph?c s? ng k? n?u m?t v?n ? x?y ra. ? bi?t thm chi ti?t v? lm th? no ? sao lu v khi ph?c s? ng k?, h?y nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
322756 Cch sao lu v lu tr? s? ng k trong Windows

L?nh TRACERT (Trace Route) l m?t tuy?n ?ng-tracing Ti?n ch ?c s? d?ng ? xc ?nh ?ng d?n m?t gi tin IP ? a ?n m?t i?m ?n.

Chu y B?n c th? ch?y ny utitily b?ng cch g? tracert IPAddress ho?c tracert Tn mi?n my ch? t?i d?u nh?c l?nh.

Bi vi?t ny th?o lu?n v? cc ch? ? sau:
  • Cch th?c ho?t ?ng l?nh TRACERT
  • X? l? s? c? v?i TRACERT
  • TRACERT c php


Cch th?c ho?t ?ng l?nh TRACERT

Ti?n ch ch?n on TRACERT s? xc ?nh cc tuy?n ?ng a ?n m?t i?m ?n b?ng cch g?i cc gi echo giao th?c thng i?p i?u khi?n Internet (ICMP) v?i m?c gi tr? th?i gian IP-To-Live (TTL) ?n ch. M?i b? ?nh tuy?n cng ?ng d?n ph?i gi?m TTL vo m?t gi c?a t nh?t 1 tr?c khi chuy?n ti?p n, v? v?y TTL l c hi?u qu? m?t s? hop. Khi TTL vo m?t gi ?t ?n 0, router nn g?i th ICMP v?t qu th?i gian quay l?i cc ngu?n my tnh.

TRACERT s? xc ?nh cc tuy?n ?ng b?ng cch g?i ?u tin echo gi v?i m?t TTL 1 v incrementing TTL b?i 1 trn m?i ti?p theo truy?n d?n ?n ph?n ?ng m?c tiu ho?c t?i a TTL ?c ?t t?i. Cc tuy?n ?ng ?c xc ?nh b?ng cch ki?m tra ICMP th?i gian v?t qu tin nh?n ?c g?i tr? l?i b?i b? ?nh tuy?n trung gian. Lu ? r?ng m?t s? router l?ng l? th? cc gi v?i h?t h?n TTLs v ?c v h?nh ? TRACERT.

TRACERT in ra m?t ?t hng danh sch cc router trong con ?ng tr? v? tin nh?n ICMP th?i gian v?t qu. N?u vi?c chuy?n ?i -d ?c s? d?ng (ni cho TRACERT khng ? th?c hi?n m?t tra c?u DNS m?i ?a ch? IP), ?a ch? IP c?a giao di?n g?n bn c?a cc router l bo co.

Trong v d? sau, gi ph?i i du l?ch thng qua hai router ( v ? c ?c ? lu tr? Trong ny V d?, c?ng m?c ?nh l v ?a ch? IP c?a b? ?nh tuy?n trn m?ng l lc

   Tracing route to over a maximum of 30 hops

   1     2 ms     3 ms     2 ms
   2    75 ms    83 ms    88 ms
   3    73 ms    79 ms    93 ms

   Trace complete.

X? l? s? c? v?i TRACERT

L?nh TRACERT c th? ?c s? d?ng ? xc ?nh trong tr?ng h?p m?t gi d?ng l?i trn m?ng. Trong v d? sau, c?ng m?c ?nh c xc ?nh r?ng khng ph?i l ?ng d?n h?p l? cho my ch? lu tr? trn C r?t c th? l m?t v?n ? c?u h?nh b? ?nh tuy?n ho?c m?ng khng t?n t?i (m?t ?a ch? IP x?u).

   Tracing route to over a maximum of 30 hops

   1  reports: Destination net unreachable.

   Trace complete.

TRACERT l h?u ch cho x? l? s? c? l?n m?ng ni m?t s? ?ng d?n c th? ?c th?c hi?n ? i ?n nh?ng i?m gi?ng nhau, ho?c ni nhi?u h? th?ng trung gian (router ho?c c?u) c lin quan.


C r?t nhi?u thi?t b? chuy?n m?ch d?ng l?nh c th? ?c s? d?ng v?i TRACERT, nhng h? th?ng khng c?n thi?t cho tiu chu?n x? l? s? c?.

TRACERT c php:

tracert [-d] [-h maximum_hops] [-j my ch?-danh sch] [-w timeout] target_name

Cc tham s?:
      Specifies to not resolve addresses to host names.

   -h maximum_hops
      Specifies the maximum number of hops to search for target.

   -j host-list
      Specifies loose source route along the host-list.

   -w timeout
      Waits the number of milliseconds specified by timeout for each

      Name or IP address of the target host.
B?n c th? s? d?ng cc ty ch?n -j ? bu?c datagram i qua m?t c? th? b? ?nh tuy?n. S? d?ng ty ch?n -j theo cch ny, s? d?ng ty ch?n tuy?n ?ng ngu?n IP. V d?, n?u b?n g? tracert Tn mi?n my ch?, b?n th?y r?ng con ?ng ?c s? d?ng nh sau:
* <router1>
* <router2>
* <router3>
* <router4>
* <hostname>

T?m ?ng d?n ?n router4 v quay l?i cc my tnh, lo?i tracert -jrouter4>MyComputer>.

?ng d?n ? router4 v quay l?i my tnh ng?c. Trong v d? ny, con ?ng l thng th?ng nh?ng i?u sau y:
* <router1>
* <router2>
* <router3>
* <router4>
* <router3>
* <router2>
* <router1>
* <mycomputer>

Thu?c tnh

ID c?a bi: 162326 - L?n xem xt sau cng: 19 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
T? kha:
kbhowto kbinfo kbnetwork kbmt KB162326 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:162326

Cung cp Phan hi


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com