Hello. Show the output of following commands: tc -s -d q ls dev eth0 tc -s -d c ls dev eth0 tc -s -d f ls dev eth0 iptables-save -c or iptables -t mange -Lnv 2013/11/13 Tim King <tim.compnetwork@xxxxxxxxx>: > I have the following setup in place. With the default set to 10 my > connection is restricted to the 512Kbit. If I set the default to 1 my > connection uses the full 50meg I have available. I am testing from the > ip 192.168.1.100. What step am I missing so that the entries specified > by the iptables mangle are the only ones that get the 512Kbit limit? > > /sbin/tc qdisc add dev eth0 handle 1:0 root htb default 10 > /sbin/tc class add dev eth0 parent 1:0 classid 1:1 htb rate 26400Kbit prio 1 > /sbin/tc class add dev eth0 parent 1:0 classid 1:10 htb rate 512Kbit > ceil 512Kbit burst 512Kbit prio 0 > /sbin/tc filter add dev eth0 parent 1:0 prio 0 protocol ip handle 10 > fw flowid 1:10 > /sbin/iptables -t mangle -A OUTPUT -o eth0 -s 192.168.1.100 -j MARK > --set-mark 10 > -- > To unsubscribe from this list: send the line "unsubscribe lartc" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Anton. -- To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html