How to Change The Default Ping Packet Size?

Here we discuss everything about Computer Networking and Configuration.
Post Reply
jmcu
Posts: 7
Joined: 16 Oct 2023, 13:47

How to Change The Default Ping Packet Size?

Post by jmcu »

I am conducting an experiment with ping packets in my home network. The default packet size of ping is 32 bytes. I want to change the size to 64 bytes to conclude my experiment.

My question is -how can I change the default ping packet size?
Alex George
Global Moderator
Posts: 140
Joined: 14 Nov 2023, 04:39
Location: Brooklyn

Re: Ho to Change The Default Ping Packet Size?

Post by Alex George »

You can use this DOS command to change the default Ping packet size.

Code: Select all

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

See the example below.
ping -i 455 google.com
Anagha Sivakumar
Standard User
Posts: 20
Joined: 09 Dec 2023, 14:34

Why do You Change The Default Ping Packet Size?

Post by Anagha Sivakumar »

Why are you changing the default size of the Ping packets? Just a question out of curiosity.
Post Reply