Downloading a large file via HTTP provides an easy test of the complete transmit and receive datapath under a sustained high packet load. The md5sum and sha1sum commands can be used to verify that a file was downloaded correctly.
Create a 512MB file containing pseudo-random data, using e.g.:
dd if=/dev/urandom of=512mb bs=1M count=512
Obtain the MD5 and SHA1 digests of your pseudo-random data file:
md5sum 512mb sha1sum 512mb
Copy your pseudo-random data file to a web server on your local network.
DIGEST_CMD enabled.net0).dhcp net0.imgfetch.md5sum to calculate the MD5 digest of the downloaded file, and verify that this matches the MD5 digest calculated earlier.sha1sum to calculate the SHA1 digest of the downloaded file, and verify that this matches the SHA1 digest calculated earlier.