similar to: new to TC need help

Displaying 20 results from an estimated 4000 matches similar to: "new to TC need help"

2006 Jul 20
1
QoS doubt about network machine
Hello all, I am with a doubt about QoS solution... I have a 4 Mbit backbone coming from the telco I use... This is the link I serve to my clients, so I make this classes: $TC qdisc add dev $DL root handle 1: htb default 60 CLASS="/sbin/tc class add dev $DL parent" $CLASS 1: classid 1:1 htb rate 4096Kbit $CLASS 1:1 classid 1:10 htb rate 256Kbit ceil 3072Kbit burst 15k $CLASS 1:1
2006 Feb 05
1
htb prio ...
Hey, I have such a script: tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2 tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil 512kbit tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil 1024kbit tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit
2007 Aug 19
0
HTB qdisc within HTB root qdisc
Hello... Im trying to setup HTB to allow me to shape traffic from two upstreams that meets on single lan0 interface. I prefer to use HTB qdisc within HTB root qdisc for cleaner rules design. Seems that it doesnt work at all. tc -s class show doesnt show any traffic on other classes attached to HTB qdisc. Linux 2.6.20.7 iproute-2.6.20-070313 Weird thing is that tc -s class show that 1: and 2:
2006 Apr 07
9
u32 and iptables do not work together
Hello all, I am trying to make a filter into my QoS rules and I founded that when I try to use filters u32 and with fwmark they do not work together. This is the filter I use, just and example, for u32: $TC filter add dev $DL parent 1:0 protocol ip prio 1 u32 match ip sport 22 0xffff flowid 1:10 This is working fine. Now if I try to mark a package that I want it to go to the same
2006 Jul 14
1
how different qdisc at root and leaf working???
i doubt about ruleset in mastershaper demo about why use hfsc at leaf class but inner class use htb??? how different for manage traffic like it???? /bin/false qdisc add dev eth1 handle 1: root htb default 1 /bin/false class add dev eth1 parent 1: classid 1:1 htb rate 2048Kbit ######### Incoming Rules ######### chain HB /bin/false class add dev eth1 parent 1:1 classid 1:21 htb rate 128Kbit ceil
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
Hello i''m having some issues trying to match packets using iptables mark, iproute filter and tc filter.- i mean, when i do iptables -t mangle -A INPUT -p tcp --dport 80 -j MARK --set-mark 20 iptables -t mangle -A PREROUTING -p tcp --dport 25 -j MARK --set-mark 10 iptables -t mangle -A FORWARD -p tcp -i eth0 -o eth1 --dport 25 -j MARK --set-mark 10 $TC qdisc del dev $INET_IFACE root $TC
2006 Apr 05
5
QoS - Ping problem
Hello all, I have set my QoS solution and now I am facing a little problem... When I ping to my server it has some lost packages: Estatísticas do Ping para 172.30.0.1: Pacotes: SENDED = 1029, RETURNED = 880, LOST = 149 (14% de perda), Aproximar um número redondo de vezes em milissegundos: Mínimo = 0ms, Máximo = 686ms, Média = 105ms If I disable my QoS ping stats to be ok. I even have
2005 May 08
1
tc/htb QoS script
hello folks, this is my first post to that list. so I hope I am not completely OT here :-) reading the (excellent!) lartc and then writing my own qos-script I have still some open questions which I will try to formulate now: - "Now we can optionally attach queuing disciplines to the leaf classes. If none is specified the default is pfifo." - I can''t find info about Pfifo.
2006 Jun 27
0
tc filter problems, please help...
Hi Guys, I have a couple of problems that are driving me nuts. This is the script I am using to setup restirctions and bw limitations: #Adding root class. tc qdisc add dev eth0 root handle 1: htb default 10 &>/dev/null tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit ceil 100Mbit burst 2k quantum 1536 tc qdisc add dev eth1 root handle 1: htb default 10 &>/dev/null tc
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 >
2005 Apr 28
1
Packets Going to default class
Hi I have tested with FC3 but iam not able get any good results on that. in the list some one recomend me that > 3.17 HTB should work I saw latest FC4 test2 has the HTB 3.17 with iptables 1.3.0 i have install in my P4 box, and trying to test when iam uploading its working perfect, but when iam downloading its going to default class can some one experinced the same problem below is the my
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
Dear list, I have the problem that child classes don''t seem to issue the parent class to borrow from their parent. This is a simplified version of my script: tc qdisc del dev $DEV root tc qdisc add dev $DEV root handle 1: htb default 10 tc class add dev $DEV parent 1: classid 1:1 htb rate 10mbit tc class add dev $DEV parent 1:1 classid 1:10 htb rate 1kbit ceil 512kbit #groups tc
2005 Dec 15
3
tc strange behaviour
hi all, I''m trying to do the following: tc qdisc add dev eth0 root handle 1: htb default 15 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 1mbit tc class add dev eth0 parent 1:1 classid 1:15 htb rate 512kbit ceil 1mbit what I expect: limit outgoing traffic to 1mbit, start rate is 512kbit and let it grow up to 1mbit (correct me if i''m wrong here) so, here is the problem
2006 Jan 12
1
Qos and bandwidth control
hi everybody. im trying to set up an QoS config, using layer7 (http://l7-filter.sourceforge.net/) for protocol detection. im suposing 3 clients with this configuration: 3 clients: 1.2.3.1 , 1.2.3.2 , 1.2.3.3 1.2.3.1 has 256kbit bandwidth "guaranteed" clients 1.2.3.2 and 1.2.3.3 has 256kbit bandwith so im marking every packet using layer7 iptables module, classifying them in three
2003 Jan 06
1
strange htb behaviour
Hello List, I use HTB in a ~80 users serving router with kernel 2.4.20. eth0 is the internet interface (half-duplex 1Mbit), eth1 the internal interface (100Mbit full duplex) cause of the fact that the router also serves as a http-proxy (squid) i thought setting up the default class on eth1 with the real upload-speed (100Mbit) would do the job, i.e. shaping normal stuff to 1Mbit except local
2006 Apr 05
0
Configuration of my QoS ruleset (now working fine with u32 classifier)
Hello all, As I have promised I am sending my QoS rules. This now works fine with u32 classifier (and parent 1:0 that I could not understand why it did not worked well before). Att, Nataniel Klug ------------------------ #!/bin/sh #------ # Script de QoS Cyber Nett #------ # Nataniel Klug # suporte@cnett.com.br #------ TC="/sbin/tc" IPT="/usr/local/sbin/iptables"
2005 Apr 06
4
Games and QOS on share connection line
Hello. I''m newbie with QoS. I read some articles and I have a question on You. If you have time to spare, it would be great if you reply. Here is my problem. I''m on wireless network(no earnig comunity). We got 2/2Mbit(soon 4/4) for 100 people(sharing link). Not long ago people start screaming that their games don''t work good(lagging). So I add to our qos class games
2007 Jul 08
0
Troubles with tc/iptables - per TCP session tc
Hello, I have read most of the relevant emails already posted to the LARTC mailingilist and I have not found a solution to my problem. What I am trying to do is: limit the HTTP output traffic to 30Mbps and also to limit each HTTP connection at 512Kbps, if the client downloads more than 1MB. I have managed to limit the total traffic but not the traffic of each HTTP connection. Here it is my
2005 Oct 14
0
tc filter not filtering -or- what am I going wrong?
Dear All I am trying a very simple set up: (a bit long message follows) #Flush previous definitions $TC qdisc del dev $VVNET root >&/dev/null $TC qdisc del dev $INTERNET root >&/dev/null $IPT -t mangle -D PREROUTING -i $INTERNET -d 200.231.56.0/24 -j IMQ --todev 0 # Mothers off all disciplines $TC qdisc add dev $VVNET root handle 1: htb default FFFF r2q 1 $TC qdisc add dev
2004 Dec 28
1
Newb question: tc shedulers on 2 interfaces
Hi all! I''m new to this list, and hope for some clarity in this matter: I have a home-gateway with linux-2.6.9 and iproute2 (ver:2.6.9). My following tc syntaxes. # eth0 internet scheduleing are: tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1: classid 1:1 htb rate 512kbit burst 6k tc class add dev eth0 parent 1:1 classid 1:10 htb rate 512kbit burst