Displaying 20 results from an estimated 1000 matches similar to: "Re: [Fwd: Re: Simple HTB setup with tcng]"
2004 May 05
3
Simple HTB setup with tcng
Hello all,
I am trying to set up a simple htb based system, where packets with
source ip 10.0.0.1 should have their own class.
I plan to use tcng to set it up easier.
Is there something wrong in my tcng file ?
~/tcng$ cat htb
/*
*/
#include "fields.tc"
#include "ports.tc"
dev eth0 {
htb ( ) {
class ( rate 600kbps, ceil 600kbps )
{
2004 May 07
0
Re: LARTC digest, Vol 1 #1714 - 5 msgs
Hi
I''m looking for a quick recipe for a newbie to control http traffic in
my linux gw. My internet is overloaded already and vpn external clients
are experiencing troubles (disconnecting in peak hours).
Any suggestions ?
Regards
Guillermo
Caracas/Venezuela
On Thu, 2004-05-06 at 14:40, lartc-request@mailman.ds9a.nl wrote:
> Send LARTC mailing list submissions to
>
2004 Oct 04
0
building module with tcng
hi all,
i''m having problems building a module from my tcng configuration file.
could someone verify the syntax for building a kernel module?
i did it as shown below ... module gets built but i cannot load it.
thanks
charles
ps -- sorry, don''t know c++ :-)
[root]# cat /etc/tcng.test
#define LAN "eth0"
#define LAN_INGRESS 750000
#define LAN_EGRESS 750000
dev
2004 Jul 14
1
tcng/tc setup
Hi all,
Can someone please help with a tcng setup? I have played with tc and tcng in
the past, and now would like to get some serious rules in place. However, I
have a difficulty in setting them up.
My setup is as follows:
One machine working as a firewall:
eth0 is the interface connected to a 512K DSL line
eth1 is connected to a LAN
eth2 is connected to another LAN, a bit like a DMZ
eth1 and
2004 Oct 23
0
error making htb example
Newbie here...
tcng version 10b
I''m just learning about htb and using tcng. I am trying to make the
example in
Martin A. Brown''s Traffic Control with tcng and HTB HOWTO v0.5
example 2
/*
* Simply commented example of a tcng traffic control file.
*
* Martin A. Brown <mabrown@securepipe.com>
*
* Example: Using class selection path.
*
* (If you are reading the
2004 May 24
1
Newbie STILL trying to limit bandwidth - is this script wrong?
My previous message
(http://mailman.ds9a.nl/pipermail/lartc/2004q2/012285.html) didn''t generate
any replies, so I thought I''d try posting what I''ve done trying to solve my
own problem, in hopes that someone will take pity and show me if/where I''m
going wrong.
Just to recap, I''m trying to accomplish this on my server, which streams
RealAudio files
2005 Jan 02
0
Performance Loss with HTB/tcng?
Hi,
I try to shape my incoming traffic. I have 2MBit/s DSL bandwith and
the following ruleset (on the internal interface):
$INT="eth1";
$INT_NET=192.168.1.0;
$MAX_IN=2Mbps;
dev $INT {
egress {
class (<$int>) if ip_src:24 == $INT_NET;
class (<$ssh>) if tcp_sport == PORT_SSH;
class (<$smtp>) if tcp_sport == PORT_SMTP;
class (<$http>) if
2006 May 28
0
TCNG HTB Branching the class not working. (bug or what)
Hi,
I am new to traffic control in linux. However, i have able to grab many
new knowledge in recent days. I find tcng somewhat easy to use (although
lack proper doc. of its usage).
I want to control traffic of several IP Addresses connected to my LANSIDE.
What I want is , i want to separate certain bandwidth to all my clients.
dev "etho" {
htb() {
class ( rate 400kbps, ceil
2002 Dec 31
3
[tcng] More complex example?
Hi
I''m completely stuck with the tcng language - I assume there must be
some way to arrange queues hierachically like
eth1
|
TBF
|
PRIO
/ \
class class
but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no
classes near "prio"" when run through tcc.
dev eth1 {
egress {
tbf (rate 128kbps, burst 64kb,
2006 Jun 23
2
TCNG question
Hey all, i have a class.
class ( <$call1> ) if ip_dst == 10.100.1.6 && tcp_dport == 22
if ip_src == 10.100.1.4 && tcp_sport == 22
;
Now when i apply this traffic TO 6 on port 22 is indeed limited to the speed
i specify BUT it doesn''t seem to take the src into account at all. If i
change the src to anything, even an address that
2005 May 14
1
Need some help
Hi all, I have read the larc howto and I need to apply a traffic shaper
with this configuration:
router / two interface etho and eth1
lan
lan is on eth1 and on eth0 I''ve the dsl connection (1.2 Mbit / 256 kbit)
I need to limit the bandwith towards lan and I''ve thought at HTB and
tcng. I write the script belove. I want limit the p2p and ftp (ssh and
irc) connection at 15
2004 May 20
1
tcng configuration question??
Greetings all,
OK - just started playing around with traffic shaping - have imq and htb
and (I think) everything else I need in the kernel and running well. My
initial lab task was to protect a H.323 session over a simulated half T1
while adding bulk traffic - got that accomplished after slogging through
learning tc and decided in short order that a more intuitive interface
would be
2004 Sep 07
0
TCNG Port Range
I''d like to set up a filter based on a port range.
I tried something like
class( <$test> )
if tcp_sport > 2001 && tcp_sport < 2015
;
But it seems to ''hang'' with this in there..
Is this the best/right way to go about this? if not, what is the best way?
Thanks
_______________________________________________
LARTC mailing list /
2005 Jul 20
1
how to define a port range?
hi,
i´am new in tcc (tcng). i try to define my qos for VoIP-Services.
For this i wantto define a class for a port range 10000 till 15000.
how is the right way?
this down works:
class (<$voip>) if tcp_sport => 10000 || tcp_sport <= 10000 ;
are there any examples of real installations - maybe including VoIP,
HTTP and P2P services?
regards
thorsten gehrig
2004 May 06
3
tcng ingress policing question
Hi all
I started playing with tcng to generate my tc rules, but I have some
difficulty implementing my rules...
The script below generates an error:
# Device eth0
tc qdisc add dev eth0 ingress
beginner.tc:2: don''t know how to build meter for this
The script is below, I changed the real IP numbers for XXs and YYs,
since it doesn''t really matter what they are. eth0 is the
2006 May 29
3
TCNG HTB priority and bandwidth
Hi,
I have several users on the lanside each allocated separate IP addresses.
I need to allocate th traffic to each IP addresses certain portion of
total uplink.
Say, 192.168.0.2 rate 128kbps, ceil 128kbps.
192.168.0.3 rate 65kbps, ceil 128kbps
129.168.0.4 rate 64kbps, ceil 64kbps.
and so on....
Also, for each user i would like to prioritize the traffic within the
allocated bandwidth.
say for
2005 Apr 27
0
Ingress and polishing
Hi,
We are using kernel 2.4.24, tcng version 10b.
I''m trying to do some policing in the ingress queue of the internet
device. Until now we had configured some filters dividing traffic into
queues, and on these queues the Double Leaky bucket meter was applied.
The idea is to have a minimum of bandwidth assigned per class (the cir
values) and a maximum (pir values), just as with the
2004 Sep 28
0
tcng version 10a
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-10a.tar.gz
md5sum 3f58447fdf393cbe3c584d80089806dc
See also http://tcng.sourceforge.net/
This release changes a bunch of things, hence the jump in the
version number:
- the name of the traffic control compiler has changed from
"tcc" to "tcng". This has become necessary because of a
name conflicy with the
2002 Oct 11
0
[tcng] sysVinit script
hi below is sysvinit script for handling tcng-script .... please excuse my bad bash skils, correct me where i''m doing stupid things :")
what is left... many things, if i have time i will implement them too :
- start [devices] - and then correct handling of service lock files i.e. per device lock file
- stats blah ... - all ideas are welcome !!
- test or some such, i mean the
2004 Aug 05
6
TC-ng questions/problems
Hi all,
We have 2 class C networks that are connected by a Linux router with the internet. We want to apply traffic control (bandwidth control). For that we wrote the tcc script below. We have 2 problems:
1. To establish a 2 megagit download we must actually set the value to 2500kbps. Is there a possible reason for that?
2. If we enable the WAN device we get very hight ping times (they change