Displaying 20 results from an estimated 133 matches for "512kbit".
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
...;m trying to create a contended section of bandwidth using IMQ. I have the
imq0 device up and running, with traffic passing through it.
Firstly, I need to throttle the entire device imq0 to 2mbit/s.
I would then like to add throttle rules for individual IP addresses, allowing
them to pass up to 512kbit/s each, as long as imq0 has not reached its
2mbit/s.
The configuration I currently have is as follows:
tc qdisc add dev imq0 root handle 1: htb default 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 2mbit burst 15k
# IP 10.0.0.10
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 51...
2003 Aug 20
9
CBQ_bandwidth
Hi Stef,
Reffering to page < http://www.docum.org/stef.coene/qos/faq/cache/7.html
> I found a para as follows,
" CBQ is not always as accurate as it should be. See docum.org on the
test page for some tests with bounded classes. The algorithm used by cbq
is very "link sensitive". It calculates the link idle time and for that
it needs the real link bandwidth, average
2006 Apr 05
5
QoS - Ping problem
...1
#------
$TC qdisc add dev $DL root handle 1: htb default 50
CLASS="/sbin/tc class add dev $DL parent"
$CLASS 1: classid 1:1 htb rate 3072Kbit
$CLASS 1:1 classid 1:10 htb rate 1024Kbit ceil 1024Kbit
$CLASS 1:1 classid 1:20 htb rate 1536Kbit ceil 2560Kbit
$CLASS 1:1 classid 1:30 htb rate 512Kbit ceil 1024Kbit
$CLASS 1:1 classid 1:40 htb rate 512Kbit ceil 1024Kbit
$CLASS 1:1 classid 1:50 htb rate 512Kbit ceil 1024Kbit
QDISC="/sbin/tc qdisc add dev $DL parent"
$QDISC 1:10 handle 10: sfq perturb 10
$QDISC 1:20 handle 20: sfq perturb 10
$QDISC 1:30 handle 30: sfq perturb 10
$QDISC 1...
2005 Jan 31
3
why there is any traffic in default class?
I have:
tc qdisc add dev imq0 root handle 1: htb default 30
tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit
tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit
then:
iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0
tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit
tc filter add dev imq0 protocol ip parent 1:0 prio 1 u...
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
...e 1: htb default 40
CLASS="/sbin/tc class add dev $DL01 parent"
$CLASS 1: classid 1:1 htb rate 100Mbit
$CLASS 1:1 classid 1:5 htb rate 100Mbit ceil 100Mbit
$CLASS 1: classid 1:2 htb rate 972Kbit
$CLASS 1:2 classid 1:10 htb rate 128Kbit ceil 256Kbit prio 0
$CLASS 1:2 classid 1:20 htb rate 512Kbit ceil 768Kbit prio 0
$CLASS 1:2 classid 1:30 htb rate 128Kbit ceil 512Kbit prio 1
$CLASS 1:2 classid 1:40 htb rate 204Kbit ceil 512Kbit
----------------------------------------------------------------
Here, as you can see, I made some rules to control my network. I
have a class 1:1 that serves...
2005 May 04
4
OpenSwan traffic shaping with HTB & sfq
...f some of the rules in place. I can protect the VPN
traffic from other internet traffic such as email etc, but not from
themselves if you know what I mean.
tc qdisc del dev $NET_IF root
tc qdisc add dev $NET_IF root handle 1: htb default 30
tc class add dev $NET_IF parent 1: classid 1:1 htb rate 512Kbit burst
15Kb
tc class add dev $NET_IF parent 1:1 classid 1:20 htb rate 128Kbit ceil
512Kbit burst 15Kb prio 1
tc class add dev $NET_IF parent 1:1 classid 1:30 htb rate 10Kbit ceil
512Kbit burst 15Kb prio 2
tc qdisc add dev $NET_IF parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev $NET_IF parent...
2005 Oct 01
2
imq + htb
...rd it to imq0
iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0
iptables -t mangle -A PREROUTING -i eth2 -j IMQ --todev 0
iptables -t mangle -A PREROUTING -i eth3 -j IMQ --todev 0
tc qdisc add dev imq0 root handle 10: htb default 20
tc class add dev imq0 parent 10: classid 10:2 \
htb rate 512Kbit ceil 512Kbit
#####################################################
#class for eth1
tc class add dev imq0 parent 10:2 classid 10:21 htb rate 128Kbit ceil
512Kbit
# mark
tc filter add dev imq0 parent 10:2 protocol ip prio 1 handle 1 fw
classid 10:21
tc qdisc add dev imq0 parent 10:21 sfq perturb 15...
2006 Feb 05
1
htb prio ...
Hey, I have such a script:
tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2
tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit
tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil
512kbit
tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil
1024kbit
tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit ceil
3072kbit
tc class add dev $DEV parent 1:21 classid 1:102 htb rate 64kbit ceil 128kbit
prio 2
tc qdisc add dev $DEV...
2002 Aug 07
11
pb with ingress policy
Hi !
I have a single host which is connected via an 512kbit ADSL link to the n=
et. I quite often use some realaudio application that uses some bandwidth =
and I want to avoid other traffic to scale that bandwidth down. So I used =
some classes (with htb) on imq0 device and applied some filters and it see=
ms to work in most cases. However, there are some s...
2005 Dec 15
3
tc strange behaviour
hi all,
I''m trying to do the following:
tc qdisc add dev eth0 root handle 1: htb default 15
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 1mbit
tc class add dev eth0 parent 1:1 classid 1:15 htb rate 512kbit ceil 1mbit
what I expect:
limit outgoing traffic to 1mbit, start rate is 512kbit and let it grow
up to 1mbit
(correct me if i''m wrong here)
so, here is the problem
on different computers I have different behaviour (same kernel configuration)
tried on xeon, p3 and pentium-m (notebook), on...
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 23
1
Script for metropolitan
...ING -i eth1 -j mark_horiz_dst
/sbin/iptables -t mangle -A OUTPUT -o eth0 -j mark_horiz_dst
/usr/local/bin/mipclasses -s mark_horiz_src -d mark_horiz_dst -m 1 < /start/metro.txt | iptables-restore -n
IF="eth0"
RATE_INET="256kbit"
RATE_METRO="1024kbit"
CEIL="512kbit"
#traficul implicit se duce in clasa 1:20 (internet)
tc qdisc add dev $IF root handle 1:0 htb default 20
tc class add dev $IF parent 1:0 classid 1:1 htb rate 240kbit
# clasa 1:10 pt traficul metropolitan
# clasa 1:20 pt traficul extern
# poti sa renunti la prio daca nu vrei prioritati...
2005 Apr 28
1
Packets Going to default class
...ading its going
to default class
can some one experinced the same problem
below is the my config
$TC qdisc add dev $IFACE root handle 1: htb default 15
$TC class add dev $IFACE parent 1: classid 1:1 htb rate ${CEIL}kbit ceil
${CEIL}kbit
$TC class add dev $IFACE parent 1:1 classid 1:10 htb rate 512kbit ceil
512kbit prio 0
$TC class add dev $IFACE parent 1:1 classid 1:15 htb rate 256kbit ceil
256kbit prio 0
$TC qdisc add dev $IFACE parent 1:10 handle 10: sfq perturb 10
$TC qdisc add dev $IFACE parent 1:15 handle 15: sfq perturb 10
$TC filter add dev $IFACE parent 1:0 protocol ip prio 0 handle 10...
2004 Dec 28
1
Newb question: tc shedulers on 2 interfaces
...'m new to this list, and hope for some clarity in this matter:
I have a home-gateway with linux-2.6.9 and iproute2 (ver:2.6.9). My
following tc syntaxes.
# eth0 internet scheduleing are:
tc qdisc add dev eth0 root handle 1: htb default 20
tc class add dev eth0 parent 1: classid 1:1 htb rate 512kbit burst 6k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 512kbit burst 6k
prio 1
tc class add dev eth0 parent 1:1 classid 1:20 htb reate 9*512/10kbit
burst 6k prio 2
tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10
tc f...
2005 Jan 19
3
tc limit
...rent 1:3 protocol ip u32
/sbin/tc filter add dev eth1 parent 1:3 handle 3: protocol ip u32 divisor 256
/sbin/tc filter add dev eth1 protocol ip parent 1: u32 match ip dst
10.0.0.0/20 hashkey mask 0x000000ff at 16 link 3:
echo handle 1:13
/sbin/tc class add dev eth1 parent 1:3 classid 1:13 htb rate 512kbit
ceil 512kbit burst 0k cburst 0k
/sbin/tc qdisc add dev eth1 parent 1:13 handle 13: sfq perturb 4
/sbin/tc filter add dev eth1 protocol ip parent 1:3 u32 ht 3:1: match
ip dst 10.0.0.1 flowid 1:13
echo handle 1:15
/sbin/tc class add dev eth1 parent 1:3 classid 1:15 htb rate 512kbit
ceil 512kbit burs...
2009 Oct 30
4
traffic shaping with two internal interfaces
Hi,
my shorewall is version 4.0.15 on Debian Lenny. I have 3 following
interfaces:
eth0 net (4mbit/512kbit)
eth1 loc (100mbit)
eth2 loc (100mbit)
I want to shape traffic from net on two lan interfaces like:
- default is 2000mbit for each local interface
- if is no traffic on eth1 is 4mbit for eth2 (and vice versa)
My tcdevices
eth0 4000mbit 512kbit
eth1 - 100...
2003 May 13
3
Hashing filters
Hey
A wise man said to me that Hashing filters was my solution to rock the
world, and making my life alot easier. When applying 4000 rules, the system
had to check them all for match. But with hassing it would only require 1-2
checks.
Even though when i had read the lartc on the subject i was no less that a
question mark.
If anyone have played with it, and have a working, logic configuration
2006 Apr 07
9
u32 and iptables do not work together
...h1
#------
$TC qdisc add dev $DL root handle 1: htb default 50
CLASS="/sbin/tc class add dev $DL parent"
$CLASS 1: classid 1:1 htb rate 3072Kbit
$CLASS 1:1 classid 1:10 htb rate 256Kbit prio 1
$CLASS 1:1 classid 1:20 htb rate 1024Kbit ceil 2048Kbit prio 2
$CLASS 1:1 classid 1:30 htb rate 512Kbit ceil 512Kbit prio 3
$CLASS 1:1 classid 1:40 htb rate 512Kbit ceil 512Kbit prio 3
$CLASS 1:1 classid 1:50 htb rate 512Kbit ceil 512Kbit prio 4
QDISC="/sbin/tc qdisc add dev $DL parent"
$QDISC 1:10 handle 10: sfq perturb 10
$QDISC 1:20 handle 20: sfq perturb 10
$QDISC 1:30 handle 30: sfq p...
2010 Apr 08
2
Split E1 ISDN service for another device.
Hi All,
I know this is not specifically Asterisk related but I don't knew where
else to ask for help. Does anyone know how to or if it is even possible
to allocate 512kbit/s to an ISDN device from a 30B+D ISDN line.
The building the office is in has a E1 30 channel service (30B+D) but we
can not get any 2B+D ISDN services. I have a HDX Polycom video
conferencing system that requires a 512kbit/s service. I am told to
allocate 8B+D service from the 30B+D to the P...
2005 Feb 01
1
multiple defaults
...subnets trough a router behind it. I''d
like to create multiple default classes:
1: +
|\_ 1:10 default, ceiling 100000kbit, rate 96000kbit
|
|\_ 1:11 ceiling 2048kbit, rate 2048kbit
| |
| |\_1:110 ceiling 2048kbit, rate 1536kbit
| \_1:111 ceiling 2048kbit, rate 512kbit (default subnet1)
|
\_ 1:12 ceiling 2048kbit, rate 2048kbit
|
|\_1:120 ceiling 2048kbit, rate 1536kbit
\_1:121 ceiling 2048kbit, rate 512kbit (default subnet2)
I want to use 1:110 for subnet1 sport 3389
I want to use 1:111 for subnet1 (the rest)
I want to use 1:1...