Ping (Fully Loaded)

March 26, 2018 | Views: 1837

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Ping (Fully Loaded)

Ping is a very versatile command line tool we rarely used it now a days but today we will discuss some of the most basic and important commands using the ping tool.

1: –  Ping the localhost: – ping localhost or ping 127.0.0.1    before digging into about the target we all should focus on whether our host machine is working properly or not so, we ping our own system.

2: – Resolve ip address to the hostname: – ping -a 172.14.29.39       It can be any ip address it will be resolved to the domain name.

3: –  Check the maximum transmission unit(MTU):-  ping  – f  – l  1600  www.google.com

   I love this command this – f will the set the defragment bit now the packet will not be divided into smaller packets and – l is used to set the size of the packet this information is very important when we are documenting

4:-  Ping with the fixed number of packets: –  ping – n  -l  1500 www.google.com

In this command – n is basically used to send the fixed number of packets to a particular host.

 

5:-  Force the ping command  to used ipv6 instead of ipv4 :- ping  – t  – 6 www.google.com

Share with Friends
FacebookTwitterGoogle+LinkedInEmail
Use Cybytes and
Tip the Author!
Join
Share with Friends
FacebookTwitterGoogle+LinkedInEmail
Ready to share your knowledge and expertise?
4 Comments
  1. Short but a good article

  2. Hi,
    you must specify a number in front of -n .(eg. ping -n 5 -l 100 http://www.google.com )
    -n specifies the number of times that ping request should be executed.

  3. -n is not working on windows promt. why?

Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play
 

Support Cybrary

Donate Here to Get This Month's Donor Badge

 
Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel