Displaying 20 results from an estimated 32 matches for "768kbit".
2002 Feb 28
6
basic htb setup
...h of machines behind my firewall/router:
1.2.3.1 +----------------------------+ 10.0.0.1
1.2.3.2 -----+eth0 firewall/router eth1+--- 10.0.0.2
1.2.3.3 +----------------------------+ 10.0.0.3
10.0.0.1 is nat''d to 1.2.3.1, 10.0.0.2 to 1.2.3.2, etc. eth0 is attached
to a 768Kbit DSL line, and eth1 to a 100Mb ethernet.
I want to limit the output of 10.0.0.1, but let it borrow from everybody
else''s bandwidth when the bandwidth would go unused. HTB seems ideal for
this, and the TC stuff is pretty much identical to the basic one in the
howto:
tc qdisc add dev eth0 h...
2005 May 18
4
HTB + IMQ + IPtables marking.
...tal parent rate for
768Kbps. But what happened is the traffic monitored at eth0 almost all the
time eating all the bandwidth we have.
# DOWNSTREAM 768Kbps
/sbin/ip link set imq1 up
/sbin/tc qdisc add dev imq1 root handle 2: htb default 0
/sbin/tc class add dev imq1 parent 2: classid 2:1 htb rate 768Kbit
/sbin/tc class add dev imq1 parent 2:1 classid 2:10 htb rate 128kbit ceil
768kbit
/sbin/tc class add dev imq1 parent 2:1 classid 2:20 htb rate 128kbit ceil
768kbit
/sbin/tc filter add dev imq1 parent 2: protocol ip handle 10 fw classid 2:10
/sbin/tc filter add dev imq1 parent 2: protocol ip handl...
2007 Sep 18
0
Got stuck when a traffic shapping script
...workstations. The
maximum bandwidth we could get was 1536 kbit. So we decided to let the
staff work in our normal network via remote desktop. Around 90 students
using the Internet would fill up the bandwidth real soon... so I decided
to use tc/htb to split up the bandwidth:
RDP would get a rate of 768kbit ceiling 1536kbit
The rest would get a rate of 768kbit ceiling 768kbit
To accomplish this I wrote te following script:
====================snip======================
# /bin/sh
# eth0: Internet uplink
# root
# 1:
# |
#...
2005 Jul 06
2
Classid limit at 10000
...#39;m setting up shaping using HTB and hashkey. It seems like there is a
limit on the number of classid''s at 10000?
How can I go higher than 10000?
This is what my output say when I reach classid number 10000:
...
...
/sbin/tc class add dev eth0 parent 2:6 classid 2:9998 htb prio 5 rate
768kbit ceil 768kbit burst 0 cburst 0
/sbin/tc qdisc add dev eth0 parent 2:9998 handle 9998: sfq perturb 4
/sbin/tc filter add dev eth0 protocol ip prio 5 parent 2:6 u32 ht
12:93: match ip dst 10.50.157.147 flowid 2:9998
/sbin/tc class add dev eth0 parent 2:6 classid 2:10000 htb prio 5 rate
768kbit ceil...
2005 Jun 23
0
QOS with squid in the same machine
...9;'m trying to do qos based on HTB, in my linux box wich is my firewall
and transparent proxy, and I don''t have the possibility to put other
machine to make proxy.
Well, If I up my htb scripts, the proxy will be limited to serve my LAN
as a external site and limited to the limit of 768kbits, even making two
classes, tryn to limit it traffic to the maximun bandwidth of my network
NIC.
I try to make a script to manage this, but it simply don''t work.
Take a look:
#eth0 is my internal LAN card.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1:0 htb default 40...
2005 Oct 13
12
HFSC Advanced Limiting
I am investigating changing our broadband bandwidth control scripts over to HFSC. What I would like to accomplish is this:
{ * DOWNLOAD *
I need a download class for each user (we''ll call it Class 1) that offers a minimum of lets say 384Kbps and a maximum of 1.5Mbps.
The rates between 384Kbps and 1.5Mbps should be shared among all users.
Each user should always be able to get at
2004 Mar 22
2
How to limit the Upload speed for an specific IP?
Hello,
I want to limit the upload speed for the eth0 Interface for an specific IP.
I used the following script, but its only limits the DOWNLOAD speed.But i want to limit both!
DEV=''eth0''
tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 768kbit
tc class add dev $DEV parent 1: classid 1:1 cbq rate 100kbit allot 1500 prio 5 bounded isolated
tc filter add dev $DEV parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.2 flowid 1:1
Greetz
2009 May 12
4
Controlling outbound bandwidth utilization by port
Among other things, I run an http server on my home DSL line
(6M/768kbit). The content includes several large image
galleries, and when certain crawlers hit our server w/
multiple large image uploads, we end up with large
ping time delays - sufficient to disrupt the kids''
on-line gaming. Attempts to control this with robots.txt
has not be very successful; Sola...
2005 Jun 30
4
HTB: shaping internet bandwidth but don''t shape local network traffic
i got this problem, i want to shape my clients internet bw, but i
don''t want to shape my local network traffic. For information, my
clients using wireless to connect to my router[192.168.1.254].
when the clients request data from internet, example download from
www.download.com, i want to shape his bandwidth, but when the clients
[192.168.1.1] want to download from my file server example
2004 Sep 10
8
Organization wide
After our department went to using *, I've had several inquiries about
doing VoIP for my entire organization (Small county). We have ~10
locations with various links in between (Mostly p2p T1s, some Frame
(1.544mbps commit), some ISDN, some VPN over 768kbit internet) Right now
we're using several NEC Electra Elite systems, and 2 Nortel Meridian
systems. In one of the main locations we have 29 POTS lines going into
the NEC system. At another location we have a single PRI, and at a lot
of the other locations we have just analog phones. Cisco has app...
2005 Aug 09
4
Too slow computer?
Hello! I''ve put some questions on this list some weeks
ago and I''ve got good answers. Thank you!
Now I''ve finished my (beautyful) script and I ran it
on my router...
About my script:
It routes packages based on their destination on the
Internet. I have about 1650 preffered destination
networks listed in some file. The script read this
file and marks every package for
2005 Jul 06
2
Please: "judge" this script
I copied and tried to adapt to my necessities the excellent script of Pedro Larroy, but I am inexperienced in QoS and I have doubts.
I have cablemodem to Internet 1024kbit down and 256kbit up, through eth0. The LAN has eth1 and NAT.
I formed the band so that shaping goes by the eth1 (of the LAN) with bandwidth maximum CEIL=768.
But I observe that the traffic sometimes accelerates and other
2005 May 08
1
tc/htb QoS script
...##########
DEVICE=$1 # interface (eth0 / eth1)
Bandwidth=2048kbit # rate of WAN - line / remember you can''t ceil this
or you''ll experience latency. 75-80% of ceil is a good place to start.
rateSAP=1024kbit
ceilSAP=2048kbit
prioSAP=1
rateEMAIL=512kbit
ceilEMAIL=768kbit
prioEMAIL=3
rateWEB=768kbit
ceilWEB=1024kbit
prioWEB=2
rateBulk=512kbit
ceilBULK=768kbit
prioBULK=4
rateVIEMON02=512kbit
ceilVIEMON02=800kbit
prioVIEMON02=1
VIEMON02="172.24.69.34"
SAPNET="172.24.64.0/24"
PROXY="172.24.69.21/32"
MAILSERVER="172.24.69.23/32...
2002 Jul 12
1
IMQ crash dump
...ip parent 1:0 prio 5 u32 match ip src x.x.x.x/30 flowid 1:3
# client3
$TC class add dev imq0 parent 1: classid 1:4 htb rate 64kbit
$TC filter add dev imq0 protocol ip parent 1:0 prio 5 u32 match ip src x.x.x.x/30 flowid 1:4
# client4
$TC class add dev imq0 parent 1: classid 1:5 htb rate 64kbit ceil 768kbit
$TC filter add dev imq0 protocol ip parent 1:0 prio 5 u32 match ip src x.x.x.x/30 flowid 1:5
# send to intarface all from eth0.9 (clients)
/sbin/iptables -t mangle -A PREROUTING -i eth0.9 -j IMQ
All patches I get from http://luxik.cdi.cz/~patrick/imq/
iptables and kernel modules compiled and load...
2004 Apr 24
9
newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router
Hi all,
this is really not really very easy to understand, or, to get in.
Well, I''ve the following configuration on the router box:
LAN
- interface: eth0
- network: 192.168.2.5/24
- bandwidth: 100Mbit/s
INET interface
- interface: ppp0
- network: .dynamic.ip./0
- bandwidth: DOWN=1536kbit/s and UP=256kbit/s
the LAN interface is to serve 6 other clients with internet and
2010 Apr 22
1
PRIO qdisc + iptables TOS target
i am trying to do some traffic classification using the PRIO qdisc and
i am having a few problems.
I have a root htb class:
tc qdisc add dev imq0 root handle 1: htb default 255 r2q 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 768kbit
and a child PRIO
tc class add dev imq0 parent 1:1 classid 1:99 htb rate 96kbit ceil
600kbit prio 0
tc qdisc add dev imq0 parent 1:99 prio
tc filter add dev imq0 parent 1: protocol ip prio 7 u32 match ip dst
192.168.1.99 flowid 1:99
the result is:
# tc - s class ls dev imq0
class htb 1:1 ro...
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
...ult 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 only inside...
2004 May 04
4
Wrapping prio in tbf
...a server on a DSL
line, which has both hobby and business websites. I want to make it so
that, if the bandwidth starts to get saturated, the hobby sites will slow
down, while the business sites will not be affected. In other words, I
want to limit the total bandwidth to 700kbit (the max upload is 768kbit on
the modem) with tbf, but have a priority queue so that the business site
can take all available bandwidth if it''s being used. The two sets of
sites are on different IP''s, so I can either filter by IP or set the TOS
flags with iptables.
I''m using kernel 2.4.18, so htb...
2006 Feb 20
6
HTB, strange capacity distribution
...Point E - I tried the same download from web just to be sure it works.
This is my HTB config (using latest htb-init script):
root:
RATE=100Mbit
( local traffic:
RATE=50Mbit
CEIL=100Mbit
PRIO=0 )
"ctrl" class:
RATE=64kbit
CEIL=256kbit
PRIO=1
"other" class:
RATE=128kbit
CEIL=768kbit
PRIO=2
"www" class:
RATE=512kbit
CEIL=2048kbit
PRIO=3
"p2p" class:
RATE=386kbit
CEIL=386kbit (or 2048, for Points B and C in figure above)
PRIO=4
All want to set up is: If class "www" with prio 3 gets fully utilized
(I start 10 http downloads at the same time), I ex...
2005 Mar 12
0
What are the proper values for rate/ceil in tc ?
....init script):
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1 htb default 99 r2q 1
tc qdisc del dev eth2 root
tc qdisc add dev eth2 root handle 1 htb default 99 r2q 1
tc class add dev eth1 parent 1: classid 1:2 htb rate 10Mbit
tc class add dev eth1 parent 1:2 classid 1:20 htb rate 768kbit ceil 796kbit
tc class add dev eth1 parent 1:20 classid 1:30 htb rate 612kbit ceil 712kbit
.....
tc class add dev eth1 parent 1:20 classid 1:40 htb rate 156kbit ceil 224kbit
.....
tc class add dev eth2 parent 1:30 classid 1:1099 htb rate 16Kbit ceil 128Kbit
tc qdisc add dev eth2 parent 1:1099 hand...