The netperf package is incompatible with non-FreeBSD netperf installations. The error on NetBSD or Ubuntu is:
marcel@ubuntu:~$ netperf -H 192.168.160.172
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.160.172 () port 0 AF_INET : demo
Unknown error 998
netperf: remote error 998
The problem is caused by FreeBSD's netperf port having OMNI disabled by default. Apparently this introduces a compatibility problem. The FreeBSD netperf can communicate with a non-FreeBSD netperf, so it appears to be a one-way incompatibility.
The fix is to build the netperf port by hand with OMNI enabled. Given that OMNI is enabled by default since netperf 2.5, it's not clear why FreeBSD keeps it disabled. Especially since it breaks interoperability OOTB. A better default is to have OMNI enabled...
Auto-assigned to maintainer marius@FreeBSD.org
A commit references this bug:
Date: Tue Jan 27 22:56:15 UTC 2015
New revision: 378027
Enable OMNI by default; this matches what vanilla netperf does since
version 2.5 and restores bidirectional compatibility with other OS
distributions following suit.