similar to: HTB and tc filter

Displaying 20 results from an estimated 2000 matches similar to: "HTB and tc filter"

2006 Sep 10
1
help with HTB and tc
Help me  ... I try use the tc filter, but seems he doesn''t work, I already reconfigured my kernel ( 2.4.32 ) with all options related a QOS enabled ( like modules ) and nothing happens. I get the tc tool from HTB source package, well  this is my set : eth0 is my internal NIC. tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1: classid 1:1 htb rate
2002 Jun 06
1
parameter of htb
tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1: classid 1:10 rate 30kbps ceil 100kbps burst 2k tc class add dev eth0 parent 1: classid 1:11 rate 10kbps ceil 100kbps burst 2k tc class add dev eth0 parent 1: classid 1:12 rate 60kbps ceil 100kbps burst 2k tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 172.16.11.2 flowid 1:10 i login
2006 Feb 24
4
why isn''t 1:1 getting the traffic? [filter question]
With the below script, whenever I ping 10.0.16.10 (which matches the only filter I have), traffic still get''s sent to the default 1:2 class instead of 1:1 and I don''t know why... Any hints? (kernel 2.6.12, iproute2-2.6.15) tc qdisc del dev eth0 root > /dev/null 2>&1 tc qdisc add dev eth0 handle 1: root htb default 2 tc class add dev eth0 classid 1:1 parent 1: htb rate
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 Dec 04
3
HTB/IMQ troubles (probably)
Hello, I use HTB with linux-2.4.20-ac1 and iptables-1.2.7a (pathced for IMQ). I configured one HTB qdisc on an IMQ device. This qdisc has some classes (about 5) and all of the classes has qdisc pfifo. I sometimes got out from my linux (while I was working) and I found in logs: Dec 4 11:49:27 core kernel: HTB init, kernel part version 3.7 Dec 4 11:49:28 core kernel: HTB: quantum of class
2001 Jun 26
1
prio fighting
Hi, I have done this setup to give the machine 192.168.1.4 (masqueraded over dialup) the highest priority: #! /bin/bash WHAT="add" iptables -A PREROUTING -i eth0 -s 192.168.1.1 -t mangle -j MARK --set-mark 1 iptables -A PREROUTING -i eth0 -s 192.168.1.4 -t mangle -j MARK --set-mark 4 tc qdisc $WHAT dev ppp0 root handle 1: prio bands 3 priomap 0 1 2 tc qdisc $WHAT dev ppp0 parent 1:1
2006 Mar 13
3
hfsc and dropped packets
Hi, I''m trying to get a handle on hfsc. Here is my configuration: root@jmnrouter:/jmn# tc class show dev vlan1 class hfsc 1: root class hfsc 1:1 parent 1: ls m1 0bit d 0us m2 225000bit ul m1 0bit d 0us m2 225000bit class hfsc 1:10 parent 1:1 rt m1 191000bit d 25.0ms m2 135000bit ls m1 0bit d 0us m2 135000bit ul m1 0bit d 0us m2 225000bit class hfsc 1:20 parent 1:1 rt m1 22008bit d
2005 Mar 11
4
HTB statistics
Hi, there is something I''m not able to understand about HTB statistics. Why the qdisc show show how many packets are overlimits but in the classes there are always 0 packets overlimits or dropped? I try to expain with a simple example. I create a qdisc htb with only a class and then i do a lot of traffic. pc-innocenti:~# tc qdisc add dev eth0 parent root handle 1: htb default 10
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
2007 May 26
1
Problem with the tc statistcis
I had a linux wireless router. I would like to monitor the queue lengh of the wireless interface. By default, the wifi0 interface is with pfifo_fast qdisc which does not report backlog packet. I replaced pfifo_fast with pfifo: ''tc qdisc replace dev wifi0 root pfifo'' Then I use iperf to send UDP pkts faster than the interface can handle but when I read the qdisc, the result is
2004 Aug 04
10
htb and fw problems
Dear All, I''m using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and gentoo. I have a leased-line 64 kbps. I can see the counter works in iptables, but in the htb, it doesn''t go to the right class (it always go to the default class). Any help will be appreciated here''s my htb conf #!/bin/bash tc qdisc del dev eth1 root tc qdisc add dev eth1 root
2005 Oct 06
1
HTB problem running on VLAN, not working
Hello. I''m running linux box with Slackware 9.1 and compiled kernel 2.4.31 with "yes" to VLANs and "yes" to all QoS. On this box i have more ethernet interfaces: eth0 eth1 eth2 and so as more vlan interfaces: eth0.100 eth1.3 eth1.4 This is entrace(uplink) router to our whole network and my goal is to shape users on this machine. I want for this purpose use HTB so
2006 Mar 21
5
HFSC and default qdisc backlog
I don''t understand the following: root@jmnrouter:~# tc -s class ls dev vlan1 && tc -s qdisc ls dev vlan1 class hfsc 1: root Sent 0 bytes 0 pkts (dropped 0, overlimits 0) period 0 level 2 class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 220000bit ul m1 0bit d 0us m2 220000bit Sent 0 bytes 0 pkts (dropped 0, overlimits 0) period 31304 work 7533852 bytes level 1 class hfsc 1:10
2002 Jan 03
1
tc class show problem with HTB ?
Hi! I''m using 2.4.17 + htb2_2.4.16.diff now. But I found the tc class show command won''t show the correct infomation like before... I got something like: # tc -s -d class show dev eth0 class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: class htb 1: parent 1: # tc -s qdisc
2006 Sep 21
1
HFSC statistic show question
after i use "tc -s -d class ls dev eth0" will show statistic data about HFSC ,like this root@ubuntu:/home/shaper# tc -s -d class ls dev eth2 class hfsc 1: root Sent 0 bytes 0 pkts (dropped 0, overlimits 0) period 24 work 13844792199226589188 bytes rtwork 20937281664 bytes level 3461036864 class hfsc 1:11 parent 1:1 sc m1 30720Kbit d 10.0ms m2 30000bit ul m1 0bit d 0us m2
2006 May 19
25
iptables CLASSIFY and MARK not working?
I have to match my packets based on MAC address, which I cannot do in the POSTROUTING chain, so I do it in PREROUTING using MARK. Then, I match on the MARK in the POSTROUTING chain to do a CLASSIFY. But this does not seem to work: wireless-r1 bwlimit # iptables -L -v -n -t mangle Chain PREROUTING (policy ACCEPT 3353K packets, 941M bytes) pkts bytes target prot opt in out source
2007 Jun 14
16
PQ questions
Hi all, First, let me say I''ve been most impressed with how quickly and professionally people on this list ask and answer questions. Next, let me say that with which I need help is properly configuring strict PQ, and gathering certain stats. Specifically: - I need to create a priority queue with four queues (let''s say they are of high, medium, normal, and low priority) - I
2005 Jul 08
5
HTB Rate and Prio
Hi, I wanted to implement some QOS on my Linux Box with HTB, but after some time spend on the configuration and tests, I still don''t manage to have some correct results. Here are the details : -ROOT 2000 kbits -HIGHPRIO SUBCLASS 50 kbits prio 0 -SUBCLASS1 750 kbits prio 1 -SERVICE1 250 kbits prio 1
2007 May 19
1
Re: LARTC Digest, Vol 27, Issue 26
Hi folks...!!! I need to generate qdisc statistics to show my 4 class (10, 20, 30, 40), i`ve all working with HTB and so on, but i need to graph this results e.gwith RRDTOOL. I found a script made in perl, that can to graph my 4 class, but i need to know which IP address on my LAN are using the bandwidth too, in other hand i need to classify the traffic by IP to show. This is an out of my
2003 Jul 05
13
HTB doesn''t respect rate values
Hi, machine: AMD K6 200 MHz Linux distribution: Mandrake 8.1 kernel: compiled 2.4.21 applied this: #define PSCHED_CLOCK_SOURCE PSCHED_CPU in file linux/include/net/pkt_sched.h bevore compiled the kernel (described on http://www.docum.org/stef.coene/qos/faq/cache/40.html) bandwitch on eth0: 128kbit The most simple configuration - 122kbit guaranted for WWW (sport 80) and