Displaying 20 results from an estimated 73 matches for "32kbit".
Did you mean:
32bit
2005 Mar 14
1
htb.init issues
...premium child classes 1xyz
best-effort parent class 2000
best-effort child classes 2xyz
default class 3000
Here''s how I do it:
eth1:
DEFAULT=3000
eth1-0010.root:
RATE=100Mbit
LEAF=sfq
eth1-0010:1000.premium
CEIL=352Kbit
RATE=352Kbit
PRIO=2
LEAF=sfq
eth1-0010:1000:1xyx.child1
CEIL=32Kbit
RATE=8Kbit
PRIO=3
LEAF=sfq
RULE=<public ip>,
eth1-0010:2000.best-effort
CEIL=500Kbit
RATE=500Kbit
PRIO=3
LEAF=sfq
eth1-0010:2000:2xyz.child1
CEIL=16Kbit
RATE=8Kbit
PRIO=2
LEAF=sfq
RULE=<public ip>,
eth1-0010:3000.default
RATE=2Kbit
PRIO=7
An output from tc commands generated by the...
2005 Apr 08
1
HTB + speed a bit lower than what shaped to
...ssid 1:1 htb rate 10Mbit
# POOL1
$TC class add dev $INTERFACE parent 1:1 classid 1:2 htb rate 512Kbit
ceil 512Kbit prio 0
# DEFAULT
$TC class add dev $INTERFACE parent 1:1 classid 1:30 htb rate 10Mbit
ceil 10Mbit prio 3
# MAILSERVER
$TC class add dev $INTERFACE parent 1:1 classid 1:12 htb rate 32Kbit
ceil 32Kbit prio 0
$TC qdisc add dev $INTERFACE parent 1:30 handle 30: sfq perturb 10
$TC qdisc add dev $INTERFACE parent 1:12 handle 12: sfq perturb 10
# dev eth1 - creating filters with marked packets
$TC filter add dev $INTERFACE parent 1:0 protocol ip handle 12 fw
classid 1:12
$TC filter...
2002 Oct 11
1
congestion problem
...ent --- R1 --- R2 --- R3 --- Web
the Client it''s me, the R1 router it''s myne (so i can control it), the
R2 is my provider router, and R3 is the provider,provider router.
R2 - R3 is a 2mbit link
R1 - R2 is a 10mbit link
R2 have multiple interfaces and other 10mbit links
I have a 32kbit garanted bandwidth on the R2-R3, but without limit (rate
32kbit, ceil 2mbit)
The congested link is between R2 and R3. I start to download something,
the R2-R3 32kbit gets full, borrows and gets to around (let''s say)
50kbit. Then other clients comes, and the bandwitdth above 32kbit gets...
2005 Jul 20
5
Transfer rate above the desired (tc+htb)
...wing.
In order to get the feeling on this subject, I have setup the
following test bed.
---A---B---C---
On B: eth0 connecting A and eth1 connecting C.
The script.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 50
tc class add dev eth0 parent 1: classid 1:1 htb rate 32kbit ceil 32kbit
tc filter add dev eth0 protocol ip parent 1:0 prio 100 u32 match ip
src 10.4.0.0/16 match ip dst 0.0.0.0/0 classid 1:1
If I try to transfer a 1M file from C to A:
[root@localpost tmp]# wget 192.168.0.23/1M
--09:22:32-- http://192.168.0.23/1M => `1M.8''
Connecting to 192.16...
2007 Aug 24
3
subdivide 64 kbit bandwidth 32kbit for WWW and 32 Kbit for mail
...10
tc filter add dev $INTERFAZ_DMZ parent 1: protocol ip prio 1 u32 match ip
dst 192.168.100.0/24 classid 1:5
It has allocated 64 Kbit for downloading for the ip range of
192.168.100.0/24. (DMZ ZONE)
Rememmber, this is a SNATed firewall.
Now, What I nedd is to subdivide this 64 kbit bandwidth *32kbit for WWW and
32 Kbit for mail**.
Can I subdivide in that way ? If divided , What will happen to other
services such as ICMP, SSH, ACK etc ?
*Then, How can I achieve this task?
*
I modfied the the above script . This is what it looks like after editing.
*#traffic shaping on eth1 (Downloading)
I...
2003 Jun 12
11
htb problem
Hi,
I have some interesting problem with htb , I set up root class and
sub-classess:
$TC qdisc add dev eth0 root handle 1: htb
$TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit
$TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit
$TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil
1600kbit
$TC class add dev eth0 parent 1:1
2006 Jan 12
1
tc class class id problem Limitation
Hello,
I have been working on tc class . But when the classid reaches 5 digit ,
it DOES NOT ACCEPT THAT ...
see the example below ::
tc class add dev eth0 parent 10:36 classid 10:13310 cbq bandwidth 10Mbit
rate 32Kbit allot 1514 weight 3.2Kbit prio 5 maxburst 20 avpkt 1000 bounded
See the bold digit !! this command doesn''t work , but if i use with 4
digit then it works :
tc class add dev eth0 parent 10:36 classid 10:1331 cbq bandwidth 10Mbit
rate 32Kbit allot 1514 weight 3.2Kbit prio 5 maxburst 20 a...
2004 Jan 20
1
example clarification needed
Hi,
I have a parent class 1:1 with rate=ceil=64kbit
i create 3 classes under it(1:1).
class 1:2 rate=ceil=32kbit
class 1:3 rate=ceil=16kbit
class 1:4 rate=ceil=16kbit
if 64kbit traffic is flowing from the cable all the 3 classes will get their respective shape.
1 .if only 32kbit data is flowing(for some reason).
a. Then how will the traffic gets distributed.?
b. Is it in first come first serve bases or gets...
2002 Oct 12
0
[Fwd: Re: congestion problem]
...it''s me, the R1 router it''s myne (so i can control it), the
> R2 is my provider router, and R3 is the provider,provider router.
>
> R2 - R3 is a 2mbit link
> R1 - R2 is a 10mbit link
> R2 have multiple interfaces and other 10mbit links
> I have a 32kbit garanted bandwidth on the R2-R3, but without limit
(rate
> 32kbit, ceil 2mbit)
> You have guaranteed 32K upstream, downstream or both?
both in 32kbps
> There''s something strange about that in any case.
> For upstream, how does r2 know which packets are from you?
ip
&...
2005 Apr 05
10
ppp+vpn+htb
please, help, i have build vpn server (suse 9 + poptop), i have managed to implement tc htb in ip-up script, but every client has own ppp interface (ppp0, ppp1, ppp2...), and my idea is to share available bandwidth, not to limit connection,
how to build root tc rule, when I have more then one interface?... please any one width experiance
regards
_______________________________________________
2004 Jun 18
6
priorities + htb
Hi!
How does prioritization work when you''ve got a tree structure, e.g.
|
+-- class_a rate 64kbit prio 1
| |
| +-- class_a1 rate 32kbit prio 1
| |
| `-- class_a2 rate 32kbit prio 2
|
`-- class_b rate 64kbit prio 2
Above could either be interpreted as
(a) a, a1 have prio 1
b, a2 have prio 2
(iow, no distinction is being made between the inner/nested classes and
the outer/parent classes)
OR
(b) all...
2006 Feb 14
1
Guarantee ICMP respond time ?
...BQ ?
here is my example setup
echo "Loading Traffic Shaper IMQ0 Upload"
tc qdisc del dev imq0 root
tc qdisc add dev imq0 root handle 2: htb default 333 r2q 1
tc class add dev imq0 parent 2: classid 2:2 htb rate 192kbit
#ICMP
tc class add dev imq0 parent 2:2 classid 2:30 htb rate 32kbit prio 0
tc filter add dev imq0 parent 2:0 protocol ip handle 5 fw classid 2:30
tc qdisc add dev imq0 parent 2:30 handle 30: sfq perturb 1
tc class add dev imq0 parent 2:2 classid 2:24 htb rate 96kbit ceil
160kbit prio 1
tc filter add dev imq0 parent 2:0 protocol ip handle 1 fw classid 2:24
t...
2005 Sep 26
1
Hmmm... Weird results with HTB in kernel 2.6.11
...d 0, overlimits 0 requeues 0)
rate 132152bit 19pps backlog 0b 0p requeues 0
lended: 5241 borrowed: 270604 giants: 0
tokens: -1073545 ctokens: 1525
As you can see, the parent class is pretty much maxxed out, which is
fine, but two of the child classes are not OK... 1:8 with a target rate
of 32kbit is getting 32kbit, while 1:39 with a target rate of 8kbit is
getting 132kbit! Looking at the states, this seems to be the normal
state while the link is saturated.
Can anybody see something obvious wrong (perhaps an underflow, or
something?), or is more info needed? If so, what info?
Thanks!...
2005 Mar 13
1
Traffic Shaping for DVB gateway
.../sbin/tc qdisc del dev eth1 root
/sbin/tc qdisc add dev eth1 root handle 1 htb default
30
/sbin/tc class add dev eth0 parent 1: classid 1:2 htb
rate 32kbit burst 15k
/sbin/tc class add dev eth0 parent 1:2 classid 1:3 htb
rate 8kbit ceil 16kbit burst 15k
/sbin/tc qdisc add dev eth0 parent 1:3 handle 3 sfq
perturb 10
/sbin/tc filter add...
2006 Jan 24
0
Problems in Bandwidth limiting-Help needed!!!
...rate 128kbit ceil 128kbit
tc class add dev eth1 parent 1:1 classid 1:2 htb rate 64kbit ceil 64kbit
tc qdisc add dev eth1 parent 1:2 handle 2: sfq perturb 10
tc filter add dev eth1 parent 1:0 protocol ip prio 1 handle 1 fw classid 1:2
tc class add dev eth1 parent 1:1 classid 1:5 htb rate 32kbit ceil 32kbit
tc qdisc add dev eth1 parent 1:5 handle 5: sfq perturb 10
tc class add dev eth1 parent 1:1 classid 1:3 htb rate 32kbit ceil 32kbit
tc filter add dev eth1 parent 1:0 protocol ip prio 1 handle 2 fw classid 1:3
iptables -t mangle -A PREROUTING -p tcp --dport 5000:5100 -j MARK -...
2004 Jun 30
3
HTB and iptables statistics
...le:
mich:~# tc -s -d class show dev eth0
class htb 1:11 parent 1:1 prio 1 quantum 1024 rate 8Kbit ceil 23Kbit burst 1609b/8 mpu 0b
cburst 1628b/8 mpu 0b level 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 1287999 ctokens: 453286
class htb 1:1 root rate 32Kbit ceil 32Kbit burst 1639b/8 mpu 0b cburst 1639b/8 mpu 0b level 7
Sent 2629492 bytes 29142 pkts (dropped 0, overlimits 0)
rate 1777bps 19pps
lended: 7716 borrowed: 0 giants: 0
tokens: 297600 ctokens: 297600
class htb 1:10 parent 1:1 prio 0 quantum 1024 rate 8Kbit ceil 23Kbit burst 1609b/8 mpu...
2005 Feb 08
1
Shaping and forward
...rk great, below is a smaller version:
#Root
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 100
#Root Class
tc class add dev eth0 parent 1: classid 1:1 htb rate 1024kbit quantum
20000 burst 15k
#Class for each user
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 32kbit ceil
128kbit prio 0 quantum 20000 burst 15k
tc class add dev eth0 parent 1:1 classid 1:3 htb rate 32kbit ceil
128kbit prio 0 quantum 20000 burst 15k
...
# SFQ qdisc for each user class
tc qdisc add dev eth0 parent 1:2 handle 12: sfq perturb 10
tc qdisc add dev eth0 parent 1:3 handle 13: sfq pertur...
2005 Jul 06
1
HFSC default upper-limit trouble
...del dev eth3 root
+ tc qdisc add dev eth3 root handle 1: hfsc default 2
+ tc class add dev eth3 parent 1: classid 1:1 hfsc ls rate 512kbit ul
rate 512kbit
+ tc class add dev eth3 parent 1:1 classid 1:2 hfsc ls rate 2kbit ul
rate 400kbit
+ tc class add dev eth3 parent 1:1 classid 1:3 hfsc ls rate 32kbit ul
rate 32kbit
+ tc class add dev eth3 parent 1:1 classid 1:4 hfsc ls rate 300kbit ul
rate 300kbit
Let''s say i start to upload thru 1:3. the upper-limit applies, traffic
doesn''t do up more than 4kb/s. The 1:4 is still functional, but 1:2, the
default class starts backlogging...
2004 Aug 06
4
ices can't logon to server
On Fri, 2002-12-13 at 08:06, Adon Irani wrote:
> ices2/icecast2 (from xiph.org / cvs_ ices/icecast/et al. .) .. this will
> give you ogg vorbis live streaming as well as mp3/ogg static playback .
> and i'm sure it'll support playlists ..
> :: this one will definately give you better performance/ quality , but its
> somewhat more involved to setup ..
not really that
2005 Apr 06
4
Games and QOS on share connection line
...mes class
$TC class add dev eth0 parent 1:1 classid 1:5 htb rate 64kbit ceil 256kbit burst 5k prio 0 # SSH class
$TC class add dev eth0 parent 1:1 classid 1:10 htb rate 64kbit ceil 2048kbit burst 5k prio 1 # interactive class
$TC class add dev eth0 parent 1:1 classid 1:20 htb rate 32kbit ceil 64kbit burst 5k prio 1 # ping class
$TC class add dev eth0 parent 1:1 classid 1:40 htb rate 32kbit ceil 1024kbit burst 5k prio 3 # data transfer class
$TC class add dev eth0 parent 1:1 classid 1:50 htb rate 32kbit ceil 1024kbit burst 9k prio 4 # email class
$TC class add dev...