similar to: problems with u32 fiter

Displaying 20 results from an estimated 4000 matches similar to: "problems with u32 fiter"

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
2005 Feb 02
8
can''t understand strange PRIO behaviour
Hello everybody, sorry for bothering you, but after some hours, I''m stuck. I''m living in a student''s foundation where I want to connect lots of people to a tiny DSL link. We have exactly four types of traffic. We want a really hard PRIO solution (as I promised to someone that group X will only use the link capacity which isn''t used by group Y). I could make a
2006 Feb 10
3
htb root don''t reach ceil rate?
Hello, i have a htb setup where the root and (nearly) all child classes has a ceil rate with max up from my adsl line. But the root class don''t reach the ceil value but some childs are get a huge backlog. My setup: (tc -d class show dev ppp0) [cleaned a bit] ******************************************************** class htb 1:1 root rate 576000bit ceil 576000bit burst 30Kb/8 cburst
2005 Dec 04
6
tbf and prio blocking some flows entirely
I thought I had this all worked out, but it seems not. The following tc configuration: tc qdisc del dev ppp0 root 2> /dev/null > /dev/null tc qdisc add dev ppp0 root handle 1: tbf rate 120kbit burst 1200 limit 1 tc qdisc add dev ppp0 parent 1:1 handle 2: prio bands 3 tc qdisc add dev ppp0 parent 2:1 handle 10: sfq perturb 20 tc qdisc add dev ppp0 parent 2:2 handle 20: sfq perturb 20 tc
2005 May 10
1
Help with PRIO qdisc and filters
Hi, Sorry to bother you all. I have a typical problem sharing DSL upstream bandwidth with users. I have 3 types of traffic high-priority, medium-priority and low priority. My upstream rate is 960kbits. Traffic (any priority) can vary in bandwidth from 0 to 960kbits. I have a test setup where I can pump 600kbit of high priority sustained and I have 400kbit of low priority traffic sustained. I
2005 Oct 16
2
Lost packets and strange "behaviour" of my TC rules
Hi all. I''m going on my 3rd week trying to get a simple traffic shapping to work the right way :( !! My goal it to shape the traffic coming from one machine (pc1) to another machine (pc2) throught the "eth0" interface. My test configuration is as follows: PC1   IP: 192.168.105.237   Mask: 255.255.255.0   OS: Red Hat Linux Kernel 2.4.20-8   Rules:
2003 Jul 14
0
Why arent filteres working? (as I wanted)
Here goes the filter statements: #Initializing traffic control... tc qdisc add dev br0 root handle 1:0 htb #Loading queue disciplines for plis230 network... tc class add dev br0 parent 1:0 classid 1:1 htb rate 512kbit ceil 512kbit #Loading queue disciplines for pmad048 network... tc class add dev br0 parent 1:1 classid 1:20 htb rate 30kbit ceil 30kbit #server queue tc class add dev br0 parent
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
2006 Apr 09
2
tc counters "problem"
Hi, I''m using tc and HTB to shape my outgoing ADSL traffic. I was trying to make some graphs on the classes by meassuring the "sent bytes" of each class using rrdtool to store the data (as kbps after conversion). I expected that meassuring the root class I would get values similar that the ones I get measuring the interface counters but they differ by a large amount. Is
2007 Oct 25
7
TC (HTB) doesn''t work well when network is congested?
Hi, I have a server and ten clients in a Gigabit network. The server has 125mbps network bandwidth. I want that the server has 40Mbps bandwidth reserved for client 1 (IP 192.168.5.141), and the rest bandwidth is for all other clients. My script looks like this (I use IFB for incoming traffic): #!/bin/bash export TC="/sbin/tc" $TC qdisc add dev ifb0 root handle 1: htb default 30
2004 Oct 28
12
HTB: Problem with excess bandwidth distribution
Hello, I have a serious problem with HTB which I wasn''t able to solve myself. I run a masquerading router with ppp0 as interface to the Internet. Three clients need to share a downstream of 1 MBit, which I want to divide with tc. When I see a packet being forwarded to one of these clients, I give it the appropriate unique mark: iptables -t mangle -A FORWARD -d 192.168.34.141 -j MARK
2005 Jul 30
2
Qos wiht HTB for ADSL/Home
Hi, My home setup is as following: - 1024/128 kbit ADSL - FC3 I set up HTB to prioritize traffic. I am not very pleased with the obtained results. The scope of my setup is to have some ssh sessions with remote servers while browsing websites and running aMule Nothing complicated (I think... ;). The very high priority traffic (ssh), gets stuck when I start aMule and make an FTP download.
2005 Dec 05
1
Connmark question
I am trying to get IPP2P working on my router. Thus far I can see connections being marked (see below), but they don''t seem to get saved or something. When looking at /proc/net/ip_conntrack, nothing has anything other than 0 for mark. The iptables commands for this are: iptables -t mangle -A PREROUTING -j CONNMARK --restore-mark iptables -t mangle -A PREROUTING -m mark ! --mark 0 -j
2005 May 30
3
Question: traffic shaping (tc-htb)
Hello *! My trafficshaping (tc-htb) drops packets very early, at least i suspect this. It drops about 30% fo the packets. The traffic-generating appication is running locally on the shaping host. I think i can lower this rate by increasing the packet-buffer, because the locally application will slow down with increasing buffer (tcp/ip). But i can´t find any options for that, i cycled the manual
2002 Oct 17
18
why dont packets go where i want?
Dear All! I reach the point that I must ask you what I have to do. I am beginner at traffic shaping and I''m very confused with it. :) Here''s my script that doesn''t do what I want to do with it: tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1 htb default 2 r2q 10 tc class add dev eth1 parent 1: classid 1:1 htb rate 300kbit tc class add dev eth1 parent 1:
2005 Apr 05
0
Help Disecting kernel crash with ldisc
Hi Recently I upgraded my kernel to 2.6.11 (debian) and applied some patches from pom-ng (netfilter) and the iproute2-ss050330 package I have been experiencing a lot of crashes in the kernel (snip below) ================================== Apr 5 20:00:21 sydlxfw01 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000221 Apr 5 20:00:21 sydlxfw01 kernel: printing eip:
2007 Feb 01
0
tc filter Questions
I''m attempting to set up a hierarchy of tc qdiscs with filters, but the filters don''t seem to be working correctly.  I''m running iptables 1.3.5 with iproute 2.6.16.20060323 on a Gentoo 2.6.18 kernel.  The system takes all my tc setup, but does not filter packets as I am expecting it to based on my ruleset. My tc qdiscs and classes are added correctly and report as
2003 Oct 27
4
Need help with HTB
Hello, 1. I currently have a 128kbps cable link to the internet..and I''m sharing this connection with others. I''ve made the following script(for alocating bandwidth depending on the services used: browsing, squid, games like counter-strike, icmp, ssh), which unfortunately isn''t working very well as the response times I''m getting upon pinging the server
2007 Apr 25
0
problem with prio qdisc and tcng
Hello Mailing list, I have a problem with the prio qdisc and I don´t know what is wrong in my configuration This ist a sample configuration and looks like this: #include "fields.tc" #include "ports.tc" #define X16(i) i i i i i i i i i i i i i i i i dev ppp0 { dsmark { prio(bands 6, priomap X16($be)) { class if ip_proto == IPPROTO_UDP;
2005 Apr 05
10
ppp+vpn+htb
please, help, i have build vpn server (suse 9 + poptop), i have managed to implement tc htb in ip-up script, but every client has own ppp interface (ppp0, ppp1, ppp2...), and my idea is to share available bandwidth, not to limit connection, how to build root tc rule, when I have more then one interface?... please any one width experiance regards _______________________________________________