Lm th? no ? s? d?ng TRACERT ? kh?c ph?c v?n ? TCP/IP trong Windows

D?ch tiu ? D?ch tiu ?
ID c?a bi: 314868 - Xem s?n ph?m m bi ny p d?ng vo.
? c m?t phin b?n Microsoft Windows 2000 c?a bi vi?t ny, xem 162326.
Bung t?t c? | Thu g?n t?t c?

? Trang ny

TM T?T

Bi vi?t ny m t? TRACERT (Trace Route), m?t d?ng l?nh ti?n ch m b?n c th? s? d?ng ? truy nguyn con ?ng m m?t gi d? li?u giao th?c Internet (IP) s? a ?n ch c?a n.

Bi vi?t ny th?o lu?n v? cc ch? ? sau:
  • Lm th? no ? s? d?ng ti?n ch TRACERT
  • Lm th? no ? s? d?ng TRACERT ? kh?c ph?c s? c?
  • Lm th? no ? s? d?ng ty ch?n TRACERT

THNG TIN THM

Lm th? no ? s? d?ng ti?n ch TRACERT

Ti?n ch ch?n on TRACERT s? xc ?nh cc tuy?n ?ng ?n ch b?ng cch g?i cc gi echo giao th?c thng i?p i?u khi?n Internet (ICMP) ?n ch. Trong cc gi d? li?u, TRACERT s? d?ng khc nhau IP Time To Live (TTL) gi tr?. B?i v? m?i b? ?nh tuy?n d?c theo con ?ng l c?n thi?t ? gi?m cc gi TTL b?i t nh?t 1 tr?c khi chuy?n ti?p gi d? li?u, TTL c hi?u qu? l m?t truy c?p hop. Khi TTL vo m?t gi ?t zero (0), b? ?nh tuy?n s? g?i m?t ICMP "Th?i gian v?t qu" tin nh?n quay l?i my tnh ngu?n.

TRACERT g?i gi echo ?u tin v?i m?t TTL 1 v t?ng b?c TTL b?i 1 trn m?i truy?n d?n ti?p theo, cho ?n khi cc i?m ?n p ?ng ho?c cho ?n khi TTL t?i a l ?t ?c. ICMP "Th?i gian v?t qu" thng i?p trung gian router g?i tr? l?i th?y r?ng cc tuy?n ?ng. Tuy nhin lu ? r?ng m?t s? router l?ng l? th? cc gi ? h?t h?n TTLs, v cc gi d? li?u ?c v h?nh ? TRACERT.

TRACERT in ra danh sch ?t hng cc b? ?nh tuy?n trung gian m tr? v? ICMP "Th?i gian v?t qu" tin nh?n. B?ng cch s? d?ng cc -d ty ch?n v?i cc tracert l?nh ch? th? TRACERT khng ? th?c hi?n m?t tra c?u DNS m?i ?a ch? IP, v? v?y m TRACERT bo co ?a ch? IP c?a giao di?n g?n bn c?a cc router.

Trong v d? sau y c?a cc tracert l?nh v ?u ra c?a n, cc gi d? li?u i qua hai router (157.54.48.1 v 11.1.0.67) ? c ?c ? lu tr? 11.1.0.1. Trong v d? ny, cc c?ng m?c ?nh l 157.54.48.1 v ?a ch? IP c?a b? ?nh tuy?n trn 11.1.0.0 m?ng l lc 11.1.0.67.

L?nh:
C:\>tracert 11.1.0.1
?u ra t? l?nh:
   Tracing route to 11.1.0.1 over a maximum of 30 hops
   ---------------------------------------------------
   1      2 ms       3 ms       2 ms      157.54.48.1
   2     75 ms      83 ms      88 ms      11.1.0.67
   3     73 ms      79 ms      93 ms      11.1.0.1

   Trace complete.
				

Lm th? no ? s? d?ng TRACERT ? kh?c ph?c s? c?

B?n c th? s? d?ng TRACERT ? t?m ni m?t gi d?ng l?i trn m?ng. Trong v d? sau, c?ng m?c ?nh ? t?m th?y l khng c ?ng d?n h?p l? cho my ch? lu tr? trn 22.110.0.1. C l?, m?t trong hai b? ?nh tuy?n c m?t v?n ? c?u h?nh, ho?c 22.110.0.0 m?ng khng t?n t?i, ph?n nh m?t ?a ch? IP x?u.

L?nh:
C:\>tracert 22.110.0.1
?u ra t? l?nh:
   Tracing route to 22.110.0.1 over a maximum of 30 hops
   -----------------------------------------------------
   1  157.54.48.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? d?n ?n nh?ng i?m gi?ng nhau ho?c ni m nhi?u thnh ph?n trung gian (router ho?c c?u) c lin quan.

Lm th? no ? s? d?ng ty ch?n TRACERT

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

V d? sau c php l?nh cho th?y t?t c? cc ty ch?n c th?:
tracert -d -h maximum_hops -j danh sch my ch? -w th?i gian ch? target_host
Cc thng s? lm g?:
   -d 
      Specifies to not resolve addresses to host names

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

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

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

   target_host
      Specifies the name or IP address of the target host
				

Thu?c tnh

ID c?a bi: 314868 - L?n xem xt sau cng: 27 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
T? kha:
kbinfo kbnetwork kbmt KB314868 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:314868

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