BWPing


BWPing is a tool to measure bandwidth and response times between two hosts using Internet Control Message Protocol echo request/echo reply mechanism. It does not require any special software on the remote host. The only requirement is the ability to respond on ICMP echo request messages. BWPing supports both IPv4 and IPv6 networks.

Command syntax


bwping -b kbps -s pkt_size -v volume target
bwping6 -b kbps -s pkt_size -v volume target

Available options are:
  • -4 - Forces IPv4 mode. Default mode of operation is IPv4 for bwping and IPv6 for bwping6 otherwise.
  • -6 - Forces IPv6 mode. Default mode of operation is IPv4 for bwping and IPv6 for bwping6 otherwise.
  • -B - Sets the source address of outgoing ip packets. By default the address of the outgoing interface will be used.
  • -I - Sets the Identifier value of outgoing ICMP Echo Request packets. If zero, the value of the lower 16 bits of the process ID will be used.
  • -T - Sets the TOS value of outgoing IPv4 packets or IPv6 Traffic Class value of outgoing IPv6 packets. Default value is zero.
  • -r - Sets the interval time in seconds between periodic bandwidth, RTT, and loss reports. If zero, there will be no periodic reports.
  • -u - Sets the size of the socket send/receive buffer in bytes. If zero, the system default will be used. Tune this parameter if the speed measurement results are unexpectedly low or packet loss occurs.
  • -b - Sets the transfer speed in kilobits per second.
  • -s - Sets the size of ICMP packet in bytes.
  • -v - Sets the volume to transfer in bytes.

License

This utility is available under BSD License.