В Чтв, 25/02/2010 в 16:19 +0200, Покотиленко Костик пишет:
> Hi,
> 
> We've switched back from 82576 to 82574L+82578DM. 82576 is still there
> for a while before I put it into another server for testing.
> 
> While it's there unused I would like to stress test it. I was going to
> do a loop tests: connect port1 with port2 and port3 with port4 with
> crossover cable, but I ran into a netperf configuration problem.
> 
> How could I test this card with no external equipment?
> 
> I've tryed this configuration:
> 
> +port1: 192.168.5.1/24
> |
> +port2: 192.168.5.2/24
> 
> +port3: 192.168.6.1/24
> |
> +port4: 192.168.6.2/24

Well, I did it, it was tricky:

+port1: 192.168.5.1/32, SNAT to: 192.168.5.2, REDIRECT to: 192.168.5.1
|
+port2: 192.168.6.1/32, SNAT to: 192.168.6.2, REDIRECT to: 192.168.6.1

also:

arp -i port1 -s 192.168.6.2 [HW_of_port2]
arp -i port2 -s 192.168.5.2 [HW_of_port1]

route add 192.168.6.2 dev port1
route add 192.168.5.2 dev port2

netperf -H 192.168.6.2 -t TCP_STREAM (this is port1->port2)
netperf -H 192.168.5.2 -t TCP_STREAM (this is port2->port1)

-- 
Покотиленко Костик <[email protected]>


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to