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