similar to: Problems with HTB. Help!

Displaying 20 results from an estimated 11000 matches similar to: "Problems with HTB. Help!"

2005 Dec 07
2
can the htb applied to http/ftp server not in the router???
can someone help me?? ------------------------- | server (http & ftp) | ------> 1.2.3.4 ------------------------- | | | -----> 10/100 MB LAN | | | ---------- | client | -----> 1.2.3.5 ---------- i want the client download file from http server with maximum rate is 30 kbps and download from
2007 Feb 09
4
need help with tc filters
Hi, I am attempting to set up some simple outbound shaping following the LARTC HOWTO. The HTB qdisc seems to work as the documentation says, but my filters don''t seem to be working. All of the packets go to the default queue regardless of what filters I set, it seems. (according to tc -s qdisc show) I am trying to get this working on my openwrt box (whiterussian rc6), but when
2005 Feb 06
2
problems with u32 fiter
hello to all i''m trying to set a filter but doesn''t want to work. i''ve set ut the qdiscs and the classes like this : tc qdisc add dev ppp0 root handle 1: htb default 20 tc class add dev ppp0 parent 1: classid 1:1 htb rate 120kbit tc class add dev ppp0 parent 1:1 classid 1:20 htb rate 30kbit ceil 120kbit tc class add dev ppp0 parent 1:1 classid 1:21 htb rate 30kbit ceil
2004 Jul 24
1
tc del filter troubles
hello, I have working htb system with about 1000 users. Until now I reload all rules at change, but it take too much time to apply. I cannot delete applyed filters. There is rules for one user: #!/bin/bash -v # Download shaper EX -> 2:20 /sbin/tc class add dev eth2 parent 2:20 classid 2:1775 htb rate 8000Kbit ceil 10000Kbit quantum 1514 /sbin/tc qdisc add dev eth2 parent 2:1775 sfq perturb
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
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:
2006 Feb 21
1
Shaping by IP''s
If in one time 3 IP adresses using internet. TC script: DEV=eth0 # LAN SERVER_IP=192.168.1.2 # eth0 ip address tc qdisc add dev $DEV root handle 1: htb default 255 tc class add dev $DEV parent 1: classid 1:1 htb rate 384Kbit quantum 1500 tc class add dev $DEV parent 1:1 classid 1:20 htb rate 128Kbit ceil 384Kbit prio 0 quantum 1500 tc class add dev $DEV parent 1:1 classid 1:21 htb rate 128Kbit
2007 Mar 20
3
Divide bandwidth between 4 groups of ip with the same rate
Hello, I have begun to use the tc scripts since 2 weeks ago, so I am beginner. I am trying to divide my bandwidth in 4 independent ones. Each of these sub-bandwidths is assigned to 4 different groups of ip. Bandwidth sharing is allowed. I put a Linux with two Ethernet card between the router and the LAN. Eth1 is the card connected to the router and eth0 is the one connected to the LAN. My ISP
2006 Apr 21
6
icmp latency question
Hi, Our company''s main line is quite busy the whole day and my shaping is working perfect, however even if I give icmp priority the pings still jump around quite a bit. We do have a backup line which hardly get used only if the main line drops. I''ve set ip rule to route all icmp through that and now the pings are perfect. Will this make a difference for the game players etc,
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
Hi, complete newb and I apologise for it. I have a setup where my linux box has multiple broadband connection where I am routing certain things over certain interfaces, currently 2 links eth2 is a 1500/256 and eth3 is a 512/512, eth0 is the link to the LAN for users. What I am trying to do is traffic shape the information going out eth0 to the local users by the interface the traffic arrived
2005 Jan 26
10
Ssh flow does not go into correct class. Help!
I''m a new comer. I have problems using tc+htb. I run the following commands, and expect outgoing ssh flow goes into 1:11. But actually it goes into default 12. What''s wrong? tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1: classid 1:1 htb rate 1000kbit ceil 2000kbit prio 1 tc class add dev eth0 parent 1:1 classid 1:11 htb rate 100kbit ceil
2005 Aug 09
4
Too slow computer?
Hello! I''ve put some questions on this list some weeks ago and I''ve got good answers. Thank you! Now I''ve finished my (beautyful) script and I ran it on my router... About my script: It routes packages based on their destination on the Internet. I have about 1650 preffered destination networks listed in some file. The script read this file and marks every package for
2002 Jul 26
2
RTNETLINK answers: Invalid argument, fwmark
I''m using htb classes on my firewall to queue traffic and implement different restrictions on different protocols. tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 190 tc class add dev eth0 parent 1: classid 1:3 htb rate 2mbit burst 30k tc class add dev eth0 parent 1:1 classid 1:90 htb rate 50kbit ceil 384kbit burst 5k tc qdisc add dev eth0 parent 1:90 handle
2006 Jan 08
2
HTB - not borrowing, not exceeding rate
Hello! I have a quite complicated setup. In my network on each interface there is bandwidth limitation for each user. Booth outgoing (on interface itself) and incoming (attached IMQ) traffic. There is main HTB class which limits bandwidth for whole interface and HTB subclasses for each user. Filtering is done with hashing filters. This setup was working correctly. But now in the network I
2007 Feb 18
3
Modifying traffic shaping rates according to the amount of active users
Hi, I''m trying to divide my bandwidth between different services, but I''d like to take into account the number of active users. For example, l want divide my bandwidth between HTTP and SMTP and guarantee HTTP 80% of the bandwidth. However, I have many users on my system (tens of thousands) and if only 1% of my active users are using HTTP (and the other 99% SMTP), I''d
2004 Jul 20
3
Fw: HTB - Really Big problem
----- Original Message ----- From: MichaƂ Joachimiak To: lartc@mailman.ds9a.nl Sent: Tuesday, July 20, 2004 3:45 PM Subject: HTB - Really Big problem Hello everybody! Since week i dig lists and www and can''t find solution for my problem. I''m using HTB 3.13 kernel 2-4-25 smp iptables 1.2.9. I''ve got situation like this: LAN------Linux Box(routing only)------- Linux
2005 Nov 11
6
action redirect and dummy interface
Hello i have some problems on 2.6.14 kernel dummy and iproute :) i have server with 2 nics : eth0 <> inet eth1 <> lan dummy0 (i want to shape incoming traffic from lan machine on this interface) my config: tc qdisc del dev dummy0 root tc qdisc add dev dummy0 root handle 1: htb tc class add dev dummy0 parent 1: classid 1:1 htb rate 100kbit ceil 100kbit tc class add dev dummy0
2006 Apr 10
1
Where is the documentation for IFB ?
Hi all, Can you tell me where is the documentation for the new IFB (implemented in kernels > 2.6.16). Thanks in advance! Nikolay
2005 Dec 04
3
Shaping per machine
I''m trying to shape each machine on an interface to 256k each, but I''m getting stuck and only able to shape an entire interface to 256k. What should I be doing differently here? tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100MBit ceil 100MBit tc qdisc add dev eth0 parent 1:10 handle 110:
2005 Jun 01
3
HTB on loopback gives a bit rate multiplied by 8
Hi, I am trying to use htb to limit bandwidth on loopback for traffic through particular port. Here is the script I am using. tc qdisc add dev lo root handle 1: htb tc class add dev lo parent 1: classid 1:1 htb rate 100kbit ceil 100kbit tc class add dev lo parent 1:1 classid 1:10 htb rate 50kbit ceil 50kbit tc class add dev lo parent 1:1 classid 1:11 htb rate 50kbit ceil 50kbit tc filter add