Displaying 20 results from an estimated 3000 matches similar to: "what''s wrong with the last line ?"
2003 Apr 03
6
tc problem
Hello..
I have a linux box and I want to make priority on traffic generated by my
LAN''s computers..
I don''t have a guaranted bandwidth, so I wanna use sfq...
I want to make traffic to port 80 , 443 , 25 & 110 PRIORITY 1
Traffic src or dest 192.168.0.2 to make priority 2
And the rest to put it in proiority 3..
I did the following :
tc qdisc add dev eth0 root handle 1:
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 >
2004 Jan 22
1
Puzzled why my scripts don''t give me the desired result
I am wondering if someone can examine why my set up does not give me the
desired result. What I aim to achieve is to make DNS, ICMP, POP3, HTTP,
SSH, SMTP traffic at a higher priority than FTP serving and Kazza traffic.
However, when the FTP server is busy servicing FTP traffic, web browsing
traffic has dragged to almost unusable.
Abstract of my iptables script follows:-
# Mark traffic on
2002 Dec 29
8
wondershaper + htb prio + qdisc prio
hello,
a friend of mine have this configuration:
10 x PC -- router/linux/rh8 -- ADSL Modem -- ISP
let''s say that the bandwidth is: 5M and 800K
he does dc++ and counter-strike, so let''s say the UP is full, and the
ping from the counter server is 300ms, the server cut the connection, and
no more game, the player is unhappy. The normal ping is 50ms.
so he thinks to put some
2002 Dec 14
1
kazza 80 port
I have blocked all high ports used by kazza but new kazza is going also now.
It is going on 80 port, it is possible in shorewall to block kazza ? Mayby I
should write some rules for 80 port ?
Maciek
--
----
Oferta jakiej jeszcze nie by³o!
Serwer www 60 MB za 99 z³ rocznie
Szczegó³y: www.oferta.alpha.pl
----
2002 Oct 16
3
flowid - classid ?
root@Delta:~# tc filter add dev ppp0 parent 1:1 flowid 1:5 protocol ip
Unknown filter "flowid", hence option "1:5" is unparsable
root@Delta:~# tc filter add dev ppp0 parent 1:1 classid 1:5 protocol ip
Unknown filter "classid", hence option "1:5" is unparsable
I don''t understand why it does not work. Can anybody explain me this problem?
--
2007 Jul 24
2
about default filter command
Hi,
here I have another newcomer question :-)
in the section 9.6.1 of this how too
http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.qdisc.filters.html
we can read commands about filters :
------------------------------------------
# tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match \
ip dport 22 0xffff flowid 10:1
# tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match \
2003 Oct 04
2
htb errors, wrong patch?
I downloaded iproute2-2.4.7-now-ss010824.tar.gz and I did patched tc with
the htb3.6_tc.diff from htb3.6-020525.tgz and when I try to use a htb script
I get just errors. I did not patch the kernel, since I use kernel 2.4.21 and
I saw on - HTB Homepage that I need to patch it only if I run version 2.4.20
or earlier. Do also need the kernel patch ? Or maybe is something else
wrong?
RTNETLINK
2007 Jul 26
2
Rép : about default filter command
Le 26 juil. 07 à 13:55, Georgi Alexandrov a écrit :
> Vincent Dautremont wrote:
>
>> Hi,
>> here I have another newcomer question :-)
>> in the section 9.6.1 of this how too
>> http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.qdisc.filters.html
>> we can read commands about filters :
>> ------------------------------------------
>>
>> # tc
2005 Jul 22
2
tc filter matching anything
Hey,
I have a problem adding a filter matching anything, here is my setup:
###############
tc qdisc add dev eth0 handle 1: root prio
tc qdisc add dev eth0 parent 1:1 handle 10: pfifo
tc qdisc add dev eth0 parent 1:2 handle 20: tbf latency 50ms rate \
128kbit burst 256kbit
tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 666 fw \
flowid 1:2
tc filter add dev eth0 protocol ip parent
2004 Aug 24
1
problems with tc
People,
I''m trying to set up the tc filters for a PRIO queue. I''m basing it off
of marked traffic via iptables. For example, I''ve marked two classes of
traffic with ids "2" and "4", and now I''m filtering those to bands 1 and
2.
tc filter add dev eth0 parent 1: prio 0 protocol ip \
handle 2 fw flowid 10:1
tc filter add dev eth0 parent 1:
2005 Jun 28
0
Re: Questin regarding HTB
Yes sure here they are:
The first one that i have received 2day and does not work almost at all:
#!/bin/bash
ETH_IN="eth1"
ETH_OUT="eth0"
BANDA_TOTALA="2Mbit"
# pentru neclasificati ar trebui sa fie banda minima - 1k - aici ar trebui
sa ajunga trafic necunoscut,
# care nu e organizat in shape-uri
BANDA_NECLASIFICATI="8kbit"
#Shape generale
/sbin/tc
2004 Sep 12
1
is ipp2p working (kazaa)
i am using ipp2p module (v 0.6) from
http://rnvs.informatik.uni-leipzig.de/ipp2p/index_en.html
I have tried it on kazaa and e-donkey connections.
Unfortunately, I am interesting in limiting kazaa traffic, which
this modules seems not to work right with it. (Kazza traffic is
not identified most of the cases....).
Has anyone tried this kazza bandwidth control???
2002 Nov 21
3
Problem with flowid filter example from howto
For simplicity, I tried this:
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10
tc qdisc add dev eth0 parent 1:3 handle 30: sfq perturb 10
tc filter add dev eth0 protocol ip parent 1: prio 2 flowid 1:1
The last line prints:
Unknown filter "flowid", hence option "1:1"
2007 Mar 20
1
TC Filter matching all
Hello!
I was always using "default" in HTB to choose default class, but now I
need to do it with filters. Tried following command:
# tc filter add dev eth0 protocol ip parent 10: prio 2 flowid 10:2
Unknown filter "flowid", hence option "10:2" is unparsable
It is from example in LARTC Howto.
My question is then - how to make a filter matching all without eating
2004 Aug 31
4
WRR problem and other things
Hello
I have problem with wrr and more than 1300 classes
when i try to add qdisc like:
tc qdisc add dev imq1 parent 1:21 handle 1000: wrr dest ip 1512 0
then i have a message like:
RTNETLINK answers: Cannot allocate memory
And some other problem:
When I do more than 2048 filters I have message like:
Classes:
tc class add dev imq1 parent 1:1 classid 1:9 htb rate 1024kbit ceil 2048kbit
..
tc
2007 May 08
5
limit bandwidth per host question
EHLO tc gurus.
New to traffic control. Unfortunately, the politicians here in Denmark
have decided that a PC is the same as a television set - so anyone
owning a PC and internet connection of over 255 kbit/s must pay DKR
2200/year = EUR 300 = USD 400 in television licence fees :-( This is a
lot of money for poor students, so we want to offer the students the
*option* of limiting their
2004 Aug 24
0
Filter problem
Hi !
I want to share my bandwidth between 10 computers. I want to redirect
computer A(192.168.1.4) to htb class 1:2 and the others to htb class 1:3.
But the
last tc filter doesn''t work :
Error message : "Unknown filter "flowid", hence option "1:3" is unparsable.
"
I know the option "default" for htb but I don''t want to use it for some
2002 Apr 07
0
problem deleting filters
I have setup some qdiscs and filters more or less straight from the howto.
they work pretty good. however, when i delete one filter or all of them,
they all appear to be deleted (as shown by "tc filter show dev ppp0").
the real problem is, that as soon as i recreate a single filter, all the
deleted filters reappear along with the new one. thus i have an ever
increasing set of filters.
2005 May 16
1
Rules OK (?), no filtering...
Hi
I have defined a single HTB qdisc on eth0 with one root class 1:1 further subdivided as below, nothing complicated.
1: (root qdisc)
|
|
1:1 (root class)
/\
/ \
/ \
/ \
/ \
1:10 \