Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trace là gì vậy? cac anh em ơi!!!

    Chào anh em!
    Khi đọc các tài liệu tin hoc, tôi thấy từ : TRACE được dùng rất nhiều, tôi đang cố tìm một từ sao cho rõ nghĩ nhất.
    Anh em cùng giúp tôi nào.
    Cảm ơn trước nhé!!! :wink:

  • #2
    Re: Trace là gì vậy? cac anh em ơi!!!

    anh Manet:

    em đề nghị anh dịch sang tiếng Việt là "theo vết" hoặc "theo dấu".

    mến,

    Comment


    • #3
      anh thử ứng dụng nó vô DOS là rõ nghĩa liền hà. Chẳng hạn start->run-> commandpromt(98),cmd(2k)->enter->tracert www.yahoo.com nó sẽ hiện lên bảng các đoạn đường anh cần fải đi wa để đến với "già hú" em yêu.
      tracert = traceroute = tìm nhà "em yêu" = của tui = :lol:
      copyright@bluebeach(warning) :twisted:

      Comment


      • #4
        Rất cảm ơn bluebeach!!!

        Comment


        • #5
          How to Use the TRACERT Utility
          The TRACERT diagnostic utility determines the route to a destination by sending Internet Control Message Protocol (ICMP) echo packets to the destination. In these packets, TRACERT uses varying IP Time-To-Live (TTL) values. Because each router along the path is required to decrement the packet's TTL by at least 1 before forwarding the packet, the TTL is effectively a hop counter. When the TTL on a packet reaches zero (0), the router sends an ICMP "Time Exceeded" message back to the source computer.

          TRACERT sends the first echo packet with a TTL of 1 and increments the TTL by 1 on each subsequent transmission, until the destination responds or until the maximum TTL is reached. The ICMP "Time Exceeded" messages that intermediate routers send back show the route. Note however that some routers silently drop packets that have expired TTLs, and these packets are invisible to TRACERT.

          TRACERT prints out an ordered list of the intermediate routers that return ICMP "Time Exceeded" messages. Using the -d option with the tracert command instructs TRACERT not to perform a DNS lookup on each IP address, so that TRACERT reports the IP address of the near-side interface of the routers.

          In the following example of the tracert command and its output, the packet travels through two routers (157.54.48.1 and 11.1.0.67) to get to host 11.1.0.1. In this example, the default gateway is 157.54.48.1 and the IP address of the router on the 11.1.0.0 network is at 11.1.0.67.

          The command:
          C:\>tracert 11.1.0.1

          The output from the command: 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.

          How to Use TRACERT to Troubleshoot
          You can use TRACERT to find out where a packet stopped on the network. In the following example, the default gateway has found that there is no valid path for the host on 22.110.0.1. Probably, either the router has a configuration problem, or the 22.110.0.0 network does not exist, reflecting a bad IP address.

          The command:
          C:\>tracert 22.110.0.1

          The output from the command: 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 is useful for troubleshooting large networks where several paths can lead to the same point or where many intermediate components (routers or bridges) are involved.
          How to Use TRACERT Options
          There are several command-line options that you can use with TRACERT, although the options are not usually necessary for standard troubleshooting.

          The following example of command syntax shows all of the possible options:
          tracert -d -h maximum_hops -j host-list -w timeout target_host

          What the parameters do: -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

          Comment


          • #6
            trace hay traceroot là một tool rất có ích trong IOS, nó giúp ta thấy được các path (hop) mà 1 packet sẽ đi wa để đến được hop đích, cộng thêm các TTL tốn để đến được hop đó.Theo mình thì dịch trace=="dò path", "dó vết"...

            ...
            And we are all connected to each other
            In a circle, in a hoop that never ends
            ...

            Comment


            • #7
              anh em ơi cho tôi hỏi, ping thì có extended ping, vậy thì trace cũng phải có extended trace chứ nhỉ? Có ai biất output của nó không?Posh lên cho mọi người xem đi!

              ...
              And we are all connected to each other
              In a circle, in a hoop that never ends
              ...

              Comment


              • #8
                RE: Trace là gì vậy? cac anh em ơi!!!

                nguyên lý hoạt động của trace

                đầu tiên thiết bị thực hiện lệnh trace sẽ gửi ra một chuỗi các UDP datagram. Trong mỗi datagram sẽ có giá trị TTL = 1. Địa chỉ port được dùng là 33434 (invalid port). Giá trị TTL =1 sẽ làm cho gói tin này bị TIMEOUT ngay khi nó gặp router đầu tiên trên đường đi. Router này sẽ trả lời lại gói ICMP 'time exceed' cho source để chỉ ra rằng datagram đã bị expire.

                Bước tiếp theo, các UDP message sẽ được gửi với giá trị TTL được gán bằng 2. Điều này làm cho router thứ hai trên đường đi sẽ trả lời lại bằng gói tin ICMP time exceed.

                Quá trình này tiếp tục cho đến khi gói tin đến được đính VÀ cho đến khi hệ thống thực hiện lệnh trace nhận được ICMP 'time exceed" từ tất cả các router trên đường đi đến đích. Vì các datagram này dùng port không hợp lệ (invalid), các host sẽ trả lời lại với ICMP "port unreachable".

                Khi này thì chương trình traceroute sẽ kết thúc
                Nguyễn Hữu Hòa, CCNA
                CCNP in progress

                Comment


                • #9
                  Originally posted by lee
                  anh em ơi cho tôi hỏi, ping thì có extended ping, vậy thì trace cũng phải có extended trace chứ nhỉ? Có ai biất output của nó không?Posh lên cho mọi người xem đi!
                  Example
                  Router A>enable
                  Router A#traceroute
                  Protocol [ip]:
                  Target IP address: 192.168.40.2

                  !--- The address to which the path is being traced.

                  Source address: 172.16.23.2
                  Numeric display [n]:
                  Timeout in seconds [3]:
                  Probe count [3]:
                  Minimum Time to Live [1]:
                  Maximum Time to Live [30]:
                  Port Number [33434]:
                  Loose, Strict, Record, Timestamp, Verbose[none]:
                  Type escape sequence to abort.
                  Tracing the route to 192.168.40.2

                  1 172.31.20.2 16 msec 16 msec 16 msec
                  2 172.20.10.2 28 msec 28 msec 32 msec
                  3 192.168.40.2 32 msec 28 msec *

                  !--- Traceroute is successful


                  Router A#
                  Nguyễn Hữu Hòa, CCNA
                  CCNP in progress

                  Comment

                  Working...
                  X