1 / 7

Ping Program

Ping Program. Introduction - Problem. How do I know if a host is reachable?. 0. 7. 8. 15. 16. 31. Type ( 0 or 8 ). code ( 0 ). checksum. identifier. Sequence number. Optional data. ICMP echo request / reply. Ping program uses : ICMP echo request (type 8)

aelwen
Download Presentation

Ping Program

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ping Program

  2. Introduction - Problem • How do I know if a host is reachable?

  3. 0 7 8 15 16 31 Type ( 0 or 8 ) code ( 0 ) checksum identifier Sequence number Optional data ICMP echo request / reply • Ping program uses : • ICMP echo request (type 8) • ICMP echo reply (type 0)

  4. Ping 131.107.7.29 1 ping 131.107.7.29 2 ICMP Request ICMP Reply 3 IP Address = 131.107.7.28 IP Address = 131.107.7.29

  5. Ping output D:\>ping www.cisco.com Pinging cio-sys.cisco.com [192.31.7.130] with 32 bytes of data: Reply from 192.31.7.130: bytes=32 time=190ms TTL=239 Reply from 192.31.7.130: bytes=32 time=180ms TTL=239 Reply from 192.31.7.130: bytes=32 time=180ms TTL=239 Reply from 192.31.7.130: bytes=32 time=180ms TTL=239 ( Success rate is 100 percent (5/5), round-trip min/avg/max = 192/192/192ms ) (0% packet loss)

  6. Ping options Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] destination-list Options: -t Ping the specifed host until interrupted. -a Resolve addresses to hostnames. -n count Number of echo requests to send. -l size Send buffer size. -f Set Don't Fragment flag in packet. -i TTL Time To Live. -v TOS Type Of Service. -r count Record route for count hops. -s count Timestamp for count hops. -j host-list Loose source route along host-list. -k host-list Strict source route along host-list. -w timeout Timeout in milliseconds to wait for each reply.

  7. Exercise: Find out about the PING options

More Related