Displaying 20 results from an estimated 239 matches for "10mbit".
Did you mean:
100mbit
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
...ear 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 class add dev $DEV parent 1: classid 1:f1 htb rate 2048kbit ceil
10mbit burst 50k
tc class add dev $DEV parent 1:f1 classid 1:a1 htb rate 2048kbit ceil
10mbit prio 2 burst 50k
tc class add dev $DEV parent 1:f1 c...
2003 Jul 16
1
Problen in cbq , fw
...llowing commands:
## mark all the traffic coming from 10.0.2.1 by 1 ##
iptables -t mangle -A PREROUTING -i eth0 -s 10.0.2.1 -j MARK
--set-mark 1
## add route for traffic destined to internet ##
add route $Internet_Address dev eth1
## Configure following policy ##
1:0 (10Mbit)
|
1:1 (10 Mbit)
/ \
1:2 1:3 (110Kbit)
(100Kbit,
bounded)
## add queuing discipline and classes to eth1 ##
1. tc qdisc del dev eth1 root cbq bandwidth 10Mbit avpk...
2005 May 04
4
HTB rate miscalculation
...igrated my tc configuration from CBQ to HTB.
One problem appeared. Htb seems to miscalculate the bandwidth for classes
with greater rates.
For rates below 2Mbit there is almost no difference between the configured
and the measured rate.
For large ones the problem starts. My root class has 10Mbit rate and when
the interface has heavy trafic the measured bandwidth coudn''t get more then
8.5Mbit.
"# tc -s class show ...." shows that the root class has about the 10Mbit,
but the link stats shows mutch less.
The solution was to put the htb ceil on about 12Mbit. Then I...
2005 Dec 14
1
mgen & tc
...is my core router configuration:
#!/bin/bash
tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index
tc filter add dev eth1 parent 1:0 protocol ip prio 1 tcindex mask 0xfc
shift 2
tc qdisc add dev eth1 parent 1:0 handle 2:0 htb
tc class add dev eth1 parent 2:0 classid 2:1 htb rate 10Mbit ceil 10Mbit
############ EF
tc class add dev eth1 parent 2:1 classid 2:10 htb rate 1500Kbit ceil 10Mbit
tc qdisc add dev eth1 parent 2:10 pfifo limit 5
tc filter add dev eth1 parent 2:0 protocol ip prio 1 handle 0x2e tcindex \
classid 2:10 pass_on
############ AF
tc class add dev eth1 parent 2:1...
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 1514 weight 500Kbit prio 5 maxburst 20 avp...
2003 Jul 18
2
HTB + BRIDGE QUESTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HELP!!!!!!!!!!!!
...| eth0 | | eth1
192.168.2.29 | | |
I want to limit the traffics when i download data from 192.168.2.18 to 26 or 29.
My script as following:
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 10Mbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 1Mbit ceil 10Mbit prio 1
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 7Mbit ceil 10Mbit prio 2
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 2Mbit ceil 10Mbit prio 3
tc filter add dev eth0 parent 1:0 protocol ip prio 10 u32...
2007 Nov 28
5
tc doesn''t shape correct
Hi All,
I''m configuring my natting-firewall to do some tc shaping. Some traffic
has to be shaped on 30mbit, some on 10mbit all the others are unlimited.
The configuring and filtering works correctly. The traffic that is
shaped at 30mbit is correct, but the traffic that is shapped at 10mbit
only gets to 100KB/sec.
It is on a device configured with bonding (both in and out interface).
Any clue why shaped traffic at...
2002 Apr 13
0
Bandwidth sharing...
...bandwidth.
My questions are: why is the 130 class not limited to the bandiwidth of the parent? and second, should I do differently to get the same results?
I''ve created several files with cbq.init like that:
root@mail:/etc/cbq# cat cbq-127.ourDept-AnotherDept
DEVICE=eth0,100Mbit,10Mbit
RATE=100Mbit
WEIGHT=10Mbit
PRIO=1
BOUNDED=no
RULE=192.168.6.0/24,192.168.5.0/24
RULE=192.168.5.0/24,192.168.6.0/24
root@mail:/etc/cbq# cat cbq-128.ourDept-internet-total
DEVICE=eth0,100Mbit,10Mbit
RATE=100Mbit
WEIGHT=10Mbit
LEAF=none
PRIO=6
BOUNDED=yes
TIME=20:00-06:00;160Kbit/16Kbit
root@mail:/...
2006 Mar 28
2
prio, kernel 2.6: patch?
hi to all,
I''m studying traffic shaping using kernel 2.6.8 (debian sarge).
well, I have this problem: priority doesn''t work.
I try with:
- qdisc prio:
tc qdisc add dev eth1 root handle 12: prio bands 3
tc qdisc add dev eth1 parent 12:1 handle 13: tbf rate 10Mbit buffer
1600 limit 3000
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>...
2007 Jun 19
4
Why does this script noet work (bandwidth, tc en u32)
...tested with iperf) , so i assume that something
must be wrong....
#!/bin/sh
# LAN1 NIC
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit
# my machine
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1mbit ceil 10mbit
# filter
tc filter add dev eth0 parent 1:1 protocol ip prio 1 u32 match ip dst 172.31.1.1 flowid 1:2
# LAN2 NIC
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: htb
tc class add dev eth1 parent 1: classid 1:1 htb rate 100mbit
# my machine
tc class add dev eth1 parent 1:1 classi...
2004 Oct 06
3
HTB and Openvpn
...h0 and port 5001.
The idea was that all traffic going through the tunnel would have top
priority and the rest share what''s left. Sounded simple enough.
Here''s what I did:
tc qdisc add dev eth0 root handle 1: htb default 30
tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 700kbit ceil 1mbit
burst 15k prio 0
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1kbit ceil 28800
burst 15k
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil 1mbit
burst 15k prio 1
tc qdisc add dev eth0...
2007 Jun 08
5
CBQ + Layer7 x Emule
...4.10 DST=192.168.253.3 LEN=40 TOS=0x00 PREC=0x00 TTL=116 ID=7042
PROTO=TCP SPT=50675 DPT=4662 WINDOW=64952 RES=0x00 ACK FIN URGP=0
So it''s look like mark is working .
So now I use the cbq.init script with that configuration :
cat /etc/sysconfig/cbq/cbq-0002.emule_in
DEVICE=eth0,100Mbit,10Mbit
RATE=3Kbit
WEIGHT=1Kbit
PRIO=5
BOUNDED=yes
ISOLATED=yes
MARK=2
cat /etc/sysconfig/cbq/cbq-0002.emule_out
DEVICE=eth1,100Mbit,10Mbit
RATE=3Kbit
WEIGHT=1Kbit
PRIO=5
BOUNDED=yes
ISOLATED=yes
MARK=2
that generate this tc codes .
/sbin/tc qdisc add dev eth0 root handle 1 cbq bandwidth 100Mbit avpkt 3...
2005 Apr 08
1
HTB + speed a bit lower than what shaped to
...Initially i thought it was a network problem, but then i made a
crossover between me and the server and shaped on that interface with as
minimal as possible config
this my test:
$TC qdisc add dev $INTERFACE root handle 1: htb default 30
$TC class add dev $INTERFACE parent 1: classid 1:1 htb rate 10Mbit
# POOL1
$TC class add dev $INTERFACE parent 1:1 classid 1:2 htb rate 512Kbit
ceil 512Kbit prio 0
# DEFAULT
$TC class add dev $INTERFACE parent 1:1 classid 1:30 htb rate 10Mbit
ceil 10Mbit prio 3
# MAILSERVER
$TC class add dev $INTERFACE parent 1:1 classid 1:12 htb rate 32Kbit
ceil 32Kbit prio...
2002 Dec 06
1
typical performance on 10mbit switched network
I've never been happy with my samba box's network performance.....
I see about
60K/s between
1 client and my samba server
the load average on the server is nearly 0
and it's reading from an ide raid5
so i don't think that's a bottleneck.
I'm running samba 2.2.7 with
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
SO_SNDBUF=8192
and log level 2
(i know
2007 Feb 27
2
Incoming traffic
Hello,
with the command :
tc filter add dev eth0 parent ffff: protocol ip u32 patch ip src
192.168.2.6police rate 10000kbit burst 10000kbit drop flowid :1
we can limit traffic coming from 192.168.2.6.
I would like:
for 192.168.1.2, 192.168.1.4 limit to 10mbit
for 192.168.1.3, 192.168.1.5 limit to 20mbit
other ip would have no limit.
Is it possible with tc ?
Regards
Olivier.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2002 Oct 09
0
parent and hierarchy problems with cbq.init
...- i made the CBQ engine also a bridge and i put it before NAT server (so if
anything goes wrong i just shut down the engine and move the cable :p)
my current configuration :
#cbq-99.DMZINT
DEVICE=eth1,100Mbit,10Mbit
RATE=100Mbit
WEIGHT=10Mbit
PRIO=5
RULE=10.200.200.0/24,10.0.0.0/8
#cbq-101.A
DEVICE=eth1
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
RULE=10.21.0.0/24
#cbq-102.S/W
DEVICE=eth1
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
RULE=10.22.0.0/16
RULE=10.20.0.0/16
#cbq-103.H/W
DEVICE=eth1
RATE=150Kbit
WEIGHT=15Kbit
PRIO=5
R...
2002 Jun 26
1
htb problem
...oubt. What''s the correct use of mangle for the next network:
eth0: 200.39.190.249 (public)
eth1: 192.168.101.254 (private)
I make nat with iptables and have the following htb script:
tc qdisc add dev eth1 root handle 1: htb default 30
tc class add dev eth1 parent 1: classid 1:1 htb rate 10mbit burst 15k
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 15kbit ceil
10mbit burst 15k
tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 1 fw classid
1:10
(did the same rules for eth0), htb2, kernel 2.4.18
next mangle:
iptables -I PREROUTING -t mangle -i eth1 -j MARK --set-mark...
2004 Apr 06
11
htb2 -> htb3 problems
Hello!
I need to switch from htb2 to htb3, because of speed issues (for me,
htb2 is unable to handle more then 100mbit duplex with ~550 classes),
kernel profiling shows htb_dequeue_prio at 1st place with 3x isolation.
So, I''ve moved from 2.4.19 to 2.4.25 kernel (hi-pac for classification/marking
and htb3 for queueing), and traffic rate drop from 100 to 20mbit.
What can be wrong? The
2007 Aug 14
3
Trying understand the HTB
....1/file.iso from 192.168.10.11.
Without tc the speed showed by wget was 9.15 M/s (= 73.2 Mbits/s). The
iptraf confirmed it. Then I used these lines to control the traffic:
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: htb default 40
tc class add dev eth1 root classid 1:0 htb rate 10mbit
tc class add dev eth1 parent 1:0 classid 1:40 htb rate 500kbit
After tc rules, when I got file.iso, the speed showed by wget was 2.77
M/s (= 22.16 Mbits/s). But I used 500kbit (= 62.5 KB/s) in default
class.
My question is: why tc default class was configured with 500 Kb/s and
the real speed (con...