[netperf-talk] Netperf over subnet range
Rick Jones
rick.jones2 at hp.com
Mon Mar 16 10:56:16 PDT 2009
Clive Barker wrote:
> rick, thank you for responding to my query!
>
> What i was hoping to do was to have netperf send traffic to the same
> destination ip but over different port ranges.
>
> Topology
> Netperf Client---|Router A|---|Router B|-----|Router C|----|Router
> D|----Netperf Server
>
> This is x25 testing so i have translate statements setup to have Router
> A reach Netperf Server
>
> Hence if i wanted to send traffic across the same ip address but across
> different port ranges, is there a way to have this run w/o running
> several instances of netperf?
No. It would require either source changes :) or multiple instances of netperf -
just as there are options to select local and remote IP addresses, there are
options for local and remote port numbers, but any one instance of netperf still
only sends to one remote IP/port pair.
happy benchmarking,
rick jones
>
> please advice
>
>
>
>
>
> --- On *Tue, 3/10/09, Rick Jones /<rick.jones2 at hp.com>/* wrote:
>
> From: Rick Jones <rick.jones2 at hp.com>
> Subject: Re: [netperf-talk] Netperf over subnet range
> To: echelon360 at yahoo.com
> Cc: netperf-talk at netperf.org
> Date: Tuesday, March 10, 2009, 9:51 AM
>
> Clive Barker wrote:
>> Hi all,
>>
>> I was wondering if netperf will allow sending packets over a subnet range.
>> I intend to create several subinterfaces to simulate client connections on
> a port.
>> Netperf is being used to send packets across each of the interfaces but i
>> would like to be able to send traffic across a subnet range to cover all
>> interfaces. Is this possible, can anyone advice pls?
>
> Any one instance of netperf, as currently coded, will send traffic to a single
> destination. If you have multiple logical/sub interfaces on a system each with
> their own IP and you want to ensure that traffic flows across all of them, then
> you can run multiple netperf instances. If each of the logical/sub interfaces
> is in a separate subnet, then specifying a separate
> destination (either a global
> or test-specific -H option) in each netperf will usually suffice. However, if
> you configure each of the logical/sub interfaces into the same subnet you will
> probably want to include a test-specific -L option to tell netperf to bind its
> local socket to a specific IP.
>
> To get your subnet range, you need to have a script wrapping netperf commands -
> netperf itself deals in discrete source/destination specifications.
>
> Depending on your OS you may have to do other things as well to get traffic to
> flow out all the interfaces - even if they are configured in separate subnets.
> Some OS's TCP stacks take a _very_ literal view of the weak end systems
> model.
>
>
More information about the netperf-talk
mailing list