Displaying 15 results from an estimated 15 matches for "15kbit".
Did you mean:
10kbit
2002 Jun 26
1
htb problem
...th0: 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 1
Well, I''ve spent hours changing values to mangle: PREROUTIN...
2004 Nov 17
4
Help with prioritizing internet Cafe Terminals
Hi All,
I am new to tc so please forgive me. I have read as much documentation
as I can get my hands on, but I still have problems with getting the
rules right. Here is my scenario:
Internet Cafe/Office
4 Internet Cafe Terminals
3 Office Terminals
Leased Line connectivity at 64Kbps.
What I would like to have:
All Cafe terminals have priority to the internet over the office
machines. Each
2004 Jul 20
3
Fw: HTB - Really Big problem
----- Original Message -----
From: Michał Joachimiak
To: lartc@mailman.ds9a.nl
Sent: Tuesday, July 20, 2004 3:45 PM
Subject: HTB - Really Big problem
Hello everybody!
Since week i dig lists and www and can''t find solution for my problem.
I''m using HTB 3.13 kernel 2-4-25 smp iptables 1.2.9.
I''ve got situation like this:
LAN------Linux Box(routing only)------- Linux
2005 Apr 12
8
HTB ATM MPU OVERHEAD (without any patching)
...0 parent 1:1 classid 1:20 htb \
rate 50kbit \
ceil 695kbit \
prio 0 \
mpu 96 \
overhead 24
# GAMING
tc class add dev eth0 parent 1:1 classid 1:21 htb \
rate 600kbit \
ceil 695kbit \
prio 1 \
mpu 96 \
overhead 24
# NORMAL
tc class add dev eth0 parent 1:1 classid 1:22 htb \
rate 15kbit \
ceil 695kbit \
prio 2 \
mpu 96 \
overhead 24
# LOW PRIORITY (WWW SERVER, FTP SERVER)
tc class add dev eth0 parent 1:1 classid 1:23 htb \
rate 15kbit \
ceil 695kbit \
prio 3 \
mpu 96 \
overhead 24
# P2P
tc class add dev eth0 parent 1:1 classid 1:24 htb \
rate 15kbit \
ceil 69...
2003 Dec 03
2
Upload restriction problem
...---------------------------------------------------------
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 80kbit ceil 80kbit
quantum 1514
### Fake ip address
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 10kbit ceil
15kbit quantum 1514
tc qdisc add dev eth0 parent 1:10 handle 10 pfifo limit 2
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src
10.2.5.15 flowid 1:10
### Real ip address
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 20kbit ceil
25kbit quantum 1514
tc qdisc add dev eth0 paren...
2002 Oct 09
0
parent and hierarchy problems with cbq.init
...,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
RULE=10.21.4.0/24
#cbq-104.WC
DEVICE=eth1
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
RULE=10.21.77.0/24
RULE=10.21.78.0/24
This rule running well :)
The problem is...every time i try to make a hierarchical class (with parent), it is always failed
configuration that i tried :
#cbq-99.DMZINT
DEVIC...
2002 Oct 17
18
why dont packets go where i want?
...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 10
tc qdisc add dev eth1 parent 1:102 handle 102: sfq perturb 10
tc qdisc add dev eth1 parent 1:103 handle 103: sfq perturb 10
tc filter add dev eth1 parent 1: protoc...
2004 Jul 28
3
Re: Re: HTB 3.13 please help
//Just to not forget eth0 is WAN and eth1 is LAN . The box is NATing my lan.
I configured tcng to shape both download and upload
and i got connection loss again.
Maybe it is my script fault or it is something bad with packets marking .
this is how i mark outgoing packets
iptables -t mangle -A MYSHAPER-OUT -p tcp -s 192.168.1.23 -j MARK --set-mark
$ip
and this part of my script which is intented
2006 Jan 28
0
using tc on xen
...it download on an interface however it didn''t
seem to work. Still the interface is able to download at full speeds.
1. vm01 ==> is virtual interface
------------------------------------------------------------------------
#!/bin/sh
TC=/sbin/tc
DNLD=150Kbit # DOWNLOAD Limit
DWEIGHT=15Kbit # DOWNLOAD Weight Factor
$TC qdisc add dev vm01 root handle 11: cbq bandwidth 100Mbit avpkt 1000 mpu 64
$TC class add dev vm01 parent 11:0 classid 11:1 cbq rate $DNLD weight
$DWEIGHT allot 1514 prio 1 avpkt 1000 bounded
$TC filter add dev vm01 parent 11:0 protocol ip handle 4 fw flowid 11:1
Any...
2003 Nov 13
1
HTB traffic shaping + squid cache proxy
...########################
$TC qdisc add dev ppp0 root handle 1: htb default 20
$TC class add dev ppp0 parent 1: classid 1:1 htb rate 62Kbit burst 35k
$TC class add dev ppp0 parent 1:1 classid 1:10 htb rate 40Kbit ceil 60Kbit burst 25k prio 1
$TC class add dev ppp0 parent 1:1 classid 1:20 htb rate 15Kbit ceil 55Kbit burst 10k prio 2
$TC class add dev ppp0 parent 1:1 classid 1:30 htb rate 7Kbit ceil 28Kbit burst 5k prio 3
$TC qdisc add dev ppp0 parent 1:10 handle 10: sfq perturb 10
$TC qdisc add dev ppp0 parent 1:20 handle 20: sfq perturb 10
$TC qdisc add dev ppp0 parent 1:30 handle 30: sfq pertur...
2005 Oct 16
2
Lost packets and strange "behaviour" of my TC rules
Hi all.
I''m going on my 3rd week trying to get a simple traffic shapping to work the right way :( !!
My goal it to shape the traffic coming from one machine (pc1) to another machine (pc2) throught the "eth0" interface. My test configuration is as follows:
PC1
IP: 192.168.105.237
Mask: 255.255.255.0
OS: Red Hat Linux Kernel 2.4.20-8
Rules:
2005 Jan 08
2
script
...########################
$TC qdisc add dev eth1 root handle 1: htb default 20
$TC class add dev eth1 parent 1: classid 1:1 htb rate 62Kbit burst 35k
$TC class add dev eth1 parent 1:1 classid 1:10 htb rate 40Kbit ceil 60Kbit burst 25k prio 1
$TC class add dev eth1 parent 1:1 classid 1:20 htb rate 15Kbit ceil 55Kbit burst 10k prio 2
$TC class add dev eth1 parent 1:1 classid 1:30 htb rate 7Kbit ceil 28Kbit burst 5k prio 3
$TC qdisc add dev eth1 parent 1:10 handle 10: sfq perturb 10
$TC qdisc add dev eth1 parent 1:20 handle 20: sfq perturb 10
$TC qdisc add dev eth1 parent 1:30 handle 30: sfq pert...
2004 Dec 23
5
What is wrong here (continued...)?
...assid 1:24 htb rate 64kbit ceil 256kbit prio 5
$TC qdisc add dev $INTERFACE parent 1:24 handle 24: sfq perturb 10
$TC filter add dev $INTERFACE parent 1:0 prio 0 protocol ip handle 24 fw flowid 1:24
#25 - Everything else
$TC class add dev $INTERFACE parent 1:1 classid 1:25 htb rate 15kbit ceil 180kbit prio 8
$TC qdisc add dev $INTERFACE parent 1:25 handle 25: sfq perturb 10
$TC filter add dev $INTERFACE parent 1:0 prio 0 protocol ip handle 25 fw flowid 1:25
As you can see class 25 has priority 8, so all other traffic should get
preference, which is not happening.
It almost...
2006 Nov 20
2
Fwd: Traffic Shaping on a Transparent Bridge not working!
I''m trying to shape traffic on a Devil-Linux box.
This note was originally sent to their maillist,
because the LARTC list appears to have been down
for the past few days. My mailbox was just flooded
with a half dozen or so confirmation requests in response
to my repeated attempts to subscribe to this list.
---------- Forwarded message ----------
From: drew einhorn
2004 Aug 04
10
htb and fw problems
Dear All,
I''m using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and gentoo.
I have a leased-line 64 kbps.
I can see the counter works in iptables, but in the htb, it doesn''t go to the right class (it always go to the default class).
Any help will be appreciated
here''s my htb conf
#!/bin/bash
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root