Displaying 2 results from an estimated 2 matches for "tc_reset".
Did you mean:
t_reset
2005 Jan 24
3
Htb, imq and sfq traffic shaping
...''imq0''
UPIF=''imq1''
rc_done=" done"
rc_failed=" failed"
TC=''/sbin/tc''
IPTABLES=''/usr/sbin/iptables''
IFCONFIG=''/sbin/ifconfig''
MODPROBE=''/sbin/modprobe''
return=$rc_done
tc_reset ()
{
# remove old devices if any
echo "Removing old root qdisc..."
$TC qdisc del dev $DOWNIF root
$TC qdisc del dev $UPIF root
}
tc_status ()
{
echo "========================================"
echo "[qdisc - $DOWNIF]"
$TC -s qdisc show dev $...
2007 Aug 30
17
Question about how TC enforces bandwidth limiting
Hello,
I run one of my PCs as my personal router, with iptables+tc to control
traffic and be my firewall.
In TC, I use a combination of htb, qdisc and sfq (as well as prio) to
classify bandwidth. In my current setup, I have 10 classifications of my
bandwidth. (Even I admit this is probably more than I need, but at this
point I''m still learning, so I''ll just leave them be.)