Displaying 1 result from an estimated 1 matches for "510kbit".
Did you mean:
10kbit
2004 Dec 27
2
htb and iptables marked packets question
...1: htb default 9999
/sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 100Mbit ceil 100Mbit
/sbin/tc class add dev eth1 parent 1:1 classid 1:9999 htb rate 128kbit
/sbin/tc class add dev eth1 parent 1:1 classid 1:4 htb rate 100Mbit
/sbin/tc class add dev eth1 parent 1:4 classid 1:28 htb rate 510kbit
#
/sbin/iptables -A POSTROUTING -o eth1 -t mangle -d 192.168.0.0/16 -j MARK
--set-mark 4
/sbin/tc filter add dev eth1 protocol ip parent 1:0 prio 3 handle 4 fw
flowid 1:4
#
/sbin/iptables -A POSTROUTING -o eth1 -t mangle -d 192.168.200.0/24 -j MARK
--set-mark 28
/sbin/tc filter add dev eth1 prot...