Displaying 20 results from an estimated 28 matches for "384kbit".
2006 Feb 21
1
Shaping by IP''s
If in one time 3 IP adresses using internet. TC script:
DEV=eth0 # LAN
SERVER_IP=192.168.1.2 # eth0 ip address
tc qdisc add dev $DEV root handle 1: htb default 255
tc class add dev $DEV parent 1: classid 1:1 htb rate 384Kbit quantum
1500
tc class add dev $DEV parent 1:1 classid 1:20 htb rate 128Kbit ceil
384Kbit prio 0 quantum 1500
tc class add dev $DEV parent 1:1 classid 1:21 htb rate 128Kbit ceil
384Kbit prio 0 quantum 1500
tc class add dev $DEV parent 1:1 classid 1:22 htb rate 128Kbit ceil
384Kbit prio 0 quantu...
2007 Feb 09
4
need help with tc filters
...|
# 10: prio qdisc
# / | \
# 10:1 | 10:3
# | 10:2 |
# 101: | | sfq
# 102: | sfq
# 103: sfq
tc qdisc del dev $IF root
tc qdisc add dev $IF root handle 1: htb default 10
tc class add dev $IF parent 1: classid 1:10 htb rate 384kbit burst 3k
# This automatically creates 10:1, 10:2, 10:3
tc qdisc add dev $IF parent 1:10 handle 10: prio
# Add sfq qdisc to each of the priority classes
tc qdisc add dev $IF parent 10:1 handle 101: sfq
tc qdisc add dev $IF parent 10:2 handle 102: sfq
tc qdisc add dev $IF parent 10:3 handle 103:...
2004 Aug 06
0
CBQ + 802.1Q VLAN
...ome IP on one LAN, but I''m in trouble. There is a linux 2.4.26 connected to the Internet (eth0) / LAN(eth1) doing NAT. I''m using VLANs in the LAN Interface, that is connected to a 3Com SuperStack II in a 802.1Q tagged port.
I want to create a class that will limit the traffic at 384Kbit/s.
I want to create two leaf classes that limit the traffic at 256Kbit/s for each one.
I want to attach two sfq qdiscs so the classes are treated equally.
I want to put filters that put one IP address for each 256 class (supose that are only two computers on LAN).
When one computer is downloading a...
2007 Feb 05
16
Problems with HTB. Help!
...root handle 1: htb default 10
tc qdisc add dev eth1 parent root handle 2: htb default 10
##########################
# Setup the root classes #
##########################
tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbit \
ceil 10mbit
tc class add dev eth1 parent 2: classid 2:1 htb rate 384kbit \
ceil 384kbit burst 15k
###########################
# Setup the child classes #
###########################
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 10mbit \
ceil 10mbit prio 0
tc class add dev eth1 parent 2:1 classid 2:10 htb rate 224kbit \
ceil 384kbit prio 0
tc class add dev et...
2004 Jul 28
0
CBQ Problem
...e IPs in my lan, but I''m w/ trouble. I have a linux box connected to the Internet. In the other side of this box is my LAN. I want to create the following scenario:
My root qdisc is attached to a 100Mbit/s NIC
I want to create a class attached to this qdisc that will limit the traffic at 384Kbit/s.
I want to create two leaf classes that limits the traffic at 256Kbit/s.
I want to attach two sfq qdiscs so two classes are treated equally.
I want to put one LAN IP for each leaf class.
When one IP is downloading a file from internet it will never be more than 256Kbit.
When both IPs is downloadi...
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 Aug 18
0
HTB prio question
...ssid 1:31 htb rate 1152kbit
ceil 1536kbit prio 2
/sbin/tc qdisc add dev eth0 parent 1:31 handle 31: sfq perturb 10
/sbin/tc filter add dev eth0 parent 1:0 prio 1 protocol ip handle 31
fw flowid 1:31
# Residential Class for VL -> Retel
/sbin/tc class add dev eth0 parent 1:3 classid 1:32 htb rate 384kbit
ceil 1536kbit prio 3
/sbin/tc qdisc add dev eth0 parent 1:32 handle 32: sfq perturb 10
/sbin/tc filter add dev eth0 parent 1:0 prio 1 protocol ip handle 32
fw flowid 1:32
# Zero Rate Low Priority Class - VL -> Retel - All p2p traffic for
this sector goes through here
/sbin/tc class add dev eth0...
2004 Jul 21
4
shaping passive ftp traffic
Hi,
I have tried unsuccesfully to limit my ftp server send speed in linux.
I have an ipcop linux firewall/router with 2 nics. 1 nic (eth1) is
connected to a 3mbit/384Kbit cable connection and the other (eth0) a
switch. Behind it i have a suse linux box and a windows box.
On the suse box i run proftpd. I need to shape my passive ftp send
speed to 34KBytes because if it is maxed out at 45K it slows down all
surfing on the entire network.
I have tried running wo...
2004 Feb 03
4
wondershaper
Hi,
I just installed wondershapper 1.1a on my ipcop firewall box. I have
roadrunner cable with a ftp server setup. My download speed is 2mbit (I get
225 KBytes) and my upload is 384kbit (I send at 43 KBytes).
What should the settings in wshaper?
I can ping yahoo.com at 90msec with little traffic.....and at around 220msec
with full upload traffic.
Mark
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listi...
2004 Jul 24
1
tc del filter troubles
...2:2775 htb rate 100Kbit
ceil 25000Kbit quantum 1514
/sbin/tc qdisc add dev eth2 parent 2:2775 sfq perturb 10
/sbin/tc filter add dev eth2 parent 2:30 protocol ip handle 1775 fw
flowid 2:2775
# Download shaper international -> 2:40
/sbin/tc class add dev eth2 parent 2:40 classid 2:3775 htb rate 384Kbit
ceil 800Kbit quantum 1514
/sbin/tc qdisc add dev eth2 parent 2:3775 sfq perturb 10
/sbin/tc filter add dev eth2 parent 2:40 protocol ip handle 1775 fw
flowid 2:3775
I change ''add'' with ''del'' but only sfq qdisc are deleted:
#!/bin/bash -v
# Download shaper EX -...
2002 Jul 26
2
RTNETLINK answers: Invalid argument, fwmark
...all to queue traffic and implement
different restrictions on different protocols.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 190
tc class add dev eth0 parent 1: classid 1:3 htb rate 2mbit burst 30k
tc class add dev eth0 parent 1:1 classid 1:90 htb rate 50kbit ceil 384kbit
burst 5k
tc qdisc add dev eth0 parent 1:90 handle 190: sfq perturb 10
tc qdisc add dev eth0 parent 1:3 handle 310: sfq perturb 10
tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 3 fw flowid 1:3
This last line gets a "RTNETLINK answers: Invalid argument"
I''m using...
2004 Jan 19
3
Shaping inbound ok, outbound wrong
...sid 1:82
tc class add dev eth0 parent 1:2 classid 1:84 htb rate 128Kbit ceil 128Kbit
tc qdisc add dev eth0 parent 1:84 handle 84 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
200.43.134.25 classid 1:84
tc class add dev eth0 parent 1:2 classid 1:85 htb rate 384Kbit ceil 384Kbit
tc qdisc add dev eth0 parent 1:85 handle 85 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
200.43.134.1 classid 1:85
tc class add dev eth0 parent 1:2 classid 1:86 htb rate 384Kbit ceil 384Kbit
tc qdisc add dev eth0 parent 1:86 handle 86 sfq pert...
2003 Jan 15
5
HTB. QoS and Shorewall
Group,
I am reading about tc (traffic control) and willing to get my feet wet. As requirement, there should be HTB compiled in the kernel. I grabbed a Mandrake 8.2 distro, and didn''t installed the kernel source.
Anyone knows if the HTB is compiled in Mandrake 8.2, or point a way to find that out? I tried to read the /usr/src/kernel.xxxxx/.config file, but it doesn''t exists.
2006 Jul 19
2
What am I missing?
On a custom compiled Linux 2.6.13 kernel...
# tc qdisc add dev ppp145 handle ffff: ingress
# tc filter add dev ppp145 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 384kbit burst 10k drop flowid :1
RTNETLINK answers: Invalid argument
This works fine on a CentOS machine and my Fedora Core 2 box with default
kernel. I''m trying to figure out what is missing in the custom built 2.6.13
kernel. strace isn''t real helpful, and there doesn''t appea...
2006 Jan 08
2
HTB - not borrowing, not exceeding rate
...le 2: sfq perturb 5 quantum 1500b
tc class add dev eth2.24 parent 1:6667 classid 1:3 htb rate 1kbit ceil 256kbit
quantum 2000 burst 100kbit
tc qdisc add dev eth2.24 parent 1:3 handle 3: sfq perturb 5 quantum 1500b
....
....
tc class add dev eth2.24 parent 1:6667 classid 1:1006 htb rate 1kbit ceil
384kbit quantum 2000 burst 100kbit
tc qdisc add dev eth2.24 parent 1:1006 handle 1006: sfq perturb 5 quantum
1500b
(some hashing filters - which I think are working properly, so not shown here)
# traffic going to these networks goes to hashing filters
tc filter add dev eth2.24 protocol ip parent 1:0 u32...
2004 Apr 16
1
Traffic Shaping using Shorewall and WonderShaper
Hi Guys,
I''m asking this question again because I have exhausted resources
for understanding how to get it to work.
I''ve read the howto on getting traffic shaping to work (shorewall''s
web site) as well as trying out wondershaper''s htb and cbq scripts.
Somehow both does not seem to happen as I want it to.
I''ve also read through the lartc
2005 Jun 23
0
QOS with squid in the same machine
...tb default 40
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 15k
tc class add dev eth0 parent 1: classid 1:2 htb rate 768kbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 100mbit ceil
100mbit burst 15k
tc class add dev eth0 parent 1:2 classid 1:20 htb rate 384kbit ceil
768kbit burst 15k
tc class add dev eth0 parent 1:2 classid 1:30 htb rate 256kbit ceil
768kbit burst 15k
tc class add dev eth0 parent 1:2 classid 1:40 htb rate 128kbit ceil
768kbit burst 15k
#The author then recommends SFQ for beneath these classes:
tc qdisc add dev eth0 parent 1:10 handle...
2006 May 09
3
tc del class not working
When I start my script:
* - Creating classes on br1 for upload control ...
* - tc class add dev br1 parent 2:0 classid 2:46 hfsc ls m1
576.0Kbit d 2000ms m2 192.0Kbit ul m2 384Kbit ...
[ ok ]
* - tc class add dev br1 parent 2:46 classid 2:47 hfsc sc umax
1500b dmax 30ms rate 80Kbit . [ ok ]
* - tc class add dev br1 parent 2:46 classid 2:48 hfsc ls m2
152.0Kbit ul m2 152.0Kbit ... [ ok ]
* - tc class add dev br1 parent 2:46 classid 2:49 hfsc rt m2
76.00Kbit...
2004 Nov 23
1
HTB/CBQ - shorewall and bridge
This is my situation :
FTP/Webserver ------|
Mailserver ---------|-------Cisco 827 RTR-----Internet
DB App. server -----|
I want to do the following :
FTP/Webserver ------|
Mailserver ---------|------BRIDGE------Cisco 827 RTR-----Internet
DB App. server -----|
The internet connection is 3mbit/384kbit ADSL connection, with 1 fixed
address. The cisco router is acting as a router with NAT. Some ports
are forwarded to internal addresses (3 servers, web, mail, App.). the
problem we are experiencing is the same problem that Tom had when he
was hosting shorewall.net at home.
When people mail large fi...
2005 Apr 27
5
Too stupid to figure out shaping
First I''ll confess my sins, then I''ll beg for help.
I own a small wireless ISP, and I sell service at three levels, 256kb/s,
384kb/s, and 512kb/s. For about 18 months, I thought I had this bandwidth
limiting figured out. I had three HTB classes off the root, one each with
the limits above. Since each customer has a single IP address, I used
iptables to mark packets