Command to ping 1500 bytes of data to a destination system | Unix Linux Forums | IP Networking

  Go Back    

IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

Command to ping 1500 bytes of data to a destination system

IP Networking

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 11-16-2009
rvan rvan is offline
Registered User
Join Date: Jan 2007
Last Activity: 27 June 2011, 5:55 AM EDT
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Question Command to ping 1500 bytes of data to a destination system

Hi All,

I want to ping 1500 bytes of data from a pc to another pc in the network. What is command used for the same?

Sponsored Links
Old 11-16-2009
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
Join Date: Mar 2005
Last Activity: 5 July 2014, 11:14 AM EDT
Location: classification algos
Posts: 3,203
Thanks: 19
Thanked 30 Times in 27 Posts

-s packetsize
             Specify the number of data bytes to be sent.  The default is 56, which translates into 64 ICMP
             data bytes when combined with the 8 bytes of ICMP header data.

Sponsored Links
Old 11-16-2009
thegeek thegeek is offline
Read Only
Join Date: Apr 2009
Last Activity: 30 July 2012, 5:38 AM EDT
Location: /usr/bin/vim
Posts: 946
Thanks: 13
Thanked 38 Times in 36 Posts
But, you did not mention whether you would want to do so with a single packet or multiple packets.

Ok, if multiple packets, your normal ping can do that after N number of packets. i.e

$ ping -c 17 IP

2. If by single packet, you can use

ping -c 1 -s 1500 0

But why do you want to send in a single packet ?!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
what did dd command do to destination drive darbid Filesystems, Disks and Memory 2 06-26-2008 05:46 PM
Remove first N bytes and last N bytes from a binary file on AIX. naveendronavall Shell Programming and Scripting 1 05-24-2008 12:06 PM
how to verify that copied data to remote system is identical with local data. ynilesh Shell Programming and Scripting 3 01-31-2008 08:55 AM
Ping problem. system down!! TRUEST Shell Programming and Scripting 3 02-21-2003 03:16 PM
Take a file from the system and put on tape and reset the file to 0 bytes JackieRyan26 UNIX for Dummies Questions & Answers 1 09-06-2001 06:08 PM

All times are GMT -4. The time now is 08:24 PM.