[httperf] More than one IP
arlitt at granite.hpl.hp.com
Wed Jul 7 06:37:29 PDT 2004
the current version of httperf does not allow you to specify the source IP
address. however, it should be relatively straightforward to add this
capability. I tested something similar at one point. I used ip aliasing
(on linux) to have the client's NIC support multiple ip addresses, then
modified httperf to either loop through a set of source ip addresses on a
connection by connection basis, or a session by session basis.
On Tue, 6 Jul 2004, Rivalino Matias Jr. wrote:
> I need use httperf with one or more IPs which I will determine manually, like that:
> httperf -I eth0 ..... (there isn't -I option)
> In this case, httperf will bind to eth0 IP.
> Right now, just one IP is sufficient. However, the more advanced test cases will require more than one IP. In this case, I will have more than two IPs associated to my host and httperf needs know these alias, like:
> httperf -I eth0:0 - eth0:100 ... or something like that. Of course, I'm not considering the issues related to the distribution between connections per IPs, etc...
> I read the httperf man pages but I didn't find anything near from that. Is it possible ? Anybody knows how to do that ?
> Thank you in advance !
More information about the httperf