similar to: Question: Rate Limiting Per Subnet

Displaying 20 results from an estimated 6000 matches similar to: "Question: Rate Limiting Per Subnet"

2003 Sep 04
3
CBQ Rate
Hi everyone, This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at 10Mb/s. The purpose is to test CBQ Here is my script ------------------------------------------------------------------- # Root qdisc tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \ avpkt 1000 cell 8 # Classes tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \ rate 5Mbit weight
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
Dear list, I have the problem that child classes don''t seem to issue the parent class to borrow from their parent. This is a simplified version of my script: tc qdisc del dev $DEV root tc qdisc add dev $DEV root handle 1: htb default 10 tc class add dev $DEV parent 1: classid 1:1 htb rate 10mbit tc class add dev $DEV parent 1:1 classid 1:10 htb rate 1kbit ceil 512kbit #groups tc
2004 Nov 01
1
Big problem :(((((
Hello! I have an internet connection of 64kbps garanteed in a channel of 256kbps. On this connection the metropolitan speed is 10Mbps and in the provider''s network the speed is 100Mbps. I have a few clients behind my linux box and i want to set up some limitations because some of them are using it irrational. I am marking the packets with 0 for internet; 1 for metropolitan 2 for
2005 Mar 12
0
I want to bring down the HTB rate to 3kbit-r2q? quantum?
Hello Stef, I am working on a Bandwidth management project as part of my college curriculum.I am running TCNG 10-b but I am not able to classify packets based on MAC address using tcng, so I am running tc commands in /tcng/bin and they are working. But is there a way out to classify packets based on MAC address using TCNG. And, I am successful in throttling down the Bandwidth to 8kbit
2005 Nov 25
1
Difference between snmp traffic rate, and rate from tc
Hello, I use rrdtool to graph the traffic in the different classes on an interface, eth1. Basically, I use the output from tc -s qdisc ls dev eth1 my tc script (which is only for testing the graphing) looks like this: /sbin/tc qdisc add dev eth1 root handle 1: htb default 20 r2q 1 /sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 200kbit burst 15k /sbin/tc class add dev eth1 parent
2005 Mar 15
1
how to bring down htb rate to 3kbit?
Hello Everybody, I am successful in throttling down the Bandwidth to 8kbit using HTB. Below that I get report to change r2q. I want to bring down the Leaf class Bandwidth to 3kbit. My script is as below: Tc Script to throttle down the Bandwidth to 8kbit based on MAC address and IP address tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1:0 htb default 30 r2q 1 tc class add
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
2003 Feb 19
0
limiting users on a 128kbit line
Hello! I''ve been trying to write a traffic shaper for a 128kbit line with this setup : 5 computers that get dedicated bandwidth and the rest go in a pool with bigger priorities. I made the attached script, but it seems it doesn''t work... It sends the traffic coming from the dedicated ips to the default class. Where is the error ? Will this setup work if the bandwidth is
2003 Jun 03
1
tc usage
Dear List, I am a tc newbie, and I''ve been working through the LARTC HOWTO to try to understand how qdiscs, classes, and filters fit together. I was confused by the example in section 9.5.5.1 (see excerpt below). I thought that classes were could only be attached to qdiscs (classful ones). In the example, however, classes are being attached to other classes. Can anybody explain to me
2004 Apr 01
2
Need help with rate-limiting NTTP traffic
Howdy all, I posted this message to the netfilter mailing-list and didn''t get much response. I apologize if anyone here is getting this for a second time. Anyway, I recently migrated my firewall from a FreeBSD box running ipfilter, ipnat and dummynet to a Gentoo Linux box running netfilter and tc. I have to admit that I''m having problems visualizing tc in my head. So, I was
2004 Apr 21
0
Why cant I see the parent of a qdiscs?
Hi When I list all the qdisc with tc command it is not possible to see the parent of the qdisc. An example by the book. # tc qdisc add dev eth0 root handle 1: htb default 30 # tc class add dev eth0 parent 1: classid 1:1 htb rate 6mbit burst 15k # tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit burst 15k # tc class add dev eth0 parent 1:1 classid 1:20 htb rate 3mbit ceil 6mbit
2007 Sep 19
1
major packet loss with htb
Hi, got a 25/25Mbit connection which is quite stuffed. So I applied htb rules. Uplink: class htb 1:1 root rate 24500Kbit ceil 24500Kbit burst 4661b/8 mpu 0b overhead 0b cburst 4661b/8 mpu 0b overhead 0b level 7 Sent 430600689269 bytes 730147320 pkt (dropped 0, overlimits 0 requeues 0) rate 23057Kbit 5520pps backlog 0b 0p requeues 0 lended: 199673949 borrowed: 0 giants: 0 tokens: -964
2005 Dec 14
3
exact rate
Hello I am using htb (krenel 2.6.14.3 + esfq patch from fatooh.org) to limit the bandwidth. But I want the absolute maximum rate to be for example 5Mbit and not to exceed it. here is the script: $tc qdisc add dev ${NETIF} root handle 1 htb r2q 4 $tc class add dev ${NETIF} parent 1: classid 1:21 htb rate 5Mbit ceil 5Mbit $tc class add dev ${NETIF} parent 1:21 classid 1:101 htb rate 2Mbit ceil
2004 Aug 18
0
HTB prio question
Hi all. I have a bridge running Linux 2.4.24 that I use as a bandwidth manager on a broadband wireless network. I''m using HTB and SFQ to prioritize that share bandwidth on a per-cell basis. My IP tables rules divide the traffic based on IPand traffic type (using layer-7 filter and ipp2p). My goal is to make sure that p2p traffic on the network doesn''t sink all of the
2004 Apr 09
2
Bandwidth limiting for each computer in subnet
Dear members I''m new to this list and also new to tc command. I have a subnet with over 30 pc which have ip addresses from 172.16.1.1/16 range.I want that each computer in my subnet can work with internet with maximum 6k for download and maximum 6k for upload.when i run the following tc commands from my bridge the first pc works well but the second pc can not work with 6k and it has an
2005 Nov 02
0
TC not rate limiting for me
Hi, I''ve have my IP and TC scripts working OK but my rate limiting does not seem to be being appiled. My available download speed is around 150kbps. I''d like to limit this box and the machines it forwards for to 10kbps each, a total of 20kbps. Thus leaving 130kbps unused. The classes I''ve created are simple and the stats show they are moving bytes OK, however; the
2005 Sep 30
3
Ceil Rate
Hi all, I just recently began using HTB to try and manage bandwidth for my network. This is the script I''m using: /sbin/iptables -t mangle -A FORWARD -o eth1 -s ! 192.168.244.2 -j MARK --set-mark 53 tc qdisc add dev eth1 root handle 1: htb default 20 tc class add dev eth1 parent 1: classid 1:1 htb rate 100mbit burst 131072k quantum 59000 tc class add dev eth1 parent 1:1 classid 1:10
2004 Oct 12
0
ssh and cs LAG
I have htb on 486 sx with 16mb ram. Slackware 9.1. Connection : dsl 1Mbit. 486 works as router and trafic shaper for network made of 12 pc''s. it does the job quite well, but when i play Counter-Strike or connect to my 486 via ssh (on lan), i get huge lag every 11-20 sec. when i connect to 486 via ssh and run iptraf program i see all the trafic, and after a while when lag comes the
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 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
Hello all, I am trying to configure a linux box to make some QoS into my netowork and, at the same box, control my clients bandwidth. I have this classes created: ---------------------------------------------------------------- UP="eth0" # wan infocontabil DL01="eth2" # lan clientes $TC qdisc del dev $DL01 root 2> /dev/null >