Displaying 20 results from an estimated 7000 matches similar to: "TC, HTB, and multiple qdiscs"
2005 May 18
4
HTB + IMQ + IPtables marking.
Folks,
I''m so surprised what happened to my box just in the few weeks lately.
Here is my setup:
INTERNET <----------> [eth0] SHAPER-BOX [eth1] <----------> USER-FARM
both eth0 & eth1 got public ips (202.x.x.x)
Why traffic monitored at eth0 is bigger than eth1 ?
eth1 shaped just exactly the same as rate i defined in HTB.
I just have 1024Kbps from my ISP and i defined the
2004 May 04
1
T1 (hardware pre-shaped) shaping question
Hello list. I have been trying to figure this out on my own, but I guess I
somewhat failed :) A linux router with external eth0 and internal eth1 acts
as a gateway for a number of machines utilizing a partial T1 line (512kbps).
Since the T1 is limited by hardware and by its nature to 64kbps per channel
the most I can pump out of it is up+down < 512kbps. If a number of
workstations amount to
2005 Dec 04
3
Shaping per machine
I''m trying to shape each machine on an interface to 256k each, but I''m
getting stuck and only able to shape an entire interface to 256k. What
should I be doing differently here?
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100MBit ceil 100MBit
tc qdisc add dev eth0 parent 1:10 handle 110:
2005 Jun 02
8
How many (htb) tc classes and qdiscs are too many?
We have a Linux box that is acting as the gateway to the internet for about
400 people, typically there are not more then 50 of them using the internet
at any given time. We would like to provide different levels of access to
different users. For example 128kbps to some users and 256kbps to others.
We have considered creating a class and qdisc for each user (using htb)
however we don''t
2006 Aug 14
3
tc and HTB
Hi,
I have a Debian that is connected to Internet in eth0, and to a LAN in
eth1. I wanted to control traffic with HTB, dividing it depending on
what kind of traffic is (Mail, Application Server and others).
Would it be good to use HTB qdisc in eth0 egress to control outgoing
traffic and HTB qdisc in eth1 egress to control incoming traffic? Or
the only way to control incoming traffic is with eth0
2004 Jul 14
1
tcng/tc setup
Hi all,
Can someone please help with a tcng setup? I have played with tc and tcng in
the past, and now would like to get some serious rules in place. However, I
have a difficulty in setting them up.
My setup is as follows:
One machine working as a firewall:
eth0 is the interface connected to a 512K DSL line
eth1 is connected to a LAN
eth2 is connected to another LAN, a bit like a DMZ
eth1 and
2004 Jan 19
5
a couple of questions regarding htb
Dear list,
I want to rate-limit a couple of customers in both up and down
directions.
They get a different speed for traffic staying on our network than for
traffic towards/from the internet,
so that''s a master class and 2 child classes per customer per interface.
I made a test setup with cbq which worked, but wasn''t too reliable I
measured a tolerance of about 30%.
I read
2002 Sep 17
8
the range of HTB''s prio
HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 1
please tell me the range of "prio"
_________________________________________________________
Do You Yahoo!?
新鲜到底,娱乐到家 -
2003 Apr 15
3
IMQ+HTB problem
Hi all and tc Gururs
i have patched the IMQ and htb to kernel, but when i do egress filtering,
iam not able to see any traffic
and excusted the following the commands
modprobe imq numdevs=1
tc qdisc add dev imq0 handle 1: root htb default 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 100kbit
tc qdisc add dev imq0 parent 1:1 handle 10: htb default 1
tc class add dev imq0 parent
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 Mar 02
2
imq or ingress+htb?
Todays quick question:
Ive had problems with imq and getting my setup to work as planned. Im
thinking that a better solution for shaping incoming traffic would be to
put a little limit in the outer interface of the router box with ingress,
and the shape traffic on the inner interface with htb. Would that be
better than using imq?
--
Patrick Petersen <lartc@schmakk.dk>
2005 Jan 24
3
Htb, imq and sfq traffic shaping
Hello,
I wrote a simple traffic shaping script (below) that should have allowed me to shape my internet traffic a bit (ppp0 - adsl 128kbit/64kbit; local interface eth0).
The script works only partially - the speed is being limited but too much. Without running this script my download rate is about 10kBytes (with second computer also downloading at about 6kBytes). After running it my download speed
2003 Jun 25
2
Combining ingress and egress ( IMQ+HTB)
I am successfully running ingress (IMQ) and egress (HTB) shaping on a
bridge.
Is there any way to combine and share the bandwidth between ingress and
egress?
Example:
I have set up www service for egress at 128 KB and ingress at 256 KB. The
shaping on them works fine separately. However, I want to create a single
virtual pipe for www traffic and limit both ingress and egress combined to
256 KB.
2004 Jun 28
1
IMQ htb question
Hello,
I''ve just recently started to use IMQ and I got puzzled after seeing the
imq usage example on the linuximq.net site:
It was something like this:
tc qdisc add dev imq0 handle 1: root htb default 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 1mbit
tc qdisc add dev imq0 parent 1:1 handle 10: htb default 5
tc class add dev imq0 parent 10: classid 10:1 htb rate 256kbit
2005 Jun 08
14
HTB is being hang my computer :/
What''s wrong... I have Celeron 633MHz nd 768Mb RAM.
When I''m running my script everything is OK, but when I''m connecting
Internet and LAN link computer is hanging. But when i dissconnect this
everything is OK.
I have 500 users, 1500 classes and 3000 filters.
Is it normal? What should I do?
2005 Jun 09
5
nesting htbs
Hello all,
I am running a coop satellite link for my aviation company here in
Iraq. (silly blog www.stardotstar.org). I am running tc with htb
with good success so far. I am working on improving it though and
need some help. Currently I have just 4 classes, syn/ack/ping,
webchat, http, and then other. We are really happy with how this has
improved our ability to call home from our rooms and
2005 Jun 17
1
IMQ + HTB + little script problem
I want to shape the incoming traffic ( download ) "but using only
fwmark", i know there are other methods, but i want to use this one
particularly...
So, first i create DOWNLOAD and mark with 20 all the traffic with
destination 10.0.0.3 ( eth1 ) incoming from my internet device ( eth0 ).
#$IPTABLES -t mangle -N DOWNLOAD
#$IPTABLES -t mangle -I PREROUTING -i eth0 -j DOWNLOAD
2003 Aug 12
1
htb qdiscs inside htb classes tree - possible side effects???
Hello,
Currently I use following htb configuration:
--------------- 1:0 -----------
/ | \
1:1 1:2 1:x
/ | \ / | \ / | \
1:1001 1:2001 1:3001 1:1002 1:2002 1:3002
Classes like 1:1,1:2,1:3 limit my clients to some value, let''s say
128kbit/s.
Classes like 1:1001 are
2004 Jan 13
2
Bridge + leased line + tc
Hi,
I can''t get traffic shaping working.
This is my situation:
-------- ------
Net1 ----- |router| -------------------- | TC | ----------- Net2
-------- leased line ------
eth1 eth0
We use the leased line for normal traffic but also for synchronisation
between 2 servers. The leased line is 2mbit. The synchronisation
2007 Sep 15
5
htb : server trafficcontrol
Hi everyone,
I have a small problem. I have my debian server setup in my home.
I have setup htb that is working perfectly.
The only problem I have is to control the traffic server <-> internet
I have a daemon (bittorrent) and I would like to limit its download to a
certail amount. How can I do that ?
I have tried layer7 but it seems I''m doing something wrong in the htb
script.