similar to: Need help with this simple CBQ setup NEWBIE

Displaying 20 results from an estimated 3000 matches similar to: "Need help with this simple CBQ setup NEWBIE"

2006 Dec 20
0
Need Help with this simple CBQ scripts
Hi Iam using the script below to limit usage for the computers on my lan with respect to download and upload I have a 256kb up and 256 kb down connection, I want limit the speed of each computer to 64kbyte down and 32 up as a maximum. The script below works however it limits the up and down of the whole specified network to 64/32 ... what do I have to edit so that the script handles the requests
2006 Dec 24
0
How
Hi Ive been reading, testing and applying what Iam reading in the LARTC tutorial for a couple of days, I do not wish to use ready made scripts because that means I will always come back and ask the same question again. So Ive been wondering if I have 10 computers and I do want to limit the download for each of those 10 computers to 10 kbyte per second. I would create a leaf class and match the
2006 Dec 24
0
How to classify packets per host on same class
Hi Ive been reading, testing and applying what Iam reading in the LARTC tutorial for a couple of days, I do not wish to use ready made scripts because that means I will always come back and ask the same question again. So Ive been wondering if I have 10 computers and I do want to limit the download for each of those 10 computers to 10 kbyte per second. I would create a leaf class and match the
2004 Dec 23
1
does the inbound traffic affect the outbound on 2 different interfaces
hey guys i am regulating the traffic to & fro by my network through a linux gateway , its behaving strange. i regulated Downlink to 2Mbps & UPlLINK to 500Kbps. both perform well when those are done independent i.e. one at a time but when i do both from a client system ..the downlink however continues at 2mbps but the uplink falls down to 100kbps? is something wrong with my script or
2005 Mar 17
0
cbq + gred doesn''t drop packets
Hi i have configured my server with cbq and gred. The problem is that the cbq doesnt drop packets. The cbq is configured at a rate of 500Kbit "qdisc cbq 4: rate 500000bit (bounded,isolated) prio no-transmit Sent 100103048 bytes 73933 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 24000 undertime 0 " The traffic that being generated is more than 5Mbit with the
2006 Aug 24
3
Help On Upload Limiting Using CBQ.init
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Guys Ive got an internet cafe on which I have a debian sarge box running. The Debian box acts as a gateway and it has masquerading on. I have 40 client PC and i do not want to assign more than 64k per pc for upload and the same is true for download too. Ive done alot of research and Ive read tutorials about CBQ and HTB. I found that CBQ.init is
2006 Feb 07
0
unable to get download restrictions working on an interface
I am using the following commands to restrict download on an interface vm01 /sbin/tc qdisc add dev vm01 root handle 11: cbq bandwidth 100Mbit avpkt 1000 mpu 64 /sbin/tc class add dev vm01 parent 11:0 classid 11:1 cbq rate 1.5Kbit weight 1.5Kbit allot 1514 prio 1 avpkt 1000 bounded /sbin/tc filter add dev vm01 parent 11:0 protocol ip handle 4 fw flowid 11:1 When i do a qdisc show and class show,
2007 Apr 17
0
RSVP questions?
Have a few generic questions about Kom-RSVP 1.) 11:00:05.175 WARNING: timer system overloaded, deviation is 30.080 sec - what timer is this referring to? System time? 2.) What is the relationship between the CBQ class created for RSVP traffic and the CBQ parameter that is in RSVP.conf? - ex. ### cbq qdisc ### tc qdisc add dev eth0 root handle 1: cbq bandwidth 10mbit avpkt 1000 mpu 64
2004 Aug 06
0
CBQ + 802.1Q VLAN
I need to shape traffic from some IP on one LAN, but I''m in trouble. There is a linux 2.4.26 connected to the Internet (eth0) / LAN(eth1) doing NAT. I''m using VLANs in the LAN Interface, that is connected to a 3Com SuperStack II in a 802.1Q tagged port. I want to create a class that will limit the traffic at 384Kbit/s. I want to create two leaf classes that limit the traffic at
2005 Jun 02
0
CBQ throughput and efficiency question
Hello all, I am testing CBQ and HTB these days and I got a lots problem which needs your help. It is a little long text :) Thank you! (All my test is based on Redhat Linux9.0) 1.Is isolated of CBQ working? I have read Mr. stef word that he never made cbq isolated work. 2. I have setup an environment to test cbq: one tcp flow which I should protect and a noisy udp flow who will eat much of the
2001 Jan 17
0
dscp marking
I want to set the DSCP field of the incoming packets. And then put them in the correct queues. I can mark the packets: iptables -A OUTPUT -t mangle -d 10.10.10.12 -j MARK --set-mark 1 tc qdisc add dev eth0 handle 1:0 dsmark indices 64 set_tc_index tc class change dev eth0 classid 1:1 dsmark mask 0x3 value 0xb8 tc filter add dev eth0 parent 1:1 protocol ip prio 1 handle 1 fw
2003 Jul 16
1
Problen in cbq , fw
Hi, In my LAN Iam trying to make following setup: - All the traffic generated by 10.0.2.1 should go to 10.0.2.11, If the destination of this traffic is internet than it should be placed on its interface eth1. Outgoing traffic on eth1 should be shaped.For this I am using fw filters and cbq. _______ 10.0.2.1 -------> 10.0.2.11(eth0 )----| A
2004 Jul 28
0
CBQ Problem
Hi. I want to shape traffic from some IPs in my lan, but I''m w/ trouble. I have a linux box connected to the Internet. In the other side of this box is my LAN. I want to create the following scenario: My root qdisc is attached to a 100Mbit/s NIC I want to create a class attached to this qdisc that will limit the traffic at 384Kbit/s. I want to create two leaf classes that limits
2007 May 04
0
RSVP RESV not seen
all: I"m just trying to create a simple rsvp session to familiarize myself with the protocol. I don''t ever get a rsvp RESV message only PATH AND PATH TEAR messages. There is a timeout but i''m not sure whats causing it exactly. Can anyone shed some light on why? All the configs and output are below. Please let me know if you need more information. Thanks. Jon Test
2007 Jun 08
5
CBQ + Layer7 x Emule
Hi All , My first message and I have a little problem with my FC6 box trying to block emule traffic using layer7 . Here my network : Internet --------- ADSL Router ------------------- FC6 Box -------------------- Emule Box external ADSL : Dynamic Internal ADSL : 192.168.254.1 external FC6 : 192.168.254.3 internal FC6 : 192.168.253.1 Emule Box : 192.168.253.3 I guess that everything
2001 Sep 27
0
Not bounded but almost....
Hi, I have a question about CBQ and wonder if I can make a class that are guaranteed 2Mbit but can borrow excess bandwith and only to specific rate. In my exampel below I want to guarantee the network x.x.x.x/y 2Mbit and they can borrow up to MAX 4Mbit. I have tried to create subclasses but it only works like bounded or not. # tc qdisc add dev eth0 root handle 10: cbq bandwidth 10Mbit avpkt
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
2002 May 30
3
cbq parameters
If I create a cbq qdisc as a leaf of a cbq class, the bandwith rate is the same of the root cbq qdisc or the rate of the cbq class? Does exist the parameter rate on the "tc qdisc add" for cbq command? tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 10mbit avpkt 1000 cell 8 tc class add dev eth0 parent 1:0 classid 1:3 cbq bandwidth 10mbit rate 50kbit allot 1514 cell 8
2006 Aug 28
4
Applying the same class to multiple interfaces
Hi All, I''m trying to do some traffic shaping on an ethernet bridge. Currently, I have the following setup working: ifconfig eth0 down brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth1 brctl stp br0 off ifconfig eth0 0.0.0.0 up ifconfig eth1 0.0.0.0 up ifconfig br0 up This creates a bridge consisting of eth0 and eth1. So far so good. I now want to use tc to shape traffic
2004 Oct 29
1
CBQ: sibling isolated-classes lend out bandwidth
How can it be, that class 1:3 in my case borrows, when all sibling classes are isolated ? nessus:~# tc -s -d class show dev eth1 class cbq 1: root rate 100Mbit cell 8b (bounded,isolated) prio no-transmit/8 weight 100Mbit allot 1514b level 2 ewma 5 avpkt 1000b maxidle 1us Sent 484 bytes 7 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 77 undertime 0 class cbq 1:1 parent 1: