Ping results are sometimes wrong
Lars Eggert
larse at ISI.EDU
Sat May 17 11:39:26 PDT 2003
Brett Glass wrote:
>>You could have the same problem when pinging through a router that
>>doesn't have the MAC address of the target, and ping doesn't have a way
>>to check that. It would be simpler to just ignore the first sample when
>>calculating the statistics.
>
> Or just throw away one ping altogether. Perhaps this is something that
> could be added to the program.
Various link layers have different characteristics. Trying to optimize
the averaging algorithm based on the specific behavior of one particular
link layer is probably not useful for a network layer tool like ping.
If you are pinging in the LAN where this overhead matters, you might
consider using arping from ports instead.
Lars
--
Lars Eggert <larse at isi.edu> USC Information Sciences Institute
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3529 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20030517/ff99b8c6/smime.bin
More information about the freebsd-net
mailing list