similar to: how to borrow bandwith

Displaying 20 results from an estimated 1000 matches similar to: "how to borrow bandwith"

2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all, I have installed 2.4.5 kernel, Debian Potato. my tc script: #!/bin/bash tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000 echo root tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \ 10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000 echo class tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \ 5Mbit allot
2007 Dec 05
3
Adding qdiscs crashes kernel??
Hi all, I''m having some problems setting up qdiscs on a bridge.The config looks a little like this: ifconfig ifb0 up # Bring up the IFB for this bridge. tc qdisc add dev eth2 ingress tc qdisc add dev eth3 ingress tc qdisc add dev ifb0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8 # Raw qdiscs on each bridge port tc qdisc add dev eth2 root handle 1:0 cbq bandwidth
2001 Dec 24
2
Two u32 problems: module count and fw
Hi All, I found 2 unusual behavior with u32 classifier in Kernel 2.4.12. I’ve u32 compiled as module. 1> u32 filter seems not working if there is already some fw filter used for some other class. In order to get u32 working I’ve to delete root class, which in terms delete all fw filters too, and then same command for u32 works. fw is also compiled as module. 2> If I add u32 filter to my
2004 May 04
4
Wrapping prio in tbf
The manual says (about prio): > Because it doesn''t actually shape, the same warning as for SFQ holds: > either use it only if your physical link is really full or wrap it > inside a classful qdisc that does shape. The latter holds for almost all > cable modems and DSL devices. I want to wrap prio inside of tbf. Here''s why: I have a server on a DSL line, which has
2006 Aug 13
3
trying to prioritize voip traffick
I am using a server with asterisk and I am trying to prioritize voip traffick -- I am a newbie at this traffic shaping, so please bear with me. I used the script below and what happens is thatall traffic in the bulk class stops after a couple of minutes. Also, should I include the ports for rtp in the filter statements with the ports 5061 and 4569? Note I have a fairly big pipe -- supposed to
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello, I''m using tc to limit the bandwidth of our wireless customers. I have a working script, but I''m not happy with it. I''m trying to write a more sophisticated script, but when I run it, it give me this error: RTNETLINK answers: File exists I have no idea what this error means or how to fix it. Here is a portion of the script (the whole script shapes several
2002 May 03
2
(no subject)
hi all, Iam using the following CBQs to limit the FTP bandwidth pease tell what changes are rquired to make it work.... tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1:0 cbq allot 1514 avpkt 1000 bandwidth 100Mbit tc class add dev eth0 parent 1:0 classid 1:1 cbq allot 1514 bandwidth 100Mbit rate .4Mbit weight .4 prio 2 maxburst 20 cell 8 avpkt 1000 tc class add dev eth0
2004 Jul 30
0
Help:how many bandwidth are borrowed in HTB?How to caculate!
Hi,All I use HTB to control traffic.Here is my script: /usr/sbin/tc qdisc del dev nas0 root /usr/sbin/tc qdisc add dev nas0 root handle 1:0 htb default 60 /usr/sbin/tc class add dev nas0 parent 1:0 classid 1:1 htb ceil 896kbit rate 896kbit prio 0 burst 60k /usr/sbin/tc class add dev nas0 parent 1:1 classid 1:10 htb ceil 896kbit rate 537kbit prio 1 burst 60k /usr/sbin/tc class add dev
2006 Jan 12
1
tc class class id problem Limitation
Hello, I have been working on tc class . But when the classid reaches 5 digit , it DOES NOT ACCEPT THAT ... see the example below :: tc class add dev eth0 parent 10:36 classid 10:13310 cbq bandwidth 10Mbit rate 32Kbit allot 1514 weight 3.2Kbit prio 5 maxburst 20 avpkt 1000 bounded See the bold digit !! this command doesn''t work , but if i use with 4 digit then it works : tc class
2001 Jun 07
1
RE: LARTC digest, Vol 1 #222 - 12 msgs
Message: 12 From: Gery Kahn <geryk@sphera.com> To: "''lartc@mailman.ds9a.nl''" <lartc@mailman.ds9a.nl> Date: Tue, 5 Jun 2001 20:28:30 +0200 Subject: [LARTC] priority of class ->split traffic in 2 more classes ->tc class add dev eth0 parent 2:0 classid 2:21 cbq avpkt 1000 bandwidth ->100Mbit \ ->rate 70Mbit prio 3 maxburst 20 ->tc qdisc add
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
2007 Mar 23
1
Setting bandwidth to unlimited
Hello, I am using the following commands to "throttle" the bandwidth of the NIC at eth0 : tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 10: cbq bandwidth 100mbit avpkt 1000 tc qdisc add dev eth0 root handle 10: htb tc class add dev eth0 parent 10: classid 10:1 cbq bandwidth 100mbit rate 128kbit allot 1514 maxburst 20 avpkt 1000 bounded prio 3 tc class add
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
2003 Feb 13
1
prio qdisc problem
Hello there, I''m trying to do some prio qdisc, but it doesn''t seem to work. Can anybody tell me why ??? here is my simple prio qdisc script: OPTIONS="bandwidth 100mbit allot 1514 maxburst 20 prio 3 avpkt 1000" IPTABLES="/usr/local/bin/iptables.static" INTERNAL=eth0 EXTERNAL=eth1 tc qdisc del dev eth0 root 2>/dev/null tc qdisc add dev eth0 root handle
2005 May 05
1
TC breaking Virtual network connection
Good afternoon, I am a newbie to lartc. I have read the HOWTO. I set up a CBQ traffic control using the following commands, and it caused my VNC connection to break frequently. ======================================================================= **CBQ: cbq-1280.My_shaper /sbin/tc qdisc del dev lo root /sbin/tc qdisc add dev lo root handle 1 cbq bandwidth 20Mbps avpkt 1000 cell 8 /sbin/tc
2004 Jul 02
24
TC Hashing Filters
Hey all, I had asked a question a little while ago about CPU usage being outrageous while using tc and a cbq qdisc. Ed was very kind and offered a few suggestions. One of these was to look at hashing. So after pounding away at it for about a week, I have a general understanding of how it works and have tried to implement it. Unfortunately, and quite obviously since I''m posting here, it
2001 Apr 05
0
Fw: good bandwith example?
> does somebody have a working tc commandlist with bandwith limit for > internet>lan use? The following is a snippet that I got from my linux router vendor. I will be putting it in place this week. They ensure me that it will work. This takes an IP block that uses eth0 and limits the bw for that IP block to 3Mbit. I hope this is what you are after, as I am fairly new to this as well, I
2007 Mar 28
7
(no subject)
Hi all, I''m having a hell of a time getting my IFB to work. I know I''ve done this before, so I''m missing something stupid. Can anybody tell me what it might be? Configs as follows: -------- #!/bin/sh modprobe ifb numifbs=1000 modprobe act_mirred modprobe 8021q brctl addbr br0 brctl setfd br0 0 brctl stp br0 off brctl addif br0 eth1 brctl addif br0 eth2 ifconfig eth1
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
2006 Jan 04
3
TC/CBQ shaping problems
Hello everyone, I''m a newbie experimenting with CBQ shaping and am facing a few problems. Can any of you please help? TEST SETUP: +---------------+ +----------------+ | 10.0.0.103 |----------->| 10.0.0.102 | +---------------+ +----------------+ 10.0.0.103: Linux, 100Mbit/s NIC 10.0.0.102: Windows, 100Mbit/s NIC, iperf tcp server (ports 2000 and 2001) WHAT I