Hi Guys,
I have a little problem i dont understand why its happening,
Initially i thought it was a network problem, but then i made a crossover between me and the server and shaped on that interface with as minimal as possible config
this my test: $TC qdisc add dev $INTERFACE root handle 1: htb default 30 $TC class add dev $INTERFACE parent 1: classid 1:1 htb rate 10Mbit
# POOL1
$TC class add dev $INTERFACE parent 1:1 classid 1:2 htb rate 512Kbit ceil 512Kbit prio 0
# DEFAULT
$TC class add dev $INTERFACE parent 1:1 classid 1:30 htb rate 10Mbit ceil 10Mbit prio 3
# MAILSERVER
$TC class add dev $INTERFACE parent 1:1 classid 1:12 htb rate 32Kbit ceil 32Kbit prio 0
$TC qdisc add dev $INTERFACE parent 1:30 handle 30: sfq perturb 10 $TC qdisc add dev $INTERFACE parent 1:12 handle 12: sfq perturb 10
# dev eth1 - creating filters with marked packets
$TC filter add dev $INTERFACE parent 1:0 protocol ip handle 12 fw classid 1:12
$TC filter add dev $INTERFACE parent 1:0 protocol ip handle 30 fw classid 1:30
iptables -t mangle -A POSTROUTING -d 192.168.2.1/32 -j MARK --set-mark 12
iptables -t mangle -A POSTROUTING -d 192.168.2.1/32 -p tcp --sport 22 -j MARK --set-mark 30
This all goes into the right classes, but when i do a download from the mailserver, im suppose to get 4Kb, and it starts at 5Kb , which is burst, and then move down towards 4kb then 3kb and stays around there, but never goes to 4 on the dot.
Is this normal or should it be perfectly 4Kb/s ?
Am i doing something wrong?
Thanks
Jandre
-- Regards Jandre
"Some people are alive only because it is illegal to kill them."
_____________________________________________________
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc