Displaying 20 results from an estimated 1000 matches similar to: "Bandwidth limiting for each computer in subnet"
2004 Apr 19
0
subnet bandwidth
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
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
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. Ive 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 Ive 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 25
1
how to borrow bandwith
Hi,All
I am using iproute2 to manage bandwith for ADSL router.High,medium,low priority are needed for different protocol port on the ADSL's upstream side,as following:
LAN --- |ADSL Router|------WAN
When there aren't traffic on the specific priority, its bandwidth should be borrowed by other priorities.But it doesn't work.Here is my script:
/usr/sbin/tc qdisc del dev nas0 root
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
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 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
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
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
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
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 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 Feb 07
3
cbq ip range?
OK, finally I have made cbq run !
now I would like to know if it is posible to limit a range of IP to a speed.
something like this :
from 192.168.1.1 to 192.168.1.21 limit to 128K
I don''t whant to limit each IP to 128K, what I would like to do is limit all
20 IP to have a max of 128K.
Is it posible?
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
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
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
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 Jan 21
2
Slightly offtopic: IRC channel archives
Hi all.
I fear I''m slightly offtopic with this question, but I''ll keep it short:
who is (or feels) responsible for the #lartc irc-channel in oftc.net?
I''d appreciate if that person would get in contact with me (off-list) in
order to discuss some ideas I have. Thanks in advance.
Bye, Mike
_______________________________________________
LARTC mailing list /
2005 Oct 11
3
Inaccurate results without natting the traffic.
Hi folks.
For quite a while, I tried to use linux (cbq and htb) to control
bandwidth in order to replace a cisco equipment used to play this role
on our network.
After trying here and there, with a bunch of different distros,
different versions, different compilations, ... the closest I could
get was as follows:
(using htb.init and cbq.init)
Desired BW ==> Achieved BW
128k ==> 404.78
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