Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2003 09:58:53 -0600 (MDT)
From:      Brett Glass <brett@lariat.org>
To:        net@freebsd.org
Subject:   Ping results are sometimes wrong
Message-ID:  <200305171558.JAA16811@lariat.org>

next in thread | raw e-mail | index | archive | help
Just noticed that FreeBSD's ping program was giving me inaccurate stats when
pinging hosts on the local subnet (but not on remote subnets). Some
investigation has revealed why: the delay for the very first ping includes the
time (if any) it takes to use ARP to discover the MAC address of the target.
This introduces an outlying data point that messes up the stats; it makes them
look as if there are extra delays or congestion on the network.

Perhaps the program should make sure that the MAC address of the target (if
it's on the local network) has been resolved before starting to ping?

--Brett Glass



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305171558.JAA16811>