[LARTC] why so fast?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am doing some test to control outgoing traffic, and I want to see if everything is working, but when I configure Compuetr A, and make a download in Computer B from A (e.g. in Computer A Apache is installed), the download goes so fast(not as in the ceil or rate!), even when I make the rate & ceil too small, am I doing something wrong??
Example on Computer A:
tc qdisc add dev eth0 root handle 1: htb default 19


 tc class add dev eth0 parent 1: classid 1:1 htb rate 10bps ceil 10bps
 tc class add dev eth0 parent 1: classid 1:19 htb rate 15bps ceil 15bps

tc filter add dev eth0 parent 1: protocol ip handle 1 fw classid 1:1

 iptables -t mangle -A OUTPUT -d 192.168.0.11 -j MARK --set-mark 1
#Compter B has ip 192.168.0.11

Thanx

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux