Displaying 20 results from an estimated 6000 matches similar to: "Bandwidth shaping script appears to incorrectly halve the bandwidth"
2001 Feb 05
0
bandwidth limiting when src and dst are on the same interface
Hello!
I have a problem here.
I set up a Linux 2.4 machine to do bandwidth limiting for some of our
customers.
Current setup is something like this:
|--------| backbone |-------| |---------|
|Internet|225.1-----------225.10|limiter|228.1----228.10|cust. gw2|
|--------| | eth0 |-------| eth1 |---------|
|
225.20
2004 Aug 06
0
CBQ + 802.1Q VLAN
I need to shape traffic from some 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
2004 Aug 13
1
Shaping weirdness
I''ve been following the HOWTO, and reading mailing list discussions
about throttling bandwidth, and have had some success, but I just want
to tie off some loose ends. Essentially what I am wanting to do is to
keep our bandwidth usage below 1megabit, because if we go over we get
charged for that traffic. I''ve used some of the examples from the
HOWTO to limit our bandwidth, but I
2006 Jan 06
1
Wondershaper and DSCP
Did anyone ever answer this one? THIS is what I am trying to do:
>[LARTC] cbq+sfq and DSCP marking
>Maria Joana Urbano stmaria@dei.uc.pt
>Thu, 13 Feb 2003 19:29:42 +0000
>
> * Previous message: [LARTC] Monitoring....
> * Next message: [LARTC] two routes 1 network card
> * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
2002 Apr 06
0
Clarification required for Prio in CBQ dequeing order
Hi,
I have been modifying the Wonder shaper to include another queue. My
understanding was packets would be de queued to hardware in the following
order:
cbq1 -> sfq10 > sfq20 > sfq30.
Also we only move onto the next queue when the preceding one is empty.
However is seems to be prio xx number that reflects the order packets are
de queued not to what flowid they belong to.
If I
2003 Sep 04
3
CBQ Rate
Hi everyone,
This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at
10Mb/s. The purpose is to test CBQ
Here is my script
-------------------------------------------------------------------
# Root qdisc
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \
avpkt 1000 cell 8
# Classes
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \
rate 5Mbit weight
2006 Jan 08
1
unexpected drop
Hello everybody,
I have a Linux router with an ethernet adapter and a ADSL device.
My router has a GRE tunnel connected to a remote IP address.
Using "tc" I have configured 3 different classes:
1. 290kbit rate (used for Voip Services)
2. 180kbit rate (used for GRE tunnel)
3. 80kbit rate (for generic data traffic)
For each class, using "iperf", I send some data from a PC
2005 Jan 05
0
Best QoS Policy for VoIP
Hello all,
I''ve got a couple redundant (Spanning Tree Protocol) boxes running FC1
minimal install + bridge-utils and they are working great for QoS + ntop
monitoring. I''m wondering if I should handle the VoIP traffic a little
differently. I don''t mind letting VoIP and Video lend out traffic when it
isn''t being used, so that''s why I gave them such
2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all,
I have installed 2.4.5 kernel, Debian Potato.
my tc script:
#!/bin/bash
tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000
echo root
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \
10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
echo class
tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \
5Mbit allot
2004 Jan 27
1
Filter not listed for firewall filter - and not running!
Hello all,
I am having some trouble getting a firewall filter to work with TC. I am
actually setting the mark via EBTables (which is working as far as I can
tell, I am also logging the packet and my syslog reports lots of marks):
ebtables -t broute -A BROUTING -p ipv4 -i eth1 -s 08:00:46:60:B3:57 -j mark
--set-mark 7 --mark-target CONTINUE --log --log-level debug --log-prefix
"EBFW Mark
2002 Jan 09
0
Re: iptables mark & iproute]
hi all
At last i got sucess !.. but am confused y it didnt work earlier..the
difference today was that i reinstalled RH7.2 & complied kernel
2.4.16(not 17).. rest was same..... & the bandwidth too is under control!..
is it normal for to get more than said bandwidth--i mean i restricted a
network with 8Kbit(with same script as below) but still was able to get
a download(ftp) of
2001 Mar 01
5
Bandwidth limiting a MASQed network.
Hi!
I just recently entered the wonderful world of the so called "advanced
routing" and decided to try and limit the bandwidth of a MASQed network
here and ended up in trouble :(.
The setup is (as far as I can tell) pretty straightforward. eth0 is
connected to the "real" network with a proper IP, and eth2 is 192.168.10.x
(the MASQed network). All of it is basicly right out of
2006 Aug 13
3
trying to prioritize voip traffick
I am using a server with asterisk and I am trying to prioritize voip
traffick -- I am a newbie at this traffic shaping, so please bear with
me. I used the script below and what happens is thatall traffic in
the bulk class stops after a couple of minutes. Also, should I
include the ports for rtp in the filter statements with the ports 5061
and 4569? Note I have a fairly big pipe -- supposed to
2006 Aug 21
1
QoS on a bridge+NAT
I have a setup where I have three NIC in a Debian box. I have eth1
conected to internet and eth0 NAT''ed to 192.168.1.1. eth1 and eth2 are
bridged together, given ip 192.168.122.2.
What I want to achieve is to perform traffic shaping on the bridge as
well as prioritizing the traffic from eth0 very low. (This is from
trental flat ...) However it seems that I am unable to perform thhe
2004 Dec 22
4
how to add burstable rate?
Hi,
I managed to fix 128kbit for an IP address of 192.168.200.3 as below: -
tc qdisc add dev eth3 root handle 1: cbq avpkt 1000 bandwidth 100mbit
tc class add dev eth3 parent 1: classid 1:1 cbq rate 128kbit allot 1500
prio 5 bounded isolated
tc filter add dev eth3 parent 1: protocol ip prio 16 u32 match ip dst
192.168.200.3 flowid 1:1
tc qdisc add dev eth3 parent 1:1 sfq perturb 10
How can I
2005 Feb 13
2
Problems after Kernel upgrade to 2.6.10
Greetings,
I have been reading the list for a little while now, but this is the first
occasion I have had to post--of course, because of a problem. My problems
began when I upgraded my RedHat 9 system to 2.6.10 from source. Aside from
some other booting issues and things, all of which appear to be resolved,
the only things NOT working are my scripts for traffic control. I get a
whole host of
2001 Sep 27
0
Not bounded but almost....
Hi, I have a question about CBQ and wonder if I can make a class that are
guaranteed 2Mbit but can borrow excess bandwith and only to specific rate.
In my exampel below I want to guarantee the network x.x.x.x/y 2Mbit and
they can borrow up to MAX 4Mbit.
I have tried to create subclasses but it only works like bounded or not.
# tc qdisc add dev eth0 root handle 10: cbq bandwidth 10Mbit avpkt
2005 Oct 25
4
Terminal Services and traffic control.
Hi everybody,
I have a network that only uses terminal services.
Look at the diagram.
20 machines running WinXP <-> LinuxFW-1 <-> 1Mbit link dedicated fiber link <–> LinuxFW-2 <–> Terminal Server
I’d like to give the maximum priority for bandwidth to terminal services (port 3389).
I’ve changed the CBQ script from LARTC site to suite my needs, but every time I
2004 Jun 22
0
Perl Script for pulling information from a mysql database
Here''s the script. I would have posted it to a website, but I figure
this''ll be better so it is always on the list for people in the future
in case they wanted to see it.
If you have any questions about any of it, please let me know. Mike and
I aren''t the cleanest of programmers. Cron the script to run whenever
you need it to. :)
#!/usr/bin/perl
#
# TC Helper Script:
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello,
I''m using tc to limit the bandwidth of our wireless customers. I have a
working script, but I''m not happy with it. I''m trying to write a more
sophisticated script, but when I run it, it give me this error:
RTNETLINK answers: File exists
I have no idea what this error means or how to fix it. Here is a portion
of the script (the whole script shapes several