similar to: Probelm with TC commands

Displaying 20 results from an estimated 10000 matches similar to: "Probelm with TC commands"

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:
2003 Jun 06
4
tc show error for ingress
Hi, I am trying to do both ingress and egress bandwidth management on a bridge. eth0 is the WAN interface. IPTraf shows that the following script is running successfully and it limits bandwidth both ways to 256 KB However when I want to see the statistics using tc - it only shows me stats for htb class and not for ingress class. The tc output is as follows: tc -s -d class show dev eth0 class
2003 Jan 10
4
Question on TC filter
Hi, I want work out a GUI interface for htb and now here comes to the part about adding and removing classes and filters. Here is an example script. TC="tc" DEV="dev eth1" echo "Add root qdisc, default traffic go to 1:30" $TC qdisc add $DEV root handle 1: htb default 30 echo "Divide the traffic into different classes and levels" # -------- level 1
2002 Dec 31
3
[tcng] More complex example?
Hi I''m completely stuck with the tcng language - I assume there must be some way to arrange queues hierachically like eth1 | TBF | PRIO / \ class class but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no classes near "prio"" when run through tcc. dev eth1 { egress { tbf (rate 128kbps, burst 64kb,
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"
2002 Dec 01
2
a question about tc filter
hi, all i run the following scripts : tc qdisc add dev eth0 handle ffff: ingress tc filter add dev eth0 parent ffff: protocol ip \ pref 4 u32 match ip dst 10.0.0.1 flowid :1 my question is : can i know how many packets are matched by this filter? if i can , what should i do to get this counter value, then. thanks :) _________________________________________________________________ MSN
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
2003 Jun 16
7
htb & bandwidth sharing
Hi everybody! I''ve been trying with htb and tc filter. It seemed to work fine, but after testing with ethloop I''ve realized that traffic is not being distributed through the leaves as I thought. When sending packets to 1:10 and 1:11 at the same time, there''s no bandwidth sharing. There''s no traffic through 1:11 until traffic through 1:10 has finished. Though
2002 Dec 03
4
Multiple classes
I''m trying to implement something similar the the diagram in section 9.5.2.1 in the LARTC HOWTO, but must have missed something somewhere :( I''m trying to hack up wondershaper, as it looked like a good place to start.. Here''s where I currently at, but I''ve tried alot of different things, all failing, some worse than others. The end result is to throttle back 126
2003 Jun 09
4
Some questions remaining about TC
Hello everybody, I try to work with TC for a little while in my study and there still are a few questions that I can\''t find any answer anywhere. Firts about qdisc and classes: - What is exactly the difference between qdsic and class ? They are so \"intimately tied together\" that i\''m not sure not make the difference. Why can\''t we have a qdsic HTB with
2002 Dec 07
4
Why my script doesn''t work ???
Hi All, I''m using iptables-1.2.7a on RedHat8 kernel 2.4.20. I wanted to limit the file-sharing traffic to the internet. I marked the packets with iptables: iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d ! 192.168.1.1/24 --dport 1024:1862 -j MARK --set-mark 1 iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d ! 192.168.1.1/24 --dport 1864:65535 -j MARK --set-mark 1
2003 Jun 14
15
herz the script that i have done.
Hello there, Having made quite a lot of expensive mistakes i have finally clobbered together a script for the users on my network. Have a look at it and please suggest as to how can i limit bandwidth to each ip on this network to about 64Kbits. Trevor -- ( >- GNU/LINUX, It''s all about CHOICE -< ) /~\ __ trevor@clovertechnologies.com __ /~\ | \) / Pre Sales
2002 Oct 21
9
help, a children can not borrow from a parent?
Hi ; MY script: tc-htb3 qdisc del dev eth2 root ipchains -F tc-htb3 qdisc add dev eth2 root handle 10: htb default 20 r2q 40 tc-htb3 class add dev eth2 parent 10: classid 10:1 htb rate 50Mbit burst 2000 tc-htb3 class add dev eth2 parent 10:1 classid 10:100 htb rate 12mbit ceil 50mbit prio 1 tc-htb3 class add dev eth2 parent 10:1 classid 10:20 htb rate 38mbit ceil 50Mbit prio 8 ipchains
2002 Nov 22
2
TC HTB Traffic Shaping
Hi guys, I''m new to TC HTB traffic shaping.... I installed it at my first try on my Bearing Leaf Router/Firewall I use the tc -s class show dev eth? To see my output All looks dandy and nice, but it''s figures, of which at current momment looks like French to me, I would like to see exactly what these figures looks like in a GRAPH style... I know I can use MRTG, I do have
2003 Aug 20
9
CBQ_bandwidth
Hi Stef, Reffering to page < http://www.docum.org/stef.coene/qos/faq/cache/7.html > I found a para as follows, " CBQ is not always as accurate as it should be. See docum.org on the test page for some tests with bounded classes. The algorithm used by cbq is very "link sensitive". It calculates the link idle time and for that it needs the real link bandwidth, average
2002 Aug 12
3
Question on hashkey
Hi, I''ve been working on hashing in tc for a month. Since there are only a limited number of avaialbe example on hashing, I''ll be appreciate if someone can my questions as follows: 1. tc filter add dev eth1 protocol ip perent 1:0 \ prio 5 u32 ht 800:: \ match ip src 1.2.0.0/16 \ hashkey mask 0x000000ff at 12 \ link 2: It seems that the hashkey make can only applied to ip
2003 Mar 24
11
How to do ensure bandwith
How to do ensure a class not lended and not borrowed each other. I do cburst burst 0b ,but ctokens tokens go to negative! --------------------------------- Do You Yahoo!? "更多惊喜,同样精彩,NetVista A30 热卖" --0-611462377-1048485942=:33792 Content-Type: text/html; charset=gb2312 Content-Transfer-Encoding: 8bit <P>How to do ensure a class not lended and not borrowed each
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 Aug 25
3
QOS and gameserver lags
Dear list, I have experimented some time now with HTB queues, and have received a lot of help from this list, especially from Stef. Thank you. My currect Shaper looks like this: http://www.designobjekt.de/test/rc.trafficshaper Unfortunately I still experience lags of this type: -players from the internet playing on my server feel lags -I feel lags when I play on a different server on the
2003 Oct 16
5
tc filter problem with 2.4.22
Hi, I have a problem with ''tc filter'' on a 2.4.22 kernel from Slackware 9.1 distribution. The tc command binary is from htb3.6-020525.tgz (http://luxik.cdi.cz/~devik/qos/htb) I''m trying the following command sequence: tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1 tc class add dev eth0 parent 1: classid 1:1 htb rate 1200kbit ceil 1200kbit tc class add dev