1832934 Members
3091 Online
110048 Solutions
New Discussion

Re: PING

 
SOLVED
Go to solution
Jeff Hagstrom
Regular Advisor

PING

How do you do a ping with an increase packet size? Greater then the default 64.
4 REPLIES 4
Bill McNAMARA_1
Honored Contributor

Re: PING

ping [-oprv] [-i address] [-t ttl] host packet-size [[-n] count]

max is 4096b

Later,
Bill
It works for me (tm)
Ken Hubnik_2
Honored Contributor
Solution

Re: PING

ping hostname 1024
Robin Wakefield
Honored Contributor

Re: PING

Jeff,

ping hostname packet-size, e.g.

% ping host1 80
PING host1.company.com: 80 byte packets
80 bytes from 172.16.223.66: icmp_seq=0. time=1. ms
80 bytes from 172.16.223.66: icmp_seq=1. time=0. ms
80 bytes from 172.16.223.66: icmp_seq=2. time=0. ms
80 bytes from 172.16.223.66: icmp_seq=3. time=0. ms
80 bytes from 172.16.223.66: icmp_seq=4. time=0. ms
80 bytes from 172.16.223.66: icmp_seq=5. time=0. ms

----host1.company.com PING Statistics----
6 packets transmitted, 6 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/1
%
Armin Feller
Honored Contributor

Re: PING

Hi,

you can use:

# ping 1000

# man ping
...
packet-size The size of the transmitted packet, in bytes. By
default (when packet-size is not specified), the size
of transmitted packets is 64 bytes. The minimum
value allowed for packet-size is 8 bytes, and the
maximum is 4095 bytes. If packet-size is smaller
than 16 bytes, there is not enough room for timing


Best regards,
Armin