Hello Ando,
The test script is similar as the following.
#!/bin/sh
ifs=$1
for i in `seq 1 100`
do
echo "=========== start rount $i test ========"
for eth in $ifs
do
echo "================= link up $eth =========="
ifconfig $eth up
sleep 3
echo "================= link down $eth =========="
ifconfig $eth down
sleep 1
done
done
sh +x up_down.sh "eth1 eth2"
You could setup netperf environment, then execute the up_down.sh script.
Thanks,
Yiping