• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
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.

Announcement

Collapse
No announcement yet.

Câu hỏi về các thông số của lệnh ping

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    cac ban co the chi cho minh cach chia VLAN cho SW cisco 2950?

    Comment


    • #17
      cách chia VLAN đã được nói nhiều trong forum này rồi:

      Long Nguyen

      Comment


      • #18
        [root@localhost /]# ping cisco.com
        PING cisco.com (198.133.219.25) 56(84) bytes of data.
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=0 ttl=110 time=236 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=1 ttl=110 time=235 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=2 ttl=110 time=239 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=5 ttl=110 time=236 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=6 ttl=110 time=244 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=7 ttl=110 time=246 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=9 ttl=110 time=278 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=10 ttl=110 time=249 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=11 ttl=110 time=243 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=14 ttl=110 time=240 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=15 ttl=110 time=390 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=18 ttl=110 time=240 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=19 ttl=110 time=244 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=22 ttl=110 time=243 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=23 ttl=110 time=241 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=26 ttl=110 time=240 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=27 ttl=110 time=241 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=28 ttl=110 time=246 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=30 ttl=110 time=239 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=31 ttl=110 time=241 ms
        64 bytes from www.cisco.com (198.133.219.25): icmp_seq=32 ttl=110 time=234 ms

        --- cisco.com ping statistics ---
        34 packets transmitted, 21 received, 38% packet loss, time 33425ms
        rtt min/avg/max/mdev = 234.963/250.206/390.719/32.616 ms, pipe 2

        [root@localhost /]# ping vnpro.org
        PING vnpro.org (67.138.240.8) 56(84) bytes of data.
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=0 ttl=46 time=249 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=1 ttl=46 time=246 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=2 ttl=45 time=249 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=3 ttl=45 time=246 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=4 ttl=45 time=251 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=5 ttl=46 time=246 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=6 ttl=46 time=246 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=7 ttl=45 time=243 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=8 ttl=46 time=244 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=9 ttl=46 time=242 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=10 ttl=46 time=243 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=11 ttl=46 time=242 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=12 ttl=45 time=259 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=13 ttl=46 time=250 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=14 ttl=46 time=246 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=15 ttl=46 time=243 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=16 ttl=46 time=242 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=17 ttl=46 time=248 ms
        64 bytes from box8.bluehost.com (67.138.240.8): icmp_seq=18 ttl=46 time=249 ms

        --- vnpro.org ping statistics ---
        19 packets transmitted, 19 received, 0% packet loss, time 19195ms
        rtt min/avg/max/mdev = 242.094/247.063/259.530/4.142 ms, pipe 2


        Các bạn thử theo dõi hai thí nghiệm trên và có thể rút ra được các thông số của lệnh Ping.
        Trên Linux, lệnh ping còn kèm theo 1 trường là icmp_seq. Bác nào nói rõ hơn về nó được không?
        Còn ttl - Time to live không phải là thời gian, có trường thời gian riêng.
        Các bác có thể phân tích và chỉ ra cách tính trường time cũng như trường icmp_seq được không?

        Thân.
        Never Gone - Never Far

        Comment


        • #19
          theo minh nghi la truong icmp_seq chi la truong danh so theo thu tu thoi

          Comment


          • #20
            Originally posted by ciscau
            theo minh nghi la truong icmp_seq chi la truong danh so theo thu tu thoi
            Đúng, nhưng thứ tự thế nào, nó tính các gói send và receipt hay chỉ là send không thôi?
            Còn trường time: công thức tính thế nào? thời gian time=xxx thì xxx là thời gian của packet đi từ host gửi icmp packet đến destination hay là thời gian trung bình của ping + pong?
            Never Gone - Never Far

            Comment


            • #21
              theo tôi thì số thứ tự trên chỉ ra số thứ tự của gói tin send (echo request).
              xxx trong công thức trên là thời gian của ping + pong.
              Long Nguyen

              Comment

              Working...
              X