similar to: Question on TC filter

Displaying 20 results from an estimated 10000 matches similar to: "Question on TC filter"

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
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
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 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
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"
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 Aug 05
1
Question on FW and htb
Hi, I''ve try to use htb to limit outgoing traffic but it seems that it doesn''t work. I guess the probem is the filter. Here is my script. #!/bin/sh echo "Add root qdisc, default traffic go to 1:30" tc qdisc add dev eth1 root handle 1: htb default 30 tc class add dev eth1 parent 1: classid 1:1 htb rate 100mbit burst 15k tc class add dev eth1 parent 1:1 classid 1:10
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 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
2002 Oct 31
6
ipac/iptables + mrtg accounting
i''ve installed mrtg to make graphics of the trafic from the interfece throw the snmpd, and the same with ipac witch put iptables accounting rules colect them and store, and gets the output, but the "problem" is that ipac graphics are 3 times smaller that the snmpd. Why??? i did catch all the trafic with ipac so no problem here, and i know that ipac/iptables is at level 3, and
2004 May 24
5
monitoring classes
Greetings all, I''ve been searching high and low for any inkling of how people are monitoring classes for long term usage data. I''m thinking something along a script to collect the data for mrtg or perhaps even an snmp module that would present them as interfaces to be polled....has anyone done any work in this area? John Dunning Assistant Director Net & Tech Svcs Wayne
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 May 30
3
traffic control on ppp interfaces
the question is simple. can i shape ppp interfaces using htb? thanx regards lucas -- ___ /\ \ __ __ _______ _____ _____ \ \ \ /\ \ /\ \ / _____\ / ____ \ /\ ___\ \ \ \_____\ \ \\_| \\ \____/_ /\ __ \\ \ ____ \ \ \_______\\ \______ / \ ______\\ \__\_/\__\\//\_____\ \/_______/ \/_____ / \/______/ \/__/ \/__/ \/_____/
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 17
5
WonderShaper on LAN link kills to-host speed
I tried installing the WonderShaper on my internal link, mostly to get the SFQ installed. I set uplink and downlink to 100000 to match the link speed and changed the bandwidth on the cbq line to 100mbit. This killed transfer speed *to* the box, knocking it from 30-40 Mbps down to about 800 kbps. Commenting out just the ingress control restored the speed. What about the ingress policer would do
2003 May 15
5
cbq vs htb?
Hello, Does anyone know when one should use cbq versus (simpler more accurate) htb? Specifically does cbq have added functionality that may be of interest to certain applications? from htb home> Both CBQ and HTB help you to control the use of the outbound bandwidth on a given link. Both allow you to use one physical link to simulate several slower links and to send different kinds of
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
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
2003 Jun 12
9
HTB and TC on MAC addresses
Hi I''ve searched the archive for a solution where I want to limit/shape WLAN users. I only know''s their MAC, because they get their IP from dhcp. > Why not, just use negative offsets with U32 to access >the 14-byte eth frame header before the IP header: > >Decimal Ofs Description >----------------------------------- >-14: DST MAC, 6 bytes >-8: SRC MAC, 6