Displaying 20 results from an estimated 2000 matches similar to: "strange behaviour of qos"
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
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 Oct 01
2
imq + htb
Hi, i am running imq + htb on my router , the situation is like this
eth0 = uplink to my provider
eth1 = 1st customer
eth2 = 2nd customer
eth3 = 3th customer
eth0 has limit 512 and i want to share this between eth1 eth2 and eth3 ,
but not working , this is the script i used,
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#!/bin/sh
2006 Feb 14
1
Guarantee ICMP respond time ?
Hello to all people there .
Can i guarantee ICMP respond time no metter how loaded is internet line .
i have typical NATed enviroiment like
External IP |linux router| LAN - 192.168.0.0/24
i have example setup with IMQ but is it possible to be done also if i
attache htb to eth0 and eth1 for example .
if i start shaper ping i better that without shaper but it''s not
guarantted i mean
2006 Mar 28
1
Please help - totally confused (NAT + FWMARK + IMQ + HTB)
Hello,
I''m trying to get my shaper to work, but have only a partial success.
Can someone help me with that. My setup unfortunately is not so trivial,
but I think some people could have similar one...
1. There is a router connected to the internet line via interface eth0
2. There are users connected to the router via two interfaces : eth1 and
wlan0
3. All users are assigned private IP
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 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
2006 Feb 02
1
marking and limiting P2P packets
Hello, I am trying to shape p2p trafik to 256kbps on my dsl line. I wrote
this set of commands:
DEV=eth2
ip link set imq0 up
tc qdisc add dev imq0 root handle 1:0 htb default 21 r2q 2
tc class add dev imq0 parent 1:0 classid 1:1 htb rate 530kbit
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 530kbit ceil 530kbit
prio 0
tc class add dev imq0 parent 1:1 classid 1:21 htb rate 64kbit
2007 Sep 23
0
Giants on IMQ0
Why am I getting giants on imq0?
How do I stop that?
==========
imq0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:39880312 errors:0 dropped:0 overruns:0 frame:0
TX packets:39878715 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1024
RX
2004 May 20
1
tcng configuration question??
Greetings all,
OK - just started playing around with traffic shaping - have imq and htb
and (I think) everything else I need in the kernel and running well. My
initial lab task was to protect a H.323 session over a simulated half T1
while adding bulk traffic - got that accomplished after slogging through
learning tc and decided in short order that a more intuitive interface
would be
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
2004 May 09
0
problem with 2 Mbit egress rate
i''m trying to limit my egress bandwidth over 2 interfaces (eth1 and eth2) to
2 Mbit
my script is something like this:
tc=/sbin/ip
ipt=/sbin/iptables
$tc class add dev imq0 parent 2: classid 2:4 htb rate 1845Kbit quantum 3000
$tc filter add dev imq0 parent 2: protocol ip handle 4 fw classid 2:4
$tc class add dev imq0 parent 2:4 classid 2:40 htb rate 0.5Mbit quantum 3000
prio 5
$tc qdisc
2004 Apr 04
2
IMQ & NAT
Hi all, my IMQ device works OK (thanks to Andy Furniss), but now I''ve
problems to attach the traffic in the qdisc''s. This is my conf:
-----------------------------------------------------------------------
INET
|
|eth0 300Kbps
ROUTER (NAT)
|eth1
|
LAN
-----------------------------------------------------------------------
MAX=300
tc qdisc add dev imq0 root handle 1: htb
2002 Dec 09
3
HTB problems
Hello,
I have HTB on IMQ device. My rate does not work as I configured. I
configured 1920kbit/s and I can download only about 290kbit/s (while it
should be the whole bandwidth).
My script:
/sbin/modprobe imq numdevs=1
/usr/local/sbin/tc qdisc del dev imq0 root 2> /dev/null > /dev/null
/usr/local/sbin/tc qdisc del dev imq0 ingress 2> /dev/null > /dev/null
/sbin/ifconfig imq0 down
2004 Nov 19
2
HTB&IMQ
i''m trying to limit upload and download but something is wrong(it is about NAT)
i will post here my "script" maybe someone could tell me what is wrong
my kernel(2.6.9) is patch with imq(linuximq.net) and my iptables(1.2.11) also
#flush
tc qdisc del dev eth0 root
tc qdisc del dev eth1 root
tc qdisc del dev imq0 root
tc qdisc del dev imq1 root
ifconfig imq0 down
2005 May 14
1
Strange HFSC behavior - bug? my misconfiguration/lack of knowledge?
Hi
I''m moving to hfcs (mostly succesfuly:) ), but I''ve encountered a strange
problem: When I download something from this server using wget (one thread)
via an idle uplink, I get no more than 130 kbit/s, and when I''m using
prozilla (or start more wgets), I get about 200 kbit, but still it''s not all
the link can do (240) - the rest remamins unused.
Is this
2002 Jul 12
1
IMQ crash dump
Hi
I try setup imq pseudo device for shaping
I''m work such script
#!/bin/sh
TC=/sbin/tc
/sbin/modprobe imq numdevs=1
/sbin/ip link set imq0 up
$TC qdisc add dev imq0 handle 1: root htb default 1
$TC class add dev imq0 parent 1: classid 1:1 htb rate 10mbit
# client1 tunnel tunnel
$TC class add dev imq0 parent 1: classid 1:2 htb rate 256kbit
$TC filter add dev imq0 protocol ip parent 1:0
2006 Mar 05
2
ATTN Andreas Klauer: ASCII art + comments, please?
Andreas,
Since I understand your ASCII art and comments, I would very much
appreciate it if you would draw what you see and criticize the
following. Hopefully I''ll better understand after that!
TIA,
gypsy
tc qdisc add dev imq0 root handle 1: htb default 20
tc class add dev imq0 parent 1: classid 1:2 htb rate 4522kbit ceil \
4760kbit burst 16k cburst 16k quantum 1500
tc class add
2004 Jun 24
1
Ingress shaping using IMQ
Hello people,
This the first time i post in list.
I read the lartc how-to and decided that IMQ with HTB was the solution to
solve my problem.
The ingress shaping i want is simple, shape the traffic to my ftp-server,
i just want to give 8kbps to each client because they only upload to my
ftp-server, and i dont want to any class borrowing, each client only
send(upload) at 8kbps, not above this
2002 Nov 12
1
pb with imq
hi stef
oone more pb while shaping incoming traffic with imq .this one
tc qdisc add dev imq0 root handle 1: htb default 20
tc class add dev imq0 parent 1: classid 1:1 htb rate 2mbit burst 15k
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 1mbit
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 1mbit
tc qdisc add dev imq0 parent 1:10 handle 10: pfifo
tc qdisc add dev imq0 parent