Skip to main content

How to Change the Default Size of Ping Echo Request On Your Computer (ping -l)

We all know the default size of ping ICMP echo request packet. That is 32 byte. Though the default ping packet size is 32 bytes, we can change it by a simple command while pinging a destination from your computer. By using -l option, you can decide the size of the echo request packets. The valid value of the size of ICMP packets is from 0 to 65500. So the size of the packet should fall in the range.

If you set any value, not in the range of 0-65500, you will get an error with warning bad value for -l, the value range is from 0 to 65500.

If you are facing issues with an MTU value of ICMP packets sent from your computer, changing their size may help you.

Let us check how to change the default packet size of ping echo request.

You need to use the command format provided below.

ping -l (value between 0 to 65500) [Destination Address]

Practical Example
Here let us check how to use this command to change the default size of ICMP echo request packets.

I am going to send packets to a destination address with manually configured value.

Here I use different values, and you can see the result on the screenshot provided below.

Example- ping -l 50

Here I have changed the default value of 32 with 50.

Let us check how this command changes the size of echo packets send from your computer.
Change value

The above picture shows ping packets send with different sizes.

So I believe you have learned the procedure to assign any size for the ICMP request packets sent from your computer.

  1. Destination Net Unreachable
  2. Request Timed Out
  3. How to Solve APIPA?

Likewise, if you want to change the default number of Echo requests send from your computer, you can do it by following the instructions provided in the link below.
How to Perform Continuous Ping Operation to a Destination Until Manually Stop

Not just the default size of the Ping requests but the TTL value too can be changed from your computer.

  1. How to Set Chrome Auto Resume Failed File Download Feature?
  2. How to Setup Idea 4G On Android Phone?
  3. How to Bypass Vista Admin Password?

If you want to change the default TTL value of the ICMP requests send from your computer like you have changed the default size, click on the link below.
How to Change Default TTL Value Set

  1. PING: Transmit failed. General Failure
  2. Ping Request Could not Find Host. Please Check the Name and Try again
  3. Error 628: The Connection was Terminated by the Remote computer

Sometimes ping packets send from your computer with different packet sizes may bring you certain error messages instead of a proper reply from the destination.

  1. Error 797: A Connection to the Remote Access Server was not Made
  2. Adobe Flash Player has Stopped a Potentially Unsafe Operation
  3. Setup Siemens SpeedStream Modem With Bell PPP DSL Internet

Most of the time it might be related to some other issues.

  1. Enable Boot/ Shutdown/ Logon and Logoff Status Messages
  2. The Best Free LAN Messengers & Download Links
  3. Google Chrome Browser To Access A Remote Computer

The link provided below shows such an error.
Echo Reply Shows Hardware Error Instead Proper Reply


kebhari said…
Nice information.............
IQRA said…
good information

About Author

My photo
Alex George
Alex George has Engineering graduation in Computer Science and an MBA in Finance. He had been working as a senior Network Engineer for ten years. His specialization is in Cisco products. Traveling is one of his hobbies and visited various places as part of his onsite work. He visited different places as part of his onsite work like New York, Dubai, London, etc. Right now Alex is a director of one of the leading career development firms in India, which trains students for UPSC, SSC, and PSC examinations. He guides a lot of students to get selection for various prestigious institutions like CBI, Income Tax Department, etc. Alex George is a stock market investor and a very active intraday trader. Engineering Background: He has a B.Tech in Computer Science and Engineering and passed different network and security courses like CCNA, CCNP (Security), CEH, and various Microsoft certifications. Finance Background: Alex has an MBA in Finance. He is an active intraday trader and a Share Market Investor. Webmaster Skills: Alex is a blogger since 2004. He has a working knowledge of HTML, CSS, PHP, and JavaScrip.