Ali Torabi
March2017
Description
Video links related to
this tutorial on youtube
Introducing the ping command and its
parameters with example –in Persian
Ping Owerview
The ping command helps to
verify IP-level connectivity
ping works with both
Internet Protocol version 4
(IPv4) and Internet Protocol
version 6 (IPv6) addresses
Ping Owerview
Use ping whenever you
need to verify that a host
computer can connect to
the TCP/IP network and
network resources
Ping Overview
Any IP network device has the
capability to send, receive or
process ICMP messages.
http://searchnetworking.techtarget.com/definition/ICMP
Ping Overview
Ping works with both
Internet Protocol version
4 (IPv4) and Internet
Protocol version 6 (IPv6)
addresses
Ping Overview
ICMP (Internet Control Message
Protocol) is located at the Network layer
of the OSI model (or just above it in the
Internet layer, as some argue), and is an
integral part of the Internet Protocol
suite ( commonly referred to as TCP/IP).
ICMP is assigned Protocol Number 1 in
the IP suite according to IANA.org.
Designed to act as an error reporting
and query service, it plays a crucial role
in the host-to-host datagram service in
network communication. It is the part of
the IP service that acts as the feedback
system in network IP communication,
making sure that undeliverable packets
are reported to the sending host, such as
the router or the gateway. Any IP
network device can send ICMP
datagrams, including network interface
cards and other devices that are
commonly used in your environment.
Ping Overview
👉Test-NetConnection -ComputerName server-1
👉Test-NetConnection -ComputerName compute
rname OR IP -InformationLevel Detailed
Test-Connection -ComputerName Server01, Server02, Server12
Ping ing a target by name or IP from
the local computer via powershell…
👉Test-Connection 192.168.1.1
You can
ping several target frome local computer:
Ping Owerview
How to Ping with PowerShell
How to Read Command Syntax
ping [-t] [-a] [-n Count] [-l Size] [-f] [-i TTL] [-v TOS]
[-r Count] [-s Count] [{-j HostList | -k HostList}]
[-w Timeout] ] [-4] [-6] [TargetName] [/?]
Bold
Bold items must typed exactly as
they are shown, this includes any
bold words, slashes, colons, etc.
Italic
Italic items are items that you must
supply. Do not take an italic item
literally and use it in the command
as shown.
S p a c e s
All spaces should be taken literally.
If a command's syntax has a space,
use that space when executing the
command.
How to Read Command Syntax
ping [-t] [-a] [-n Count] [-l Size] [-f] [-i TTL] [-v TOS]
[-r Count] [-s Count] [{-j HostList | -k HostList}]
[-w Timeout] ] [-4] [-6] [TargetName] [/?]
http://www.computerhope.com/keys.htm
[Text inside brackets]
Any items inside a bracket are optional.
Brackets are not to be taken literally so
don't use them when executing a command.
Text outside brackets
Any text not contained in a bracket is
required. In the syntax of many commands,
the only text not surrounded by one or more
brackets is the command name itself
{Text inside braces}
The items within a brace are options, of
which you must choose only one. Braces are
not to be taken literally so don't use them
when executing a command.
Vertical | bar
Vertical bars are used to separate items
within brackets and braces. Do not take
vertical bars literally
ping [-n count] [-t] [-a] [-l size] [-f] [-i TTL] [-w timeout] [-r count] [-s count] [-S srcaddr] target
ping the target until you force it to stop using Ctrl-C
Resolve addresses to hostnames
Number of echo requests to send
Specifying a timeout value in milliseconds to
wait for each reply minimum is 4000
to specify the number of hops that you'd like
to be recorded and displayed.frome 1 to 9
Set Don't Fragment flag in packet
Timestamp for count hops.max is 4. frome 1 to 4
to specify the source address
option to set the size, in bytes, of the echo request
packet from 32 to 65,527
sets the Time to Live (TTL) value, the maximum
of which is 255
Ping command parameters:
Ping command parameters:
Ping -n
Ping 8.8.8.8 –n 10
-n count , This option sets the
number of ICMP Echo Request
messages to send. If you execute
the ping command without this
option, four requests will be sent.
Ping command parameters:
ping -t
Ping 8.8.8.8 -t
Pings the specified host until
you force it to stop using Ctrl+C
To see statistics and continue
press Control+Break
Ping command parameters:
Ping -a
Ping 8.8.8.8 -a
This ping command
option will resolve, if
possible, the hostname
of an IP address target
Ping command parameters:
ping –L
Ping –l 100 –f 8.8.8.8
Use this option to set the
size, in bytes, of the echo
request packet from 32
to 65,527. The ping
command will send a 32
byte echo request if you
don't use the -l option.
Ping command parameters:
ping -f
Use this ping command option
to prevent ICMP Echo Requests
from being fragmented by
routers between you and the
target. The -f option is most
often used to troubleshoot Path
Maximum Transmission Unit
(PMTU) issues.
path Maximum Transmission Unit
Ping command parameters:
ping -i
ping -i 5 IP Wait for 5 seconds before sending the next packet
This option sets the Time
to Live (TTL) value, the
maximum of which is 255.
TTL values are different for different
Operating Systems. So, you can determine
the OS based on the TTL value
different operating systems set different defaults
in UNIX TTL = 64
in Windows TTL = 128
in Solaris TTL = 254
Source: http://subinsb.com/default-device-ttl-values
In computer networking, TTL prevents a
data packet from circulating indefinitely
Ping command parameters:
ping -w
By default, ping waits
4,000 milliseconds (4 seconds) for
each response to be returned
before displaying the "Request
Timed Out" message.
If the remote system being pinged
is across a high-delay link, such as
a satellite link, responses might
take longer to be returned. You
can use the -w (wait) option to
specify a longer timeout
Ping –w 10000 IP
Ping command parameters:
Ping -r
-r count = Use this ping command
option to specify the number of
hops between the your computer
and the target computer or device
that you'd like to be recorded and
displayed. The maximum value for
count is 9 so use the tracert
command instead if you're
interested in viewing all hops
between two devices.
Ping command parameters:
ping -s
Use this option to report the time, in Internet
Timestamp format, that each echo request is
received and echo reply is sent. The
maximum value for count is 4 meaning that
only the first four hops can be time stamped.
http://www.onlineconversion.com/unix_time.htm
https://www.epochconverter.com
http://coderstoolbox.net/unixtimestamp/
You can use an Online converter to convert
unix timestamp value to human readable
date
some converter links:
Ping command parameters:
ping -S
Use this option to specify
the source address
Ping –S SourceIPv6 DestinationIPv6
How to test connectivity with
ping
How to test connectivity with ping:
1) Ping the loopback address to verify that
TCP/IP is installed and configured correctly on
the local computer.
PING 127.0.0.1
2) Ping the IP address of the local computer to
verify that it was added to the network
correctly.
PING IP_address_of_local_host
3) Ping the IP address of the default gateway
to verify that the default gateway is functioning
and that you can communicate with a local
host on the local network.
PING IP_address_of_default_gateway
4) Ping the IP address of a remote host to
verify that you can communicate through a
router.
PING IP_address_of_remote_host
Ali Torabi
March2017

