Hi ;
+---------+ +-----------+ +---------+
| server1 |---------- | linux box |---------------------| Client 1|
+---------+ | +-----------+ | +---------+
| |
+---------+----| |---- +---------+
| server2 | | Client 2|
+---------+ +---------+
MY script:
tc-htb3 qdisc del dev eth1 root
ipchains -F
tc-htb3 qdisc add dev eth1 root handle 10: htb default 20 r2q 40
tc-htb3 class add dev eth1 parent 10: classid 10:1 htb rate 50Mbit
tc-htb3 class add dev eth1 parent 10:1 classid 10:100 htb rate 10mbit ceil
15mbit prio 1
tc-htb3 class add dev eth1 parent 10:1 classid 10:20 htb rate 3mbit ceil
50Mbit prio 7
ipchains -A fw -s <SERVER1> -d <CLIENT1> -m 100
ipchains -A fw -s 0.0.0.0 -d 0.0.0.0 -j ACCEPT
tc-htb3 filter add dev eth1 protocol ip parent 10:0 prio 1 handle 100 fw
classid 10:100
I''ve find one strange question about traffic control of classid 10:100
.
Could you explain it ? thanks
question:
WHEN i send packets of classid 10:20 at 5mbit from "server2" to
"client2" ,
I measure maximum TCP bandwidth of classid 10:100 by using"Iperf -1.6 -s
"
in server host and "iperf-1.6 -c <server1 address> " in client1
host, the
bandwidth of classid 10:100 is only 3.5mbit.
BUT when i stop sending packets of classid 10:20 t from "server2" to
"client2" ,I measure maximum TCP bandwidth of classid 10:100 by
using"Iperf
-1.6 -s " in server host and "iperf-1.6 -c <server1 address>
" in client1
host, the bandwidth of classid 10:100 is o 12.1mbit.
OK. work well.
WHY ?
haipe
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/