|-r||Bypass the normal routing tables and send directly to a host on an attached network. If the host is not on a directly-attached network, an error is returned. This option can be used to ping a local host through an interface that has no route through it (e.g., after the interface was dropped by routed(8C)).|
|-q||Quiet output. Nothing is displayed except the summary line on termination.|
|-v||Verbose output. ICMP packets other than ECHO RESPONSE that are received are listed.|
|-p||Packed output. Redundant text is removed, to save diskspace when large amount of output is to be saved to disk.|
|-m||Print out median instead of max.|
|-f||Print out 10/50/90-percentile instead of min/avg/max.|
|-n||Dont look up ip-numbers. Without this option, mping will try to look up ip-numbers given as output, and translate them to hostnames.|
|-4||Prefer IPv4 adress on multiple DNS hits.|
|-6||Prefer IPv6 adress on multiple DNS hits.|
|-a||Automatically scale SI time units (sec/msec/usec). Note that this has no effect if used together with -p, as this will make mping default to using msec.|
|-c count||Number of packets to send to each host.|
|Time (in msec) to wait between each packet is sent out. The packets are sent out in a Round Robin fasion, so when a packet is sent to the last host, the next packet to the first host is sent waittime msec after. The default setting is 10 packets per second.|
|Size of the data space of the ICMP packet (-8 bytes).|
|Time (in msec) to wait before a packet time-out and is reported as lost (This option is not implemented yet).|
This program is intended for use in network testing, measurement and management. It should be used with care not to overload the network or the host its running on.
An IP header without options is 20 bytes. An ICMP ECHO_REQUEST packet contains an additional 8 bytes worth of ICMP header followed by an arbitrary amount of data. When a packetsize is given, this indicate the size of this extra blob of data (the default is 56). Thus the amount of data received inside of an IP packet of type ICMP ECHO_REPLY will always be 8 bytes more than the requested data space (the ICMP header).
If the data space is at least eight bytes large, ping uses the first eight bytes of this space to include a timestamp which it uses in the computation of round trip times. This explains why if less than eight bytes of pad are requested, no round trip times are given.
If using mping on an IPv6 network, you will need a kernel which support automatic packet checksum generation for IPv6. For GNU/Linux this means a fairly new kernel is needed, namely >= 2.4.19.
Mping need to be setuid and owned by root to be executed by unpriviledged users. Please consider the security issues involved if you decide to do this.
The program is developed under GNU/Linux, and tested to work on GNU/Linux, NetBSD and FreeBSD. Mping will probably work on most *NIX platforms, but feedback is appreciated.
Mping-1.0 originally written by Vegard Engen for UNINETT in 1996, based heavily on ping(8) by Mike Muus. Mping-1.0 was developed on SunOS.
Mping-1.3 was a bugfix version written by Frank Aune for UNINETT in 2002. Mping-1.3 was developed on GNU/Linux and designed to run on NetBSD.
Mping-2.0 is a rewrite of Mping-1.0 and Mping-1.3 and was written by Frank Aune and Stig Venaas for UNINETT in 2003. Mping-2.0 is based on ping(8) and ping6(8) from the UNIX iputils package. Mping-2.0 is developed on GNU/Linux and NetBSD, and is designed to run on both platforms.
Mping is available from http://mping.uninett.no, where you can see how we utilize this simple tool in our network services.
|-->||MPING (8)||Sep 1, 2003|