More Related Content

PDF
RARP, BOOTP, DHCP and PXE Protocols
PDF
Wireshark udp solution
PPTX
Ip and icmp
PPT
Arp and rarp
PPT
Bootp and dhcp
PPT
Tcp Ip Overview
RARP, BOOTP, DHCP and PXE Protocols
Wireshark udp solution
Ip and icmp
Arp and rarp
Bootp and dhcp
Tcp Ip Overview

What's hot (20)

DOC
PPTX
Chap2. ipv4-arp-icmp
PPTX
Network Layer Part 6
PPT
Address resolution protocol
PPT
Icmp V4 And Icmp V6
PPTX
10 coms 525 tcpip - internet protocol - ip
PPT
PPTX
Address resolution protocol (ARP)
PPT
PDF
Mpegts introduction
PPT
Ping Tracert
PDF
06 wireshark ip-solution_july_22
PDF
Wireshark ip sept_15_2009
PPTX
Arp (address resolution protocol)
PPT
Arp spoofing
PDF
Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014
PPTX
PPTX
Writing Wireshark Filter Expression For Capturing Packets
Chap2. ipv4-arp-icmp
Network Layer Part 6
Address resolution protocol
Icmp V4 And Icmp V6
10 coms 525 tcpip - internet protocol - ip
Address resolution protocol (ARP)
Mpegts introduction
Ping Tracert
06 wireshark ip-solution_july_22
Wireshark ip sept_15_2009
Arp (address resolution protocol)
Arp spoofing
Www ccnav5 net_ccna_1_chapter_7_v5_0_exam_answers_2014
Writing Wireshark Filter Expression For Capturing Packets
Ad

Viewers also liked (20)

