search for: be_rate

Displaying 5 results from an estimated 5 matches for "be_rate".

2007 Feb 28
1
Data rate with HTB
Dear all, I''m making a script to implement DiffServ policies with HTB. Here it is : if test $1 = "help" -o $1 = "h" -o $# != 5 then echo "usage: ds.sh <DEVICE> <DS_RATE> <EF_RATE> <AF_RATE> <BE_RATE>" exit fi DEV=$1 DS_RATE=$2 EF_RATE=$3 AF_RATE=$4 BE_RATE=$5 sync tc qdisc del root dev $DEV tc qdisc add dev $DEV root handle 1: htb default 1 tc class add dev $DEV parent 1: classid 1:1 htb rate $DS_RATE ceil $DS_RATE tc class add dev $DEV parent 1:1 classid 1:10 htb rate $EF_RATE cei...
2006 Jan 13
0
HTB not shaping correctly ? (or bad scripts...)
...to class B and C (if needed) The unused band of class B must be given to C (if needed) The unused band of class C must be given to B (if needed) We started with the following HTB configuration: # DEV_RATE=530kbit DEV_CEIL=530kbit RT_RATE=240kbit RT_CEIL=240kbit MC_RATE=180kbit MC_CEIL=530kbit BE_RATE=80kbit BE_CEIL=530kbit OUTDEV=atm0 iptables -t mangle -F iptables -F tc qdisc del dev $OUTDEV root handle 1: # Classification of A iptables -t mangle -A PREROUTING -p udp --dport 50000 -j MARK --set-mark 100 iptables -t mangle -A PREROUTING -p udp --dport 50000 -j ACCEPT # Classification of B ip...
2001 Jan 17
0
dscp marking
...dev $DEV parent 1:0 protocol ip prio 1 \ handle 0x2e tcindex classid 1:51 $TC filter add dev $DEV parent 2:0 prio 1 handle 5 tcindex classid 2:5 #setting BE ############ echo Setting up BE $TC class add dev $DEV parent 2:0 classid 2:6 cbq bandwidth $BANDWIDTH \ rate $BE_RATE avpkt 1000 prio 6 allot 1514 maxburst 21 $TC qdisc add dev $DEV parent 2:6 red limit 60KB min 15KB max 45KB \ burst 20 avpkt 1000 bandwidth $BANDWIDTH probability 0.4 $TC filter add dev $DEV parent 1:0 protocol ip prio 1 \ handle 0x0 tcindex classid 2:161 $TC filter add dev $...
2005 Mar 17
0
cbq + gred doesn''t drop packets
...500 mpu 64 $tc filter add dev $DEV parent 4:0 protocol ip prio 1 tcindex mask 0xf0 shift 4 # BE echo ''installing BE'' $tc filter add dev $DEV parent 1:0 protocol ip prio 1 handle 0 tcindex classid 1:250 $tc class add dev $DEV parent 4:0 classid 4:5 cbq bandwidth $Total_Rate rate $BE_RATE avpkt 1500 prio 1 bounded allot 1514 weight 1 maxburst 21 $tc filter add dev $DEV parent 4:0 protocol ip prio 1 handle 5 tcindex classid 4:5 $tc qdisc add dev $DEV parent 4:5 red limit $BE_LIMIT min $BE_MIN max $BE_MAX burst $BE_BURST avpkt 1500 bandwidth $Total_Rate probability $BE_PROB # AF1 Cl...
2007 May 04
0
RSVP RESV not seen
...qdisc add dev $DEVICE root handle 1: cbq \ bandwidth $RATE avpkt 1000 mpu 64 $TC class add dev $DEVICE parent 1:0 classid :1 est 1sec 8sec cbq \ bandwidth $RATE rate $RATE allot 1514 maxburst 50 avpkt 1000 $TC class add dev $DEVICE parent 1:1 classid :2 est 1sec 8sec cbq \ bandwidth $RATE rate $BE_RATE allot 1514 weight 500Kbit \ prio 6 maxburst 50 avpkt 1000 split 1:0 defmap ffff borrow $TC class add dev $DEVICE parent 1:1 classid :3 est 2sec 16sec cbq \ bandwidth $RATE rate `echo $2/2|bc`Mbit allot 1514 weight 100Kbit \ prio 2 maxburst 100 avpkt 1000 split 1:0 defmap c0 $TC class add dev $DEVIC...