[ale] Shaping Problem

Chris Fowler cfowler at outpostsentinel.com
Thu Oct 31 18:37:05 EDT 2013


Looks to me I can take this:

tc qdisc delete dev wan0 root &>/dev/null

tc qdisc replace dev wan0 root handle 1: htb default 99
tc class add dev wan0 parent 1: classid 1:1 htb rate 4000kbit burst 1000kbit
tc class add dev wan0 parent 1:1 classid 1:11 htb rate 500kbit ceil 
4000kbit burst 1000kbit prio 1
tc class add dev wan0 parent 1:1 classid 1:99 htb rate 500kbit ceil 
3500kbit burst 10kbit prio 2
tc qdisc add dev wan0 parent 1:99 handle 99: fq_codel noecn
tc filter add dev wan0 protocol ip parent 1: prio 1 u32 match ip tos 
0xb8 0xfc flowid 1:11
tc filter add dev ifb0 protocol ip parent 1: prio 1 u32 match ip dst 
my.voip.provider flowid 1:11


Change wan0 to eth0.  Remove ceil and burst since I want to test a hard 
limit.
Remove the voip entry for ifb0

Would that work?


More information about the Ale mailing list