Test the reliability of your packet sizes with the spray command.
$ spray [ -c count -d interval -l packet_size] hostname |
For more information about this command, see spray(1M).
The following example sends 100 packets to a host (-c 100) with each packet having a size of 2048 bytes (-l 2048). The packets are sent with a delay time of 20 microseconds between each burst (-d 20).
$ spray -c 100 -d 20 -l 2048 pluto sending 100 packets of length 2048 to pluto ... no packets dropped by pluto 279 packets/sec, 573043 bytes/sec |