Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google site



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

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-16-2009
Registered User
 

Join Date: Jan 2007
Posts: 37
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?

Thanks
Sponsored Links
  #2 (permalink)  
Old 11-16-2009
Technorati Master
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 3,006
ping


Code:

-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.

  #3 (permalink)  
Old 11-16-2009
thegeek thegeek is offline Forum Advisor  
Registered User
 

Join Date: Apr 2009
Location: /usr/bin/vim
Posts: 654
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


Code:

$ ping -c 17 IP

2. If by single packet, you can use


Code:

ping -c 1 -s 1500 0

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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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 02:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0