Displaying 20 results from an estimated 10000 matches similar to: "PRIO and CBQ"
2005 Jan 30
2
PRIO inside HTB - trouble attaching filters correctly?
Hello everyone!
I''m simply trying to put a PRIO inside an HTB (used to throttle). I''ve got
interactive traffic on the network that I want to give priority (VoIP +
Citrix + Video).
I''ve used the filters in a CBQ script fine, but am having trouble
adjusting them to this setup such that they properly assign the traffic.
tc qdisc del root dev $e
tc qdisc add dev $e
2003 Sep 04
3
CBQ Rate
Hi everyone,
This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at
10Mb/s. The purpose is to test CBQ
Here is my script
-------------------------------------------------------------------
# Root qdisc
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \
avpkt 1000 cell 8
# Classes
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \
rate 5Mbit weight
2007 Apr 04
13
tc questions
Hi to all of you!!!
I am a Computer Science student trying to do the pre-grade thesis. I am trying
to develop a free software tool to help administrators to control the
traffic. Right now this tool is based on tc and iptables.
I am having some problems trying to understand tc and tc examples:
- Why in almost every list of tc rules based on htb class, there is a "tc
qdisc dev ... root ...
2002 Dec 19
1
linux bridging and htb.init / cbq.init
Hello,
I''am successful using a linux (2.4.20) bridge and the cbq.init_v0.7
script for traffic shaping. But I can only use the queuing discipline
tbf (LEAF=tbf). If I try use queuing discipline sfq or none then tc
applies the rules but no shaping occurs.
Is this problem a normal behavior when using bridging ?
I tried to use htb.init (using patched tc binary). It accepts
the rules but
2003 Jul 16
1
Problen in cbq , fw
Hi,
In my LAN Iam trying to make following setup:
- All the traffic generated by 10.0.2.1 should go to 10.0.2.11,
If
the destination of this traffic is internet than it should be
placed on its interface eth1. Outgoing traffic on eth1 should be
shaped.For this I am using fw filters and cbq.
_______
10.0.2.1 -------> 10.0.2.11(eth0 )----| A
2005 Feb 02
1
PRIO / CBQ / HTB queue drop algorithm
Hello all.
I''ve been struggling to QoS VoIP at our site and have a successful
implementation at this point. Basically I had to set aside enough
bandwidth for VoIP by placing all other traffic behind an HTB (multiple
classes and queues behind it). Everything is fine. Here''s the diagram:
-------
| eth |
-------
|
--------
2004 Jul 09
4
HTB & Bdw Guarantee
Hello,
I have problems setting up HTB.
This is my setup :
NET 1024/256 ADSL
||
eth1
Linux Firewall
eth0
||
LAN 10.a.a.a
I want to GUARANTEE for an IP (10.x.y.z) a 800kbit
bandwidth for HTTP download.
But When 10.x.y.z does no HTTP download, other trafic
must get the whole bandwidth, of course.
The script I use (see below) is quite the same as
presented at (the greeeeat page) :
2006 Aug 13
3
trying to prioritize voip traffick
I am using a server with asterisk and I am trying to prioritize voip
traffick -- I am a newbie at this traffic shaping, so please bear with
me. I used the script below and what happens is thatall traffic in
the bulk class stops after a couple of minutes. Also, should I
include the ports for rtp in the filter statements with the ports 5061
and 4569? Note I have a fairly big pipe -- supposed to
2001 Feb 07
3
cbq ip range?
OK, finally I have made cbq run !
now I would like to know if it is posible to limit a range of IP to a speed.
something like this :
from 192.168.1.1 to 192.168.1.21 limit to 128K
I don''t whant to limit each IP to 128K, what I would like to do is limit all
20 IP to have a max of 128K.
Is it posible?
2001 Jun 26
1
prio fighting
Hi,
I have done this setup to give the machine 192.168.1.4 (masqueraded over
dialup) the highest priority:
#! /bin/bash
WHAT="add"
iptables -A PREROUTING -i eth0 -s 192.168.1.1 -t mangle -j MARK
--set-mark 1
iptables -A PREROUTING -i eth0 -s 192.168.1.4 -t mangle -j MARK
--set-mark 4
tc qdisc $WHAT dev ppp0 root handle 1: prio bands 3 priomap 0 1 2
tc qdisc $WHAT dev ppp0 parent 1:1
2002 May 30
3
cbq parameters
If I create a cbq qdisc as a leaf of a cbq class, the bandwith rate is
the same of the root cbq qdisc or the rate of the cbq class?
Does exist the parameter rate on the "tc qdisc add" for cbq command?
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 10mbit avpkt 1000
cell 8
tc class add dev eth0 parent 1:0 classid 1:3 cbq bandwidth 10mbit rate
50kbit allot 1514 cell 8
2004 Dec 22
4
how to add burstable rate?
Hi,
I managed to fix 128kbit for an IP address of 192.168.200.3 as below: -
tc qdisc add dev eth3 root handle 1: cbq avpkt 1000 bandwidth 100mbit
tc class add dev eth3 parent 1: classid 1:1 cbq rate 128kbit allot 1500
prio 5 bounded isolated
tc filter add dev eth3 parent 1: protocol ip prio 16 u32 match ip dst
192.168.200.3 flowid 1:1
tc qdisc add dev eth3 parent 1:1 sfq perturb 10
How can I
2004 Aug 13
1
Shaping weirdness
I''ve been following the HOWTO, and reading mailing list discussions
about throttling bandwidth, and have had some success, but I just want
to tie off some loose ends. Essentially what I am wanting to do is to
keep our bandwidth usage below 1megabit, because if we go over we get
charged for that traffic. I''ve used some of the examples from the
HOWTO to limit our bandwidth, but I
2004 Oct 10
2
Use l7-filter in/and TCNG.
Hello every one!
I''m making a project to a discipline in the university and the project
is make a Linux router that grants QoS to Multimedia connections (the
prof. say we can use Open Source Soft. :) or reinvent the wheel). I have
been googeling and googeling and i found the l7-filter in source forge
and the spectacular simple language that is TCNG. Well the problem is
how can i
2004 May 04
4
Wrapping prio in tbf
The manual says (about prio):
> Because it doesn''t actually shape, the same warning as for SFQ holds:
> either use it only if your physical link is really full or wrap it
> inside a classful qdisc that does shape. The latter holds for almost all
> cable modems and DSL devices.
I want to wrap prio inside of tbf. Here''s why: I have a server on a DSL
line, which has
2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all,
I have installed 2.4.5 kernel, Debian Potato.
my tc script:
#!/bin/bash
tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000
echo root
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \
10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
echo class
tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \
5Mbit allot
2000 Nov 18
9
priority bands don't reduce interactive latency?
I run a small Linux webserver and NAT router from my cable modem at home.
Whenever someone starts an http download, all other traffic from my LAN is
starved. Bandwidth is not really an issue, but latency is particularly
horrible -- pings that usually come back in 20ms can take up to 600ms while
the web server is active!
I set up QoS (netfilter+iproute2) on the NAT machine in an attempt to give
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello,
I''m using tc to limit the bandwidth of our wireless customers. I have a
working script, but I''m not happy with it. I''m trying to write a more
sophisticated script, but when I run it, it give me this error:
RTNETLINK answers: File exists
I have no idea what this error means or how to fix it. Here is a portion
of the script (the whole script shapes several
2007 Dec 06
1
Setting max latency on classful qdiscs
Hi All,
I''m using HTB to shape traffic, a little like this:
tc qdisc add dev eth2 root handle 1:0 htb
tc qdisc add dev eth3 root handle 1:0 htb
tc filter add dev eth2 parent 1: protocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action ipt -j MARK --or-mark 0x01000000
tc filter add dev eth3 parent 1: protocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1