Ping and traceroute usage

Source: Internet
Author: User
Tags ping and traceroute

Objective: To learn the usage of Linux command Ping,traceroute

Usage of 1:ping:

Mans Ping

Ping: Determine if a host is responding

linux-8o9i:~ #Ping-C4 119.29.29.29PING119.29.29.29(119.29.29.29) About( -) bytes of data. -Bytes from119.29.29.29: icmp_seq=1Ttl=Wuyi  Time=101Ms -Bytes from119.29.29.29: icmp_seq=2Ttl=Wuyi  Time=75.0Ms -Bytes from119.29.29.29: icmp_seq=3Ttl=Wuyi  Time=74.4Ms -Bytes from119.29.29.29: icmp_seq=4Ttl=Wuyi  Time=74.2Ms---119.29.29.29 PingStatistics---4Packets Transmitted,4Received0% packet loss, Time3004msrtt min/avg/max/mdev =74.249/81.303/101.454/11.638Ms

64bytes: Number of ICMP packet sizes transmitted

Icmp_seq=1: Number of detections

TTL: Time to live, each route passed, the value minus 1, the initial value is: 64

Time: response times, the smaller the number, the better the network online condition

ping-sending an ICMP echo request to a network host

-C: Counter

-B (next to broadcast IP, query which active hosts are in a domain)

Usage of 2:traceroute:

Mans Traceroute

Traceroute: Tracing routes (nodes)

-N: Not resolved, only IP is displayed

119.29. 29.29

Often, many firewalls and hosts on the network will tracetoute the right to pass, so it will show *

Ping and traceroute usage

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.