similar to: Question on HTB and police

Displaying 20 results from an estimated 20000 matches similar to: "Question on HTB and police"

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
2004 Nov 30
1
"tc class htb"''s and "tc filter police"''s rate
Hi, What is the difference between the rate values you specify in "tc class ... htb ... rate ..." and in "tc filter ... police ... rate ..."? Thanks in advance. Best regards. -- Value your freedom, or you will lose it, teaches history. ``Don''t bother us with politics,'''' respond those who don''t want to learn. -- Richard M. Stallman
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
2007 Feb 14
2
HTB policing affects shaping performance? Please, help.
This is my simple situation: I want to policy download and shape upload going through my router. It has two interfaces: eth0 (10.4.10.222/24 connected to LAN) and eth1 (172.16.0.1/24 connected to my laptop). My setup: [eth1] tc qdisc add dev eth1 root handle 1: htb default 999 tc qdisc add dev eth1 parent 1: classid 1:1 htb rate 1Mbit tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match
2007 Jun 18
1
Fwd: police burst is mandatory?
Hi. I''m using the following filter from lartc "ultimate PPP" example: tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \ 0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1 It works fine, but when I remove the "burst 10k", I receive the following error: "burst" requires "rate". Illegal "police"
2004 May 05
1
Re: [Fwd: Re: Simple HTB setup with tcng]
Thank you for your help. It generates this script : tc qdisc add dev eth0 handle 1:0 root htb default 2 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 75000bps ceil \ 75000bps tc class add dev eth0 parent 1:0 classid 1:2 htb rate 125000bps tc filter add dev eth0 parent 1:0 protocol all prio 1 u32 match u32 \ 0xa000001 0xffffffff at 12 classid 1:1 But I thought it was necessary to
2004 May 18
0
Policing IPv6 traffic
Simple police filter below works for IPv4 traffic, but not for IPv6 traffic. Tested with 2.4.26 and 2.6.6 kernel. Am I doing something wrong or is it bug? Same filter logic works with imq+htb for both IPv4 and IPv6 traffic. iptables -A PREROUTING -i eth1.101 -t mangle -j MARK --set-mark 0x101 ip6tables -A PREROUTING -i eth1.101 -t mangle -j MARK --set-mark 0x101 tc qdisc add dev eth1.101
2003 Feb 02
0
question about ingress police
Hi stef and all I want measure the policy perfomance for video traffic on mpls diffserv network. there are two different polices for video packet 1. Video packets that are marked that are over the limit are to be rejected at the edge router. 2. Video packets that are marked that are over the limit are to be downgraded as best effort and are sent through. Before video enter my mpls
2007 Nov 21
0
Problem with ingress policing on bridged device
I''m having trouble getting ingress policing to work on a bridged device. The bridge contains several interfaces: peth0, vif0.0, vif[1-7]0.1, vif[25].1 . (This is under xen, in case the vif''s didn''t give that away, so peth0 is renamed eth0.) The tc rules I have are: tc qdisc del dev peth0 root tc qdisc del dev peth0 ingress handle ffff: tc qdisc add dev peth0 root
2003 Aug 15
0
The woods never end with HTB
Hi, After spectacularly failing to get HTB to proportionately distribute excess bandwidth into multiple classes based on the rate, I decided to hack my requirements. Now I''m creating multiple classes with the sum of the bandwidths of the classes being equal to (OK, slightly less than) the link bandwidth. Scenario: Linux Router +------+ 256K
2004 Jun 28
0
Multiple police rates
Hi all, I''d like to have multiple polices in an interface with different src address, like that: tc qdisc add dev eth4 handle ffff: ingress tc filter add dev eth4 parent ffff: protocol ip prio 5 u32 match ip src \ 192.168.18.0/24 police rate 128kbit burst 10k drop flowid :1 tc filter add dev eth4 parent ffff: protocol ip prio 5 u32 match ip src \ 192.168.36.0/24 police rate
2004 Apr 22
2
ingress policing based on source address?
Hi all I''m new to this list, but not exactly to iproute stuff. I''d like to solve a specific problem with bandwidth coming from different external sources towards the internal network (also the other way around, but I figure that''s not so much a problem, since that is egress traffic shaping). The network looks like this: internet ------ ISP-------[shaping/router]
2006 Jan 25
4
tcf_action_destroy destroying
Hi,lartc I used iproute-060110 with iptables1.3.4 on gentoo 2005r1 kernel 2.6.14-5. I find some error messages in system logfile: HTB: quantum of class 10001 is big. Consider r2q change. HTB: quantum of class 10010 is big. Consider r2q change. tcf_action_init_1: successfull police HTB: quantum of class 20001 is big. Consider r2q change. HTB: quantum of class 20020 is big. Consider
2007 Oct 29
1
Some questions about HTB
Hello, I have installed a server with three physical ethernet links and some virtual interfaces: eth0 - 213.215.42.70 eth0:1 - 213.215.42.71 eth0:2 - 213.215.42.72 eth0:3 - 213.215.42.73 eth0:4 - 213.215.42.74 eth0:5 - 213.215.42.75 eth0:6 - 213.215.42.76 eth0:7 - 213.215.42.77 eth0:8 - 213.215.42.78 eth2 - 192.168.1.128 eth3 - 213.215.42.69 All traffic are routed by iproute2 and iptables
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.
2004 May 07
0
Re: LARTC digest, Vol 1 #1714 - 5 msgs
Hi I''m looking for a quick recipe for a newbie to control http traffic in my linux gw. My internet is overloaded already and vpn external clients are experiencing troubles (disconnecting in peak hours). Any suggestions ? Regards Guillermo Caracas/Venezuela On Thu, 2004-05-06 at 14:40, lartc-request@mailman.ds9a.nl wrote: > Send LARTC mailing list submissions to >
2006 Jan 13
0
HTB not shaping correctly ? (or bad scripts...)
Hello to everybody, We have an ADSL link with uplink speed of 530kbit, the goal is to divide the traffic into three classes, let say A, B and C. A data rate of 240kbps must be guaratee to class A. The remaing rate must be assigned: at least 180kbit to class B and at least 80kbit to class C. The unused band of class A must be given to class B and C (if needed) The unused band of class B must be
2003 Jun 16
1
RE: CBQ-wondershaper superior over HTB-wondershaper?
Hello Thilo, What did you find superior with CBQ-wondershaper over HTB-wondershaper? We have not been using wondershaper specifically but our simple tests so far seem to show that htb is much easier to configure for a given target shape (i.,e accurate) compared to CBQ. Torsten -----Original Message----- From: Thilo Schulz [mailto:arny@ats.s.bawue.de] Sent: Saturday, June 14, 2003 8:55 AM To:
2006 Apr 09
10
Trying to do some very simple ingress limiting, no success
Hi, I am trying to do some simple ingress limiting based on fwmark. I know the ability and sense to do INGRESS limiting is ehm... limited ;-) but still I want to try it. I tried several things. === 1 === tcq ingress handle ffff: tcf parent ffff: protocol ip prio 1 handle 1 fw police rate 12mbit burst 10k drop tcf parent ffff: protocol ip prio 1 handle 2 fw police rate 10mbit burst 10k drop
2004 May 06
2
imap problems
Hi, I''m really new to traffic shaping and try to implement the wshaper.htb script. I have a linux box that serves as vdr, mldonkey, samba, apache and mailserver (imap), connected to my LAN with 100mbit. I''m connected to the inet via adsl with a hardware router/firewall, got 384k downlink 64k uplink. When I have mldonkey running, imap (via Outlook) gets *very* slow (mails with