PPT
Crimping and Testing
PDF
Respostas wireshark icmp
PPTX
management areas
PPT
Dale Play
PPTX
Fault - Ping Tian
PPTX
Nitek Ethernet over Coax explained
PDF
2 fiber 4rj45 ports poe fiber switch
PPTX
Stars - Liling
PPTX
Critical angle and total internal reflection by muhammad ahad butt
PPTX
Call Sequence
PPTX
Operation of Ping - (Computer Networking)
PPT
Areas of management
PPTX
Areas of management
PPTX
TCLSH and Macro Ping Test on Cisco Routers and Switches
PPT
Chap 08 ip
PPTX
Network Load Balancing (NLB)
DOC
c1 & c2 values
PPTX
opticle fiber
PDF
High Performance Network Infrastructure for Future Internet - Julio Oliveira
PPTX
File Sharing-R.D.Sivakumar
Crimping and Testing
Respostas wireshark icmp
management areas
Dale Play
Fault - Ping Tian
Nitek Ethernet over Coax explained
2 fiber 4rj45 ports poe fiber switch
Stars - Liling
Critical angle and total internal reflection by muhammad ahad butt
Call Sequence
Operation of Ping - (Computer Networking)
Areas of management
Areas of management
TCLSH and Macro Ping Test on Cisco Routers and Switches
Chap 08 ip
Network Load Balancing (NLB)
c1 & c2 values
opticle fiber
High Performance Network Infrastructure for Future Internet - Julio Oliveira
File Sharing-R.D.Sivakumar
Ad

Similar to introducing PING comand (20)

PPT
OSTU - hrPING QuickStart Part 1 (by Tony Fortunato & Peter Ciuffreda)
PPS
QSpiders - Upper layer-protocols
PPT
Internet Protocol
PDF
Internet Technology Practical (Mumbai University) -2017
PPTX
Information gathering using windows command line utility
PPTX
Introduction to TCP/IP
PPT
TCP/IP Basics
PDF
nwlab-ex1.pdf
PPT
Network Layer
PPT
_82da32bf61da4d1d5d36ceb3c9e4d5f2_CS5220-C4-M1-L1.ppt
DOC
User datagram protocol
PDF
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
DOCX
PDF
Please help with the below 3 questions, the python script is at the.pdf
PDF
Clase 1 Direccionamiento IPv4.pdf
PPT
My speech at AstriCon 2007
PDF
acn-practical_manual-19-20-1 final.pdf
PDF
Lecture-05.pdf
PPT
Ch02 TCP/IP Concepts Review
PPT
TCP/IP basics
OSTU - hrPING QuickStart Part 1 (by Tony Fortunato & Peter Ciuffreda)
QSpiders - Upper layer-protocols
Internet Protocol
Internet Technology Practical (Mumbai University) -2017
Information gathering using windows command line utility
Introduction to TCP/IP
TCP/IP Basics
nwlab-ex1.pdf
Network Layer
_82da32bf61da4d1d5d36ceb3c9e4d5f2_CS5220-C4-M1-L1.ppt
User datagram protocol
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
Please help with the below 3 questions, the python script is at the.pdf
Clase 1 Direccionamiento IPv4.pdf
My speech at AstriCon 2007
acn-practical_manual-19-20-1 final.pdf
Lecture-05.pdf
Ch02 TCP/IP Concepts Review
TCP/IP basics

More from ali torabi (6)

PPTX
412 b 1_forest - trust- create tree - child domain
PPTX
recovering windows server 2012r2_ed2017
PDF
Active directory groups and AGDLP- 2nd ed
PPTX
Introduction of opnet network simulator
PPTX
IPAM_IP address management_Ed: march2017
PPTX
Raid(redundant array of independent disks).
412 b 1_forest - trust- create tree - child domain
recovering windows server 2012r2_ed2017
Active directory groups and AGDLP- 2nd ed
Introduction of opnet network simulator
IPAM_IP address management_Ed: march2017
Raid(redundant array of independent disks).

Recently uploaded (20)

