[netperf-talk] Generating network traffic on a dual port NIC with a single computer using netperf???
Jesse Brandeburg
jesse.brandeburg at intel.com
Thu Dec 9 17:16:16 PST 2010
On Thu, 2010-12-09 at 17:07 -0800, Rick Jones wrote:
> Werner Hoehenrieder wrote:
> > I’m trying to use netperf to send out a traffic stream from one port of
> > a NIC card (10Gb/sec NIC) to the other port of the card (dual port
> > 10Gb/sec NIC).
> >
> > I want to do this on a single computer – not separate netserver and
> > netperf systems.
>
> You can't. And the reason has nothing to do with netperf. Virutally any TCP/IP
> stack out there "knows" which IP addresses are local to it, and will internally
> loopback traffic too/from those IPs without ever getting anywhere near a NIC,
> perhaps not even getting anywhere near the driver.
>
> There may be some patches to upstream Linux kernels to work around that, but
> unless you are running an upstream Linux kernel, that may not do you much good.
google for "+linux send to self"
some people have got it to work with some fancy netfilter rules too
Jesse
--
Jesse Brandeburg
This email sent via Evolution, powered by Linux
More information about the netperf-talk
mailing list