Displaying 9 results from an estimated 9 matches for "1536kbit".
2004 Aug 18
0
HTB prio question
...1:53 htb rate 56kbit
ceil 56kbit prio 4 quantum 1501
/sbin/tc qdisc add dev eth0 parent 1:53 handle 5: sfq perturb 10
/sbin/tc filter add dev eth0 parent 1:0 prio 1 protocol ip handle 53
fw flowid 1:53
# Parent class for VL AU -> Retel
/sbin/tc class add dev eth0 parent 1:1 classid 1:3 htb rate 1536kbit
ceil 1536kbit
# Zero Rate High Priority Class - seldom used
/sbin/tc class add dev eth0 parent 1:3 classid 1:30 htb rate 1kbit
ceil 1536kbit prio 1 quantum 1501 burst 1501 cburst 1501
/sbin/tc qdisc add dev eth0 parent 1:30 handle 30: sfq perturb 10
/sbin/tc filter add dev eth0 parent 1:0 prio 1 p...
2007 Sep 18
0
Got stuck when a traffic shapping script
...e
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:
# |
#...
2004 Nov 19
2
HTB&IMQ
...dev eth1 root
tc qdisc del dev imq0 root
tc qdisc del dev imq1 root
ifconfig imq0 down
ifconfig imq1 down
iptables -t mangle -F
#UPLOAD
ifconfig imq0 up
tc qdisc del dev imq0 root
tc qdisc add dev imq0 root handle 1 htb default 99
tc class add dev imq0 parent 1: classid 1:10 htb rate 1536kbit
# 8k max 15k
tc class add dev imq0 parent 1:10 classid 1:1020 htb rate 64Kbit ceil 120Kbit
tc qdisc add dev imq0 parent 1:1020 handle 1020 sfq
tc filter add dev imq0 parent 1:0 protocol ip prio 200 handle 1020 fw
classid 1:1020
#8k max 1536k SSH
tc class add dev imq0 parent 1:10 classid 1:1...
2005 Feb 01
1
multiple defaults
I have 1 100MB NIC with two 2MB-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 u...
2006 Apr 05
5
QoS - Ping problem
...v/null > /dev/null
#------
# Regras para a placa eth1
#------
$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 pe...
2008 Mar 19
0
block p2p
...E MARK RATE CEIL PRIORITY OPTIONS
eth0 5 full/3 full 1 tcp-ack,tos-minimize-delay
eth0 6 full/3 full 2 default
eth0 7 1kbit 1kbit 3
eth1 5 full/3 full 1 tcp-ack,tos-minimize-delay
eth1 6 full/3 full 2 default
eth1 7 1kbit 1kbit 3
tcdevices
#INTERFACE IN-BANDWITH OUT-BANDWIDTH
eth0 1536kbit 512kbit
eth1 1536kbit 512kbit
I left the p2p reject rule in my rules file (I thought it couldn't
hurt). The results were that bittorent was completely stopped, and ares
was slow and would bounce up to 5k once in a while and then slowly (over
the course of 30 sec or so) reduce to 0k and repor...
2005 Sep 28
1
Control Trafic
...t;
TC=/sbin/tc
IPTABLES=/sbin/iptables
# RATE DOWNLOAD
RAD_INET_ALL="1736kbit"
RAD_INET_LOW="64kbit"
RAD_INET_HIGH="256kbit"
RAD_METRO_ALL="90mbit"
RAD_METRO_LOW="70mbit"
RAD_METRO_HIGH="80mbit"
# RATE UPLOAD
RUP_INET_ALL="1536kbit"
RUP_INET="128kbit"
RUP_METRO_ALL="90mbit"
RUP_METRO="70mbit"
# RATA INTRANET
RATE_INTRA="80mbit"
DEST="85.120.48.128/25 192.171.172.0/24 10.10.10.0/24 217.156.110.86/32 193.226.18.0/24"
if [ "$1" = "status" ]
the...
2004 Apr 24
9
newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router
...ll,
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 local
services. My goal NOW was, or is, to garrantie each client with a fair
amount of bandwith for both, up and down.
That is, each client inside the LAN should get garrantied
- PER_CLIENT_DOWN=256kbit/s
- and...
2005 Oct 01
0
Re: RE: Control Traffic
.../sbin/tc
IPTABLES=/sbin/iptables
# RATE DOWNLOAD
RAD_INET_ALL="1736kbit"
RAD_INET_LOW="64kbit"
RAD_INET_HIGH="256kbit"
RAD_METRO_ALL="90mbit"
RAD_METRO_LOW="70mbit"
RAD_METRO_HIGH="80mbit"
# RATE UPLOAD
RUP_INET_ALL="1536kbit"
RUP_INET="128kbit"
RUP_METRO_ALL="90mbit"
RUP_METRO="70mbit"
# RATA INTRANET
RATE_INTRA="80mbit"
DEST="85.120.48.128/25 192.171.172.0/24 10.10.10.0/24 217.156.110.86/32 193.226.18.0/24"
if [ "$1" = "status" ]...