The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Illegal instruction(coredump) colinmas Shell Programming and Scripting 1 09-03-2007 04:52 AM
Illegal characters in Servername / Path goodjuju UNIX for Dummies Questions & Answers 5 07-23-2007 06:24 AM
Illegal function call naren_chella High Level Programming 6 05-24-2006 09:27 PM
2489 Illegal instruction ana UNIX for Dummies Questions & Answers 1 01-14-2005 08:11 PM
Seeing IP packet manjunath IP Networking 4 09-15-2002 08:46 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-16-2007
Registered User
 

Join Date: May 2007
Posts: 23
0821-077 ping: illegal packet size.

Hi,
  • When i try this command
ping ukblx151.ukhx.astrazeneca.net -n 3 | grep icmp

it gives following error :
0821-077 ping: illegal packet size.
  • But when i give command
ping ukblx151.ukhx.astrazeneca.net

It returns correct output.

Could you please help?
Reply With Quote
Forum Sponsor
  #2  
Old 10-16-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,328
Can you check the man page of your ping command and see what the '-n' option stands for? What OS is this on?
Reply With Quote
  #3  
Old 10-18-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
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 value is 4095 bytes, on some systems is even 65000. If packet-size is smaller than 16 bytes, there is not enough room for timing information. In that case, the round-trip times are not displayed. In your case, the -n flag probably means something else, not the count number.]
The error number looks like AIX, I just tested AIX, and I seem to be right : -n flag means "packet-size", as well as "-s" whereas the count is "-c" flag.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0