<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
<BR>
<BR>
On Sat, 2005-11-05 at 16:32 -0800, Robert Arkiletian wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">If you don't want to run the program as root then just change the '-f' to a '-A'</FONT>

<FONT COLOR="#000000">>                 char ping[64]="ping -c100 -f -p aa ";</FONT>

<FONT COLOR="#000000">Note: If you change it to Adaptive '-A' ping you will get a lot more</FONT>
<FONT COLOR="#000000">output and the test will take much longer.</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
Hi Robert,<BR>
<BR>
I also use the flood ping to test my network.  I've found that if I vary the packet size (the -s parameter), I get a good test.  I'll typically do 100, 500, and 1490; this last one, with Ethernet frame padding, gives the standard MTU of 1518 bytes.  The reason for this is that I've found some poorly-made gear that chokes at an Ethernet frame size beyond 1500 bytes, and also it's helped me to check gear that's starting to fail.  Recently, we had an issue with the Cisco 3750M switch, which was revealed by doing this.<BR>
<BR>
Also, I'll typically run 1,000 packets per ping session.  I do that because of a problem similar to one that I had to track down and fix this last week.  At times, 100-200 pings would get through, but it'd choke for maybe half a second to five seconds after that.  The problem turned out to be a malfunctioning wireless access point in a box somewhere in the school; it was claiming to be the spanning tree root (yes, I put on rootguard afterwards).<BR>
<BR>
One other thing about both the -A and the -i parameters: my reading tells me that, if you're not root, the minimum interval you'll be able to get is one packet every 200ms, is that your experience as well?<BR>
<BR>
--TP
</BODY>
</HTML>