Ping (Fully Loaded)

March 26, 2018 | Views: 2835

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    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       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

   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

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

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

  2. Hi,
    you must specify a number in front of -n .(eg. ping -n 5 -l 100 )
    -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.

Support Cybrary

Donate Here to Get This Month's Donor Badge


We recommend always using caution when following any link

Are you sure you want to continue?