PDF
Alethe Consulting Corporate Profile and Solution Aproach
PPT
12 Things That Make People Trust a Website Instantly
PPTX
Reading as a good Form of Recreation
PDF
Alethe Consulting Corporate Profile and Solution Aproach
PDF
Lean-Manufacturing-Tools-Techniques-and-How-To-Use-Them.pdf
PPTX
module 1-Part 1.pptxdddddddddddddddddddddddddddddddddddd
PPTX
Partner to Customer - Sales Presentation_V23.01.pptx
PDF
Paper The World Game (s) Great Redesign.pdf
PPTX
Basic understanding of cloud computing one need
DOCX
Powerful Ways AIRCONNECT INFOSYSTEMS Pvt Ltd Enhances IT Infrastructure in In...
PDF
Computer Networking, Internet, Casting in Network
PPTX
ECO SAFE AI - SUSTAINABLE SAFE AND HOME HUB
PDF
Buy Cash App Verified Accounts Instantly – Secure Crypto Deal.pdf
PPTX
curriculumandpedagogyinearlychildhoodcurriculum-171021103104 - Copy.pptx
PPTX
10.2981-wlb.2004.021Figurewlb3bf00068fig0001.pptx
PDF
KEY COB2 UNIT 1: The Business of businessĐH KInh tế TP.HCM
PPTX
Internet Safety for Seniors presentation
PDF
Understand the Gitlab_presentation_task.pdf
PDF
Top 8 Trusted Sources to Buy Verified Cash App Accounts.pdf
PDF
Exploring The Internet Of Things(IOT).ppt
Alethe Consulting Corporate Profile and Solution Aproach
12 Things That Make People Trust a Website Instantly
Reading as a good Form of Recreation
Alethe Consulting Corporate Profile and Solution Aproach
Lean-Manufacturing-Tools-Techniques-and-How-To-Use-Them.pdf
module 1-Part 1.pptxdddddddddddddddddddddddddddddddddddd
Partner to Customer - Sales Presentation_V23.01.pptx
Paper The World Game (s) Great Redesign.pdf
Basic understanding of cloud computing one need
Powerful Ways AIRCONNECT INFOSYSTEMS Pvt Ltd Enhances IT Infrastructure in In...
Computer Networking, Internet, Casting in Network
ECO SAFE AI - SUSTAINABLE SAFE AND HOME HUB
Buy Cash App Verified Accounts Instantly – Secure Crypto Deal.pdf
curriculumandpedagogyinearlychildhoodcurriculum-171021103104 - Copy.pptx
10.2981-wlb.2004.021Figurewlb3bf00068fig0001.pptx
KEY COB2 UNIT 1: The Business of businessĐH KInh tế TP.HCM
Internet Safety for Seniors presentation
Understand the Gitlab_presentation_task.pdf
Top 8 Trusted Sources to Buy Verified Cash App Accounts.pdf
Exploring The Internet Of Things(IOT).ppt

