Displaying 20 results from an estimated 10000 matches similar to: "htb+beginner+error"
2005 Nov 01
0
ADSL-Bandwidth-Management-HOWTO
Hi,
I''ve read ADSL-Bandwidth-Management-HOWTO
http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/implementation.htm
l#AEN166
and I''ve a doubt from script:
[ ... ]
# DNS name resolution (small packets)
iptables -t mangle -A MYSHAPER-OUT -p udp -j MARK --set-mark 21
[ ... ]
That is a bug ?
I think that " DNS name resolution (small packets) " is better
2004 Jan 04
3
problem whith htb script
Hi all && happy new Year ;)
I''m try to made a script for shaping my outgoing traffic, but it doesn''t
work fine.
The script work good if all packets go thru the default class, but, if I
try to send packets by other class, the packes doesn''t go by this class
go also by the default class.
This script is installed in a router linux with ip masquerading for the
2003 Apr 09
1
HTB Question
Hi Stef,
Sorry to write to you directly but my list membership is not working, I
receive the archive but cant send to the list, cant delete myself because I
don''t exist and can''t rejoin as they say I do exist, anyway hope you don''t
mind
Can you tell me what the difference between these two scripts is please.
What I want to achieve is a high speed channel 1000kbit from
2004 Jul 30
0
Help:how many bandwidth are borrowed in HTB?How to caculate!
Hi,All
I use HTB to control traffic.Here is my script:
/usr/sbin/tc qdisc del dev nas0 root
/usr/sbin/tc qdisc add dev nas0 root handle 1:0 htb default 60
/usr/sbin/tc class add dev nas0 parent 1:0 classid 1:1 htb ceil 896kbit rate 896kbit prio 0 burst 60k
/usr/sbin/tc class add dev nas0 parent 1:1 classid 1:10 htb ceil 896kbit rate 537kbit prio 1 burst 60k
/usr/sbin/tc class add dev
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
Hello all,
I am trying to configure a linux box to make some QoS into my
netowork and, at the same box, control my clients bandwidth. I have this
classes created:
----------------------------------------------------------------
UP="eth0" # wan infocontabil
DL01="eth2" # lan clientes
$TC qdisc del dev $DL01 root 2> /dev/null >
2006 Feb 22
0
mysterious rebounce in htb
Attached is a graph obtained with ethereal where after time +/-45s there is
a rebounce which I can''t explain.
Setup is this:
- my machine starts to generate traffic at maximum speed against a
target machine (using nc < /dev/zero here and nc -l > /dev/null there)
- traffic pattern is:
0s: dst port 2500 (red)
20s: dst port 8000 (blue)
40s: kill port 2500 traffic
60s: kill
2003 Oct 27
4
Need help with HTB
Hello,
1.
I currently have a 128kbps cable link to the internet..and I''m sharing
this connection with others.
I''ve made the following script(for alocating bandwidth depending on the
services used: browsing, squid, games like counter-strike, icmp, ssh),
which unfortunately isn''t working very well as the response times I''m
getting upon pinging the server
2002 Jun 18
7
Better filtering to a class
Dear all,
I want to make a filter for all IRC-Dalnet traffic, so I want to put all
traffic for port 6660, 6661, 6662, 6663, 6664, 6665, 6666, 6667, 6668, 6669,
7000, 7001, 7002, and 8000 to a class. So, I create a TC script as below.
I''m sure, it is not effective, and we can write it in simpler.
I need help, how to make my script below are simpler.
The simpler, the better.
Thank you
2003 Nov 13
1
HTB traffic shaping + squid cache proxy
Hello!
My system is:
Internet ADSL(PPPoE) ---> ppp0 [LINUX server(router)] eth0 ---> LAN
Server(router) is running on LINUX Slackware 8.1. I have recompiled a
2.4.22 kernel, enabled all QoS support in the kernel config,
including HTB. My ADSL bandwidth is 256Kbit/s for download and
64Kbit/s for upload.
I use the following HTB+IPTABLES configuration, because I want to
reduce bandwith for
2005 Jan 05
0
Best QoS Policy for VoIP
Hello all,
I''ve got a couple redundant (Spanning Tree Protocol) boxes running FC1
minimal install + bridge-utils and they are working great for QoS + ntop
monitoring. I''m wondering if I should handle the VoIP traffic a little
differently. I don''t mind letting VoIP and Video lend out traffic when it
isn''t being used, so that''s why I gave them such
2005 Jul 21
2
HTB and prio
Hi,
this is a followup to "Problem with HTB and ceil", the problem with the ceiling
has been resolved, thanks to the memebers on this m/g.
Now I have the problem that packets get into the correct classe with the correct
marks but the prios are not respected. I have 4 different classes:
1. voip class / prio 0 / mark 100 / voip traffic
2. ACK class / prio 1 / mark 200 / ACK packets to
2004 Jul 09
3
tc filter + bridging + htb -- works only if ip_forward = 0
I thought that the below email would be of interest to LARTC readers. I
wasted quite a bit of time tracking down this "feature" (bug?). Any
comments that shed light on this would be appreciated. In short, "tc
filter" + htb + bridging works only with ip_forward off.
Andrew Athan
-----------------------------------------------------------------------
All:
It seems that
2005 Nov 03
6
Cannot get htb & prio working together.
Hi,
I''ve failed miserably in my endeavours so far and I''m at the point
where help would be much appreciated.
I want to have 3 bandwidth limited classes on my Internet interface. In
each of those classes I want 3 prioritization bands, and then use "tc
filters" to place the traffic into the correct class and priority. The
problem is that the traffic
2007 Jul 01
1
FW filter unused/unloaded ???
Hi all.
I''ve written a small htb script that uses U32 and FW (marked by IPTABLES) filters, but TC doesn''t seem to be using the "cls_fw.o" module !!!
I''m using redhat v9.0, kernel 2.4.8-20, iproute 2.4.7-7.
Here is my script:
==========================================================
#####################
#Interface definition
#####################
2005 Jun 23
0
QOS with squid in the same machine
Hi list,
I''m trying to do qos based on HTB, in my linux box wich is my firewall
and transparent proxy, and I don''t have the possibility to put other
machine to make proxy.
Well, If I up my htb scripts, the proxy will be limited to serve my LAN
as a external site and limited to the limit of 768kbits, even making two
classes, tryn to limit it traffic to the maximun bandwidth
2005 Oct 01
3
I gave up.-...-.-.-.- :''(
Actually i gave up, i tried and tried and tried so many times, upgrading software falling back to an old version
but it didn''t work, that''s it.
i can''t do work together tc with iptables and iproute2
when i mark a packet with iptables tc doesn''t recognize them so it falls at the default leaf of the tc''s tree
what i like is to mark packets depending on
2005 Dec 22
2
strange tc filter behavior
Hi All
I am fighting this for 3 days and could not find any reason it is not working
the way I want to (or I the way think it should).
Internet output interface = eth2 (htb qdisc)
Internet input interface = imq0 (eth2 attached - htb qdisc)
main class = imq0 1:1
sub1 = 1:ffff (default)
sub2 = 1:10 (src ports 1433/tcp or 1434/tcp or 81/tcp or 82/tcp)
sub3 = 1:11 (src and dst port 25/tcp )
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
2004 Oct 06
3
HTB and Openvpn
Hi!
I have just started with traffic shaping, and after hours of reading
websites, man pages asf. I am still stumped at one problem I have.
The interface eth0 is attached to the outside world, and I have an openvpn
tunnel to another part of the organization using eth0 and port 5001.
The idea was that all traffic going through the tunnel would have top
priority and the rest share
2004 May 06
2
imap problems
Hi,
I''m really new to traffic shaping and try to implement the wshaper.htb
script.
I have a linux box that serves as vdr, mldonkey, samba, apache and
mailserver (imap), connected to my LAN with 100mbit. I''m connected to
the inet via adsl with a hardware router/firewall, got 384k downlink 64k
uplink. When I have mldonkey running, imap (via Outlook) gets *very*
slow (mails with