Displaying 20 results from an estimated 75 matches for "10kbit".
Did you mean:
10gbit
2005 Oct 01
3
I gave up.-...-.-.-.- :''(
...OF TC:
tc=/sbin/tc
iptables=/sbin/iptables
echo "Building tc Classes"
IFACE="eth0 eth1"
for i in $IFACE;do
$tc qdisc add dev $i root handle 1: htb default 10
$tc class add dev $i parent 1: classid 1:1 htb rate 2048mbit
$tc class add dev $i parent 1:1 classid 1:10 htb rate 10kbit ceil 128kbit quantum 1514
$tc class add dev $i parent 1:1 classid 1:20 htb rate 10kbit ceil 256kbit quantum 1514
$tc class add dev $i parent 1:1 classid 1:30 htb rate 10kbit ceil 512kbit quantum 1514
$tc class add dev $i parent 1:1 classid 1:40 htb rate 10kbit ceil 1024bit quantum 1514
$tc cl...
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
...ARD -p tcp -i eth0 -o eth1
--dport 25 -j MARK --set-mark 10
$TC qdisc del dev $INET_IFACE root
$TC qdisc add dev $INET_IFACE root handle 1: htb
default 60
$TC class add dev $INET_IFACE parent 1: classid 1:1
htb rate 2048kbit burst 2k
$TC class add dev $INET_IFACE parent 1:1 classid 1:10
htb rate 10kbit ceil 128kbit prio 5 quantum 1 burst 2k
$TC qdisc add dev $INET_IFACE parent 1:10 handle 10:
sfq perturb 10
$TC class add dev $INET_IFACE parent 1:1 classid 1:20
htb rate 10kbit ceil 512kbit prio 2 quantum 2 burst
2k
$TC qdisc add dev $INET_IFACE parent 1:20 handle 20:
sfq perturb 10
$TC class ad...
2003 Apr 30
1
Error! HTB: quantum of class 10001 is big. consider r2q change
hi.
When I execute follow class setting
qdisc 1:0 root htb default 2
parent 1:0 classid 1:1 htb rate 10Mbit ceil 10Mbit
parent 1:1 classid 1:2 htb rate 10kbit ceil 100Mbit
HTB: quantum of class 10001 is big. Consider r2q change. <7>htb*g j=1014xxxxx
HTB: quantum of class 10001 is big. Consider r2q change. <7>htb*g j=1014xxxxx
HTB: quantum of class 10001 is big. Consider r2q change. <7>htb*g j=1014xxxxx
....
...
....
If rate is 10kbit,...
2004 Apr 21
2
Guaranteed bandwidth per connection
...ranteed bandwidth, so far so good.
What I would like to do is the following:
In stead of defining a min/max for a certain type of traffic (e.g. http, ftp whatever), I would like to define a "minimum guaranteed bandwidth per connection".
e.g. An application connecting to port X would get 10kbit/s guaranteed, the next connection to port X would also get 10kbit/s etc.
Would be something like having N (the maximum number of connections) HTB classes, and put every new connection in another class.
Does anyone know how to do that?
Kind regards,
Jeroen Vriesman.
______________________________...
2004 Nov 25
1
Shaping with htb and VLAN
...dev eth0 root 2> /dev/null >/dev/null
/sbin/tc qdisc del dev lo root 2> /dev/null >/dev/null
#create qdisc
/sbin/tc qdisc add dev eth0 root handle 1: htb default 0
#all pakets get here
/sbin/tc class add dev eth0 parent 1: classid 1:1 htb rate 200kbit burst 10kbit
#class for the clients
/sbin/tc class add dev eth0 parent 1:1 classid 1:10 htb rate 100kbit burst 10kbit ceil 100kbit prio 10
/sbin/tc class add dev eth0 parent 1:1 classid 1:20 htb rate 100kbit burst 10kbit ceil 100kbit prio 10
#balacing
/sbin/tc qdisc add dev eth0 parent 1:10 handle 10: sfq per...
2003 Feb 05
1
cbq.init for one port on a subnet
...works great on a per-user basis.
Now I''d like to limit traffic from a netblock to the Internet on port
6699.
Network is 192.168.0.160 mask 255.255.255.224
eth0 is the gateway
eth1 connects the netblock in question
Is this the proper syntax;
DEVICE=eth0,10Mbit,1Mbit
RATE=100Kbit
WEIGHT=10Kbit
PRIO=5
RULE=6699 192.168.0.160/27,
Thanks!
Scott
Hi! Scott,
Your Config. file s''d be
DEVICE=eth0,10Mbit,1Mbit
RATE=100Kbit
WEIGHT=10Kbit
PRIO=5
RULE=192.168.0.160/27:6699
like this & try.
Good Luck.
Srikanth.
_______________________________________________
LARTC mailing list...
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet,
such as:
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.11 police rate 10kbit burst
10k drop flowid :1
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.22 police rate 10kbit burst
10k drop flowid :2
first ,I do not sure these method can use class(could
it do? I tested it can not do). if it can do it
,please give me a example.
second, rate c...
2004 Jul 28
3
Re: Re: HTB 3.13 please help
...#39;s look like HTB is filled to
> > much(sorry
> > > > for
> > > > > > my english :/)
> > > > > > All my children classes rate doesn''t exceeds root classes. I
have 50
> > > > classes
> > > > > > on 900kbit-10kbit(for default class) - downstream and
800-10kbit(for
> > > > > > default) up.
> > > > > > I shape bandwidth matching ip. r2q is set to 1 . no erros during
> > doing
> > > > shape
> > > > > > script.
> > > > > >...
2002 Oct 17
18
why dont packets go where i want?
...;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: classid 1:100 htb rate 300kbit
tc class add dev eth1 parent 1:100 classid 1:101 htb rate 10kbit ceil 30kbit
tc class add dev eth1 parent 1:100 classid 1:102 htb rate 10kbit ceil 20kbit
tc class add dev eth1 parent 1:100 classid 1:103 htb rate 10kbit ceil 15kbit
tc class add dev eth1 parent 1: classid 1:2 htb rate 700kbit burst 15k
tc qdisc add dev eth1 parent 1:101 handle 101: sfq perturb 1...
2000 Nov 22
10
Bandwidth limiting
Hello.
I need help with limiting bandwidth. I have read every tutorial I''ve come
over and I just can''t make anything work.
Ok, here''s the scenario:
I have a gateway, which has five network interfaces (eth0 -> eth4), eth0 is
the ''external'' one and eth[1-4] are supposed to be limited to 128Kbit/s each.
The interfaces eth[1-4] each have a C-class
2004 Jul 20
3
Fw: HTB - Really Big problem
...ng at all for about 1min and it starts pinging for about 2-3min and it stops for 1-2min and so on.....
When I stop HTB ping starts. It''s look like HTB is filled to much(sorry for my english :/)
All my children classes rate doesn''t exceeds root classes. I have 50 classes on 900kbit-10kbit(for default class) - downstream and 800-10kbit(for default) up.
I shape bandwidth matching ip. r2q is set to 1 . no erros during doing shape script.
I''m attaching this script
in ip1 ip2 and so on are files where are written ip''s for C classes.
I''m including my script....
2005 May 21
1
newbie downloading not working
..."adding HTB and SFP/PFIFO as leaves\n"
tc qdisc add dev eth0 root handle 1:0 htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 400kbit ceil
400kbit
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 300kbit ceil
400kbit
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 10kbit ceil
400kbit
tc class add dev eth0 parent 1:1 classid 1:40 htb rate 10kbit ceil
400kbit
tc class add dev eth0 parent 1:1 classid 1:50 htb rate 10kbit ceil
400kbit
tc class add dev eth0 parent 1:1 classid 1:60 htb rate 10kbit ceil
400kbit
tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb...
2006 Jan 10
8
Simple shaping question
...0 htb rate 900Kbit
ceil 900Kbit
/sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match
ip sport 80 0xffff classid 1:10
/sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match
ip dport 80 0xffff classid 1:10
/sbin/tc class add dev eth0 parent 1:2 classid 1:20 htb rate 10Kbit ceil 900Kbit
I start to download from ftp it uses all bandwidth (as it should be),
when I start to download on web, web and ftp rated become more or less
equal :/ . I want that ftp traffic would be limited to 10kbit and all
other bandwidth would be left for web trafic.
What is wrong with my rules...
2005 May 03
2
problem with filters - packets ''slipping'' through them when they shouldn''t
...internet connection traffic using hsfc and I''ve
encountered the following problem (may not be connected with hfsc).
on my lan interface I shape incoming traffic like this:
tc qdisc add root dev eth1 handle 1: hfsc default 1003
tc class add dev eth1 parent 1:0 classid 1:1003 hfsc ls rate 10kbit ul rate
10kbit
tc class add dev eth1 parent 1: classid 1:1001 hfsc ls rate 70Mbit ul rate
70Mbit
tc filter add dev eth1 parent 1: protocol ip prio 1 u32 \
match ip src 192.168.0.1 \
flowid 1:1001
tc class add dev eth1 parent 1: classid 1:1002 hfsc ls rate 1Mbit ul...
2006 Jan 08
2
HTB - not borrowing, not exceeding rate
...over local traffic).
Here is current setup:
tc qdisc del root dev eth2.24 2>/dev/null
tc qdisc add root dev eth2.24 handle 1: htb default 1
# main rate limitation for whole connection (802.11a radio link)
tc class add dev eth2.24 parent 1: classid 1:1 htb rate 15000kbit ceil
15000kbit burst 10kbit
# class for internet connections - this one can use nearly whole link
tc class add dev eth2.24 parent 1:1 classid 1:6667 htb rate 12000kbit ceil
13500kbit burst 100kbit
# class for in-network p2p connections - this one has lower guaranteed rate
tc class add dev eth2.24 parent 1:1 classid 1:6666...
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:
2003 Apr 07
4
BW using CBQ/tc for VPN Ipsec i/f?
Hi all,
I want to allocate bandwidth for ipsec interface using CBQ/tc.
Suppose the conf. file is like this,
DEVICE=ipsec0,10Mbit,1Mbit
RATE=128Kbit
WEIGHT=10Kbit
PRIO=5
RULE=192.128.1.0/24
Does it work
or
What else options need to be taken care like ipsec packets/protocol/port
# etc.?
C''d anybody suggest please?
regds,
Srikanth.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/ma...
2004 Oct 11
0
cbq.init - Some strange behavior / small question
...special
IP addresses to limit their bandwith.
In my test environment I''ve too machines. One testclient
with the IP 192.168.1.19. On my "shaper" (192.168.1.251) runs
cbq.init with following config file:
orthanc:/etc/sysconfig/cbq# cat cbq-4.ws-019
DEVICE=eth0,100Mbit,10Mbit
RATE=10Kbit
WEIGHT=1Kbit
PRIO=5
LEAF=tbf
ISOLATED=yes
BOUNDED=yes
RULE=192.168.1.19/32
When I have a single scp upload to the server my bandwith is limited to
10Kbit/s.
But when I have serveral uploads (I''ve had five in my test) I have an
overall bandwith
of 20.1Kbit/s.
How can I say my class to l...
2002 Dec 10
2
tbf : rate and effective speed (newbie)
Probably this is an old question, but i''m not able to find nothing about...
So, i''ve just started to play with tc to limit the transfer speed to my
hdsl connection. I''m using the tbf and the command
# tc qdisc add dev eth0 root tbf rate 10kbit latency 50ms burst 1000
Then i''ve tried to transfer a big (20 Mbyte) file onto my lan, using ftp
and the client (ncftp) is saying that the average transfer speed is
39.71 kB ( around 400 kbit). What i''m missing ?
Thnaks in advance
____________________________________________...
2004 Apr 14
4
Most general filter rule?
Hello!
I recently noticed that the default class of my htb setup gets too much
traffic (the setup otherwise runs fine for about 2 years now). Therefore I
tried to track this traffic down and attached filter rules to the end of my
filter chain which would IMHO match all the traffic which could possibly
occur. The most general I could come up with is:
tc filter add dev eth2 pref 300 protocol