introducing PING comand

  • 2. Description Video links related to this tutorial on youtube Introducing the ping command and its parameters with example –in Persian
  • 3. Ping Owerview The ping command helps to verify IP-level connectivity ping works with both Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6) addresses
  • 4. Ping Owerview Use ping whenever you need to verify that a host computer can connect to the TCP/IP network and network resources
  • 6. Any IP network device has the capability to send, receive or process ICMP messages. http://searchnetworking.techtarget.com/definition/ICMP Ping Overview
  • 7. Ping works with both Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6) addresses Ping Overview
  • 8. ICMP (Internet Control Message Protocol) is located at the Network layer of the OSI model (or just above it in the Internet layer, as some argue), and is an integral part of the Internet Protocol suite ( commonly referred to as TCP/IP). ICMP is assigned Protocol Number 1 in the IP suite according to IANA.org. Designed to act as an error reporting and query service, it plays a crucial role in the host-to-host datagram service in network communication. It is the part of the IP service that acts as the feedback system in network IP communication, making sure that undeliverable packets are reported to the sending host, such as the router or the gateway. Any IP network device can send ICMP datagrams, including network interface cards and other devices that are commonly used in your environment. Ping Overview
  • 9. 👉Test-NetConnection -ComputerName server-1 👉Test-NetConnection -ComputerName compute rname OR IP -InformationLevel Detailed Test-Connection -ComputerName Server01, Server02, Server12 Ping ing a target by name or IP from the local computer via powershell… 👉Test-Connection 192.168.1.1 You can ping several target frome local computer: Ping Owerview How to Ping with PowerShell
  • 10. How to Read Command Syntax ping [-t] [-a] [-n Count] [-l Size] [-f] [-i TTL] [-v TOS] [-r Count] [-s Count] [{-j HostList | -k HostList}] [-w Timeout] ] [-4] [-6] [TargetName] [/?] Bold Bold items must typed exactly as they are shown, this includes any bold words, slashes, colons, etc. Italic Italic items are items that you must supply. Do not take an italic item literally and use it in the command as shown. S p a c e s All spaces should be taken literally. If a command's syntax has a space, use that space when executing the command.
  • 11. How to Read Command Syntax ping [-t] [-a] [-n Count] [-l Size] [-f] [-i TTL] [-v TOS] [-r Count] [-s Count] [{-j HostList | -k HostList}] [-w Timeout] ] [-4] [-6] [TargetName] [/?] http://www.computerhope.com/keys.htm [Text inside brackets] Any items inside a bracket are optional. Brackets are not to be taken literally so don't use them when executing a command. Text outside brackets Any text not contained in a bracket is required. In the syntax of many commands, the only text not surrounded by one or more brackets is the command name itself {Text inside braces} The items within a brace are options, of which you must choose only one. Braces are not to be taken literally so don't use them when executing a command. Vertical | bar Vertical bars are used to separate items within brackets and braces. Do not take vertical bars literally
  • 12. ping [-n count] [-t] [-a] [-l size] [-f] [-i TTL] [-w timeout] [-r count] [-s count] [-S srcaddr] target ping the target until you force it to stop using Ctrl-C Resolve addresses to hostnames Number of echo requests to send Specifying a timeout value in milliseconds to wait for each reply minimum is 4000 to specify the number of hops that you'd like to be recorded and displayed.frome 1 to 9 Set Don't Fragment flag in packet Timestamp for count hops.max is 4. frome 1 to 4 to specify the source address option to set the size, in bytes, of the echo request packet from 32 to 65,527 sets the Time to Live (TTL) value, the maximum of which is 255 Ping command parameters:
  • 13. Ping command parameters: Ping -n Ping 8.8.8.8 –n 10 -n count , This option sets the number of ICMP Echo Request messages to send. If you execute the ping command without this option, four requests will be sent.
  • 14. Ping command parameters: ping -t Ping 8.8.8.8 -t Pings the specified host until you force it to stop using Ctrl+C To see statistics and continue press Control+Break
  • 15. Ping command parameters: Ping -a Ping 8.8.8.8 -a This ping command option will resolve, if possible, the hostname of an IP address target
  • 16. Ping command parameters: ping –L Ping –l 100 –f 8.8.8.8 Use this option to set the size, in bytes, of the echo request packet from 32 to 65,527. The ping command will send a 32 byte echo request if you don't use the -l option.
  • 17. Ping command parameters: ping -f Use this ping command option to prevent ICMP Echo Requests from being fragmented by routers between you and the target. The -f option is most often used to troubleshoot Path Maximum Transmission Unit (PMTU) issues. path Maximum Transmission Unit
  • 18. Ping command parameters: ping -i ping -i 5 IP Wait for 5 seconds before sending the next packet This option sets the Time to Live (TTL) value, the maximum of which is 255. TTL values are different for different Operating Systems. So, you can determine the OS based on the TTL value different operating systems set different defaults in UNIX TTL = 64 in Windows TTL = 128 in Solaris TTL = 254 Source: http://subinsb.com/default-device-ttl-values In computer networking, TTL prevents a data packet from circulating indefinitely
  • 19. Ping command parameters: ping -w By default, ping waits 4,000 milliseconds (4 seconds) for each response to be returned before displaying the "Request Timed Out" message. If the remote system being pinged is across a high-delay link, such as a satellite link, responses might take longer to be returned. You can use the -w (wait) option to specify a longer timeout Ping –w 10000 IP
  • 20. Ping command parameters: Ping -r -r count = Use this ping command option to specify the number of hops between the your computer and the target computer or device that you'd like to be recorded and displayed. The maximum value for count is 9 so use the tracert command instead if you're interested in viewing all hops between two devices.
  • 21. Ping command parameters: ping -s Use this option to report the time, in Internet Timestamp format, that each echo request is received and echo reply is sent. The maximum value for count is 4 meaning that only the first four hops can be time stamped. http://www.onlineconversion.com/unix_time.htm https://www.epochconverter.com http://coderstoolbox.net/unixtimestamp/ You can use an Online converter to convert unix timestamp value to human readable date some converter links:
  • 22. Ping command parameters: ping -S Use this option to specify the source address Ping –S SourceIPv6 DestinationIPv6
  • 23. How to test connectivity with ping How to test connectivity with ping: 1) Ping the loopback address to verify that TCP/IP is installed and configured correctly on the local computer. PING 127.0.0.1 2) Ping the IP address of the local computer to verify that it was added to the network correctly. PING IP_address_of_local_host 3) Ping the IP address of the default gateway to verify that the default gateway is functioning and that you can communicate with a local host on the local network. PING IP_address_of_default_gateway 4) Ping the IP address of a remote host to verify that you can communicate through a router. PING IP_address_of_remote_host