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

We all know by default the size of ping ICMP echo request packet is 32 byte. Though the default ping packet size is 32 bytes we can change it by a simple command while ping a destination from your computer. By using -l option, you can decide the size of the echo request packets. The valid value of size of ICMP packets is from 0 to 65500. If you set any value not in the range of 0-65500, you will get error with warning bad value for -l, value range is from 0 to 65500. If you are facing issues with MTU value of ICMP packets send from your computer, changing their size may help you. The format to change the default ping echo request packet size is given 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. Here 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 picture provided below.

Eg: 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 you have learned the way to assign any size for the ICMP request packets send from your computer. 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 Operation to a Destination Until Manually Stop

Not just the default size of the requests but the TTL value too can be changed from your computer. 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

Sometimes ping packets send from your computer with different packet sizes may bring you certain error messages instead of proper reply from the destination. Most of the time it might be related to some other issues. One of such error message is given below.
Echo Reply Shows Hardware Error Instead Proper Reply

No: Recent Posts
Destination Net Unreachable
Request Timed Out
Getting 169.254.X.X (APIPA) Windows Automatic Private IP Address
Ping Gives Hardware Error
Setup Idea 4G on Android Phone
Bypass Windows Admin Account Password Of Vista, XP, Windows 8
PING: Transmit failed. General Failure
Ping Request Could not Find Host
Error 628: The Connection was Terminated by the Remote computer
Error 797: A Connection to the Remote Access Server was not Made
Adobe Flash Player has Stopped a Potentially Unsafe Operation

1 comment:

kebhari said...

Nice information.............