Sam LARTC wrote:
> FYI,
>
>i've just created a quick patch adding esfq (Enhanced Stochastic
> Fairness queueing discipline) for tcng (Traffic Control Next
> Generation).
> Patch is located at http://devel.dob.sk/tcng+esfq.
> Enjoy.
I put a link to your patch page on the ESFQ page. Next ti
FYI,
i've just created a quick patch adding esfq (Enhanced Stochastic
Fairness queueing discipline) for tcng (Traffic Control Next
Generation).
Patch is located at http://devel.dob.sk/tcng+esfq.
Enjoy.
Sam
___
LARTC mailing list
LARTC@mailman.ds9a.
I'm trying to get TCNG working on an openSuSE 10.2 machine, may I ask for
compilation help here, or is it out of context for this list?
Did something replace TCNG?
Roger Venable
Ann Arbor, Michigan, USA
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http
Hello,
A while ago I switched a bandwidth management setup from
bash shell script using tc to a MUCH more readable tcng solution (yes,
the same one I asked for help with earlier. It worked perfectly, thanks)
and it's working very well.
However, one of our clients now has a slightly unique
Hi,
Looking at the following sample, shouldn't the client1_a be restricted to
35kBps even when there is 50kBps available. Please see the following
configuration and suggest.
What I wanted to do is I have clients grouped on VIP and Poor. The VIP
clients and poor clients may be subscribed with the s
Greetings Rens,
: I've been migrating an existing htb-based traffic shaper from a
: hideous (I'm allowed to call it that - I wrote the damn atrocity
: myself) tc shell script into a TCNG configuration file, and after
: a few false starts I think I managed to get the syntax right.
I know w
Paul,
: I have used tcng to help start me with some tc code that i can
: put into a bash script and call from a c program. I have to
: dynamically
:
: 1. Add filters for communications between different nodes.
: 2. Delete these filters as communications cease between the
: nodes a
Hi,
I've been migrating an existing htb-based traffic shaper from a
hideous (I'm allowed to call it that - I wrote the damn atrocity myself)
tc shell script into a TCNG configuration file, and after a few false
starts I think I managed to get the syntax right.
However, during tests it look
Greetings again Paul,
: 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 s
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
Hi,
Yes! This (htb-gen software) perfectly meets my demand. I have also drawn
a similar solution with tcng but unable to prioritize traffic for each
user separately. Again, I seek someone would help me about how to do it
with tcng.
I have prioritize the traffic but the higher priority traffic compl
Hi,
Yes! This (htb-gen software) perfectly meets my demand. I have also drawn
a similar solution with tcng but unable to prioritize traffic for each
user separately. Again, I seek someone would help me about how to do it
with tcng.
I have prioritize the traffic but the higher priority traffic compl
On Monday 29 May 2006 02:47, [EMAIL PROTECTED] wrote:
> 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,
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
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 certai
On Tuesday 14 March 2006 11:42, Larry Brigman wrote:
> But tcng has as a part of it tcsim which allows you to experiment with
> a tc configuration
> without taking a box down.
True, if you can read the source and figure out on your own how to use it
meaningfully. Perhaps I just missed something
On 3/13/06, Jason Boxman <[EMAIL PROTECTED]> wrote:
> On Monday 06 March 2006 19:41, Juan Felipe Botero wrote:
> > Nobody knows something new about tcng?
> >
> > I really think that this kind of language help people, i order to do easier
> > configurations
> >
> > i want to know how can i do in tcn
On Monday 06 March 2006 19:41, Juan Felipe Botero wrote:
> Nobody knows something new about tcng?
>
> I really think that this kind of language help people, i order to do easier
> configurations
>
> i want to know how can i do in tcng a nested classes configuration with
> HTB?
From the number of t
Nobody knows something new about tcng?
I really think that this kind of language help people, i order to do easier configurations
i want to know how can i do in tcng a nested classes configuration with HTB?-- Juan Felipe Botero Ingeniería de sistemasUniversidad de Antioquia
__
Hi: I try to install TCNG into my Fedora core3 but make test error,so when I compile my tc code , I saw the same error -> cpp: unregnized option `-$'my cpp verwion is cpp-3.4.2-6.fc3 , put kernel 2.4.27 & iproute2-2.6.9 source under tcsim/ , can anybody tell how to fix this problem??ThanksFio
Hi all,
I have a couple of questions regarding tcng behavior.
First - I want to mark TCP_ACK packets as high priority, a common case. I
figured the tcp_ACK rule in fields4.tc would be enough but I've come
across Jason Boxman's tutorial and he recommends using:
class( <$ack> )
if ip_len <
hi all.
i really need help.
i need a working example on shaping the ingress per user using tcng
without IMQon a mechine which has two interfaces, and acts like a
firewall, and NAT for intrenet connection sharing:
eth0 is the external facing the Internet.
eth1 is the internal towards my LAN
Yes, you simply have to add your kernel version in the configure script
(KVERSION if I remember correctly).
Cheers,
Andreas
ddaasd ([EMAIL PROTECTED]) schrieb:
>
> Hi,
> I've tried to compile tcng on my 2.6.12 kernel and the ./configure
> returned that only 2.4 and 2.5 are supported.
>
> So, does
Hi,
I've tried to compile tcng on my 2.6.12 kernel and the ./configure
returned that only 2.4 and 2.5 are supported.
So, doesn't tcng compile also on 2.6 kernel?
--
ddaas
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mail
I'm considering using tcng for compiling a set of HTB bandwidth
allocations, which may change now and then, due to new users, etc. There
may be a simple web front-end to change the allocations. All allocations
are done by subnets, no complicated rules involving matching on ports.
My questions are:
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-10b.tar.gz
md5sum d28bc6b1ed8973814213942288ab5d18
See also http://tcng.sourceforge.net/
This release fixes a few compatibility problems with
internationalization and with kernels using strange
version names.
Also, the "mtu" parameter
... 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
"tc
Hi all,
Ooops, please ignore my previous e-mail. I reversed the bits and bytes.
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: [EMAIL PROTECTED]
web: www.askesis.nl
___
Hi all,
The following ingress statement:
$host2 = SLB(cbs 1024kb, cir 2048kbps);
class(<>) if ip_dst == 81.175.84.2 && SLB_else_drop($host2);
is compiled by TCNG into the folling tc command:
...
tc filter add dev eth0 parent :0 protocol all prio 1 u32 match u32 0x51af5402
0xff
.
- Original Message -
From: "Joost Kraaijeveld" <[EMAIL PROTECTED]>
To: "Lartc (E-mail)" <[EMAIL PROTECTED]>
Sent: Saturday, September 18, 2004 9:53 AM
Subject: [LARTC] TCNG on a Linux NAT router question
Hi all,
I want to apply traffic control using TCNG 1.30 o
Hi all,
I have 2 questions regarding policing
1. What is the problem with policing as in most mesages I can find people say don't
but I have not found a why?
2. I have the egress below working (numbers in example are bogus, I know). How do I
add an ingress policy?
/* compile this file with tcc
Hi all,
I want to apply traffic control using TCNG 1.30 on a NAT router. Can I use the IP
addresses on my LAN to shape the traffic on the outgoing interface, with other words,
does the address translation take place before or after traffic control? (Or does it
depend and if so, on what?)
Groe
On 07/09/04 Michael P. Soulier did say:
> #include "fields.tc"
> #include "ports.tc"
>
> dev "eth0" {
> egress {
> // Voice traffic
> class (<$voice>)
> if udp_dport >= 2 && udp_dport <= 23000;
> // SSH connections
> class (<$interactive>)
>
Hey people,
I have the following tcng configuration:
#include "fields.tc"
#include "ports.tc"
dev "eth0" {
egress {
// Voice traffic
class (<$voice>)
if udp_dport >= 2 && udp_dport <= 23000;
// SSH connections
class (<$interactive>)
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
__
Has anyone compiled
tcng with kernel 2.6 ?
Any clue
?
class ( <$adsl_medium> ) if meta_nfmark == 0x30;
It works great. Thanks for help :D.
> Hello,
>
> you can try:
>
>
> .
> .
> .
>
> // ip header type of service
> class ( <$adsl_high> ) if ip_tos == 0x80;
> // metadata packet mark
> class ( <$adsl_medium> ) if meta_nfmark == 0x
Hello,
you can try:
.
.
.
// ip header type of service
class ( <$adsl_high> ) if ip_tos == 0x80;
// metadata packet mark
class ( <$adsl_medium> ) if meta_nfmark == 0x30;
.
.
.
Cheers
Charles
Does anybody know how to you use tcng with packet
marking. I'm masquerading my connection so to shape outbound traffic I need to
mark packets with iptables. But how to you make tcng to recognize marked
packets?
Thanks for your help.
On Wednesday 14 July 2004 05:54, Gareth Glaccum wrote:
> 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.
I'd suggest using `tc` and using Net
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 5
Heya all,
Has anyone ported tcng to kernel 2.6.x
yet? I tried to compile and it was fairly specific in terms of what
kernels it would and would not work with. Not being much of a kernel
hacker I didn't trust disabling the checks *grins*.
John D.
> Message: 8
> To: [EMAIL PROTECTED]
> From: "John B Dunning/NS/WSC" <[EMAIL PROTECTED]>
> Date: Thu, 20 May 2004 08:23:53 -0500
> Subject: [LARTC] tcng configuration question??
>
> {
> egress
> {
>
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 sloggin
Hey all,
I need to make a setup for VoIP using Linux QoS. For that, I decided to
follow Leonardo Balliache (http://www.opalsoft.net/qos/VoIP.htm)
recomendations; an Ingress filter to forward the SIP packets to from the
incoming interface (eth2) to the outgoing one (eth0) as soon as possi
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-9m.tar.gz
md5sum 636d382f6db917b385e7a6f158136ca2
See also http://tcng.sourceforge.net/
This release contains the upgrade to 2.4.26, plus a few compatibility
changes.
There's also a major bug that strangely went undetected until
recen
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 number
On Friday 16 April 2004 17:07, Jason Boxman wrote:
> I can't seem to match packets less than 512 bytes:
>
> class( <$bulk> )
> if tcp_dport == 81 && !( ip_len & 0xfe00 )
> ;
> or
> if tcp_dport == 81 && ip_len < 512
Reversing the rule such that it is:
if ip_len < 512 && tcp_dport == 81
works a
I can't seem to match packets less than 512 bytes:
class( <$bulk> )
if tcp_dport == 81 && !( ip_len & 0xfe00 )
;
or
if tcp_dport == 81 && ip_len < 512
Both rules match any packet I send to port 81, even when the total IP length
is much greater than 512 bytes:
class htb 2:4 parent 2:1 leaf 5:
Hi all. Im trying to shape some traffic, and i see
that the best way to do that is using TCNG. The thing is: I dont know how to
shape bandwidth per IP. Exemple:
192.168.1.20 > 256kbit(down)
128kbit(up)
192.168.1.21 > 512kbit(down)
128kbit(up)
192.168.1.22 > 180kbit(down)
128
Hello.
I have been trying to duplicate these u32 matching rules using TCNG, but
without much success:
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32\
match ip protocol 6 0xff \
match u8 0x05 0x0f at 0 \
match u16 0x 0xffc0 at 2 \
match u8 0x10 0xff at 33 \
flowid 1:10
Wondershaper
te 200kbps, ceil 3500kbps ) { sfq; } ;}}I can't
tell if this does what you'd like, but maybe it does.Good
luck,-Martin--Martin A. Brown --- SecurePipe, Inc. ---
[EMAIL PROTECTED]___LARTC
mailing list / [EMAIL PROTECTED]http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: htt
Hi!
I want to install tcng with tcsim, but I get several errors when trying
to compile it:
cc -g -Wl,-E -o tcsim tcsim.o jiffies.o timer.o command.o var.o host.o
attr.o lex.yy.o y.tab.o ksvc.o klink.o usvc.o module.o trace.o
klib/klib.o ulib/ulib.o -lfl -lm -ldl -L../shared -ltcngmisc
ulib/uli
Barry,
: Eth0 is connected to a private network which has on it a Media Server
: streaming rtsp files Eth1 is a wireless card on an ad-hoc network with
: a laptop, a pda, and a desktop.
Understood.
: The idea is then to imitate different QoS levels to the different
: devices, the idea being
Hi Martin,
Eth0 is connected to a private network which has on it a Media Server
streaming rtsp files
Eth1 is a wireless card on an ad-hoc network with a laptop, a pda, and a
desktop.
The idea is then to imitate different QoS levels to the different
devices, the idea being
that the pda shouldn'
Hello Barry,
: I'm using TCNG to restrict certain types of traffic to certain ip
: addresses using a Linux router, and some masq'd computers behind it.
You didn't tell us anything about the networks behind eth1. So, is this
host running as an Internet access device?
: #define INTERFACE eth1
Hi All,
I'm using TCNG to restrict certain types of traffic to certain ip
addresses using a Linux router, and some masq'd computers behind it.
Unfortunately something like this...
#include "fields.tc" #include "ports.tc"
#define INTERFACE eth1
dev INTERFACE { egress {
/* In class
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-9l.tar.gz
md5sum b1dde4ec97fa042d76d498cf87019551
See also http://tcng.sourceforge.net/
Since I cleaned up so many things for Gentoo yesterday, here's one
for Debian 3.0. The main problems were:
- its CPP doesn't like variadic macros
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-9k.tar.gz
md5sum 330440ac8cd8991fc1a09feacee0612e
See also http://tcng.sourceforge.net/
This release addresses various compatibility issues:
- compatibility with GCC 3.3.3
- better compatibility with Gentoo Linux
- a few general 64
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-9j.tar.gz
md5sum d0f0b1b20a6711f447d5321138ab5852
See also http://tcng.sourceforge.net/
This is a maintenance release that mainly synchronizes with current
2.4 kernels.
The complete list of changes is below.
- Werner
---
Hi!
This is my second post in this list with this problem and I need clearing.
Situation is this:
My host is a WLAN Access Point (AP) and I am using one network card. The
host is going to generate packets to stations and those links with good
uplink to the host are going to have priority in the do
Anyone have acomplished this? tcc just gives syntax error :(
--
pagarbiai,
ArtÅras Ålajus
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> Hi,
> I'am looking for tcng examples where ingress is used.
> Please post me some (working) examples, no need for explanation.
> Thank you
> Alex
Here is an example of ingress policing.
I haven't tested this script under Linux.
- Jacob
dev "s0e0" {
ingress {
$from_c1_net = ip_src:
hi all,
below is my tcng configuration (based on wondershaper) which yields an error that i do not understand ...
can't dump subexpression (if_u32.c, access expected)
[==]--[&.IPv6 address]--[==]--[access]-- (none)
| | | +-- 9
| | | `-- 8
|
Hi,
I'am looking for tcng examples where ingress is used.
Please post me some (working) examples, no need for explanation.
Thank you
Alex
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-9i.tar.gz
md5sum 50f497a7539e4c03c5783b410b132127
See also http://tcng.sourceforge.net/
Highlights:
- added support for TBF with an inner queuing discipline
(Kernel >= 2.4.22 or >= 2.5.75. iproute2 doesn't change.)
- added an ebuild
> Well--I was going to write a short answer, which would have said something
> like "look at the parent of the filters". But...that wouldn't have helped
> much. So here's a long-winded message about your config file and
> situation.
Thanks for writing the long version...
> I'm going to guess
Hello Rubens,
Well--I was going to write a short answer, which would have said something
like "look at the parent of the filters". But...that wouldn't have helped
much. So here's a long-winded message about your config file and
situation.
: After migrating a tc-based script to tcc (from the tc
Hi.
After migrating a tc-based script to tcc (from the tcng package), we are
having a filter issue. The script generated by tcc with tc commands is not
configuring the tc filters; "tc filter show" results in none after the
script is run, although no error message is generated from the "tc filter
hi there,
will the following config work :
class (<$class1>) if nfmark == VALUE && $condition1;
class (<$class2>) if $condition1;
class (<$class3>) if nfmark == VALUE && $condition2;
class (<$class4>) if $condition2;
class (<$class5>) if nfmark == VALUE && $condition3;
class (<$class6>) if $condi
Hi,
I tried compiled tcng withj HTB support using a vanilla 2.4.22 Linux
Kernel. I downloaded iproute2 and the HTB patch from the locations
suggested in the README file that comes with tcng.
After compilation, some tests fail doing a 'make test'.
For the first test, I used gcc 2.95.4 and gcc-3.0
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-9h.tar.gz
md5sum 9b7c520f92b312a5a00da12bad35f57d
See also http://tcng.sourceforge.net/
This release upgrades to the current 2.4 kernels, fixes a few minor
glitches in the build system, and adds the options --no-manual and
--with-manua
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-9g.tar.gz
md5sum 63ef58e3d3c2cf5298524fb174168681
See also http://tcng.sourceforge.net/
Yes, it's been an eternity since the last release, sorry.
I'm obviously having too much fun with umlsim :-)
This one starts a round of catch-up re
> I get this:
>
> Unknown qdisc "dsmark", hence option "indices" is unparsable
>
> I looked for some information on the net and found that many people say
> that TC_CONFIG_DIFFSERV should be set to "y" in iproute/Config .
...
>
> What's wrong here?! What should I do?:( PLEASE HELP! :)
Your "tc"
Hi everyone!!!
This is my first post here... I have a problem and I'd like to know if someone
here could help me. I kinda new to traffic control. I have practically no
idea about it. I'm trying to learn about it now. I want to use htb to priorize
some kinds of packets.
I copied some scpripts from
]- try to build w/o tcsim, (if u need it u will have to find a solution then :"))
i.e.
./configure --no-tcsim
make
make test
|Hi,
|
|I downloaded the latest tcng release, however am having problems to
|build it.below are the kind of error messages am getting. Do u people
|have a clue as t
Hi,
I downloaded the
latest tcng release, however am having problems to build it…below are the
kind of error messages am getting. Do u people have a clue as to why this is happening
?
Thanks in advance
=-
-
-
-
-
make[3]:
Entering di
is there way to not build DOCS ? when doing 'make', 'make install' or better specify
in ./configure step..
I'm not in .rpm distro how to exclude this from the installation process too... !?
tia
make[1]: Leaving directory `/var/tmp/portage/tcng-9f/work/tcng/doc'
make[1]: Entering directory `/var
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-9f.tar.gz
md5sum 28ff5fdd6e63ef1895728d20f660f0a1
(See also http://tcng.sourceforge.net/)
This just is the upgrade for 2.4.21-final compatibility. It also
fixes some things that broke tcsim builds with some old kernels.
The complete l
i use redhat 8.0 (kernel 2.4.20-13.8) with iproute2-2.4.7-now-ss020116.try
and tcng-9e
i patched iproute2 and tc with the htb3.6-020525-patch from
http://luxik.cdi.cz/~devik/qos/htb/
everything is working fine apart from the annoying error message:
dsmark_dequeu: unsupported protocol 2054
i rea
hi,
I see that tcc need some time and a processor power to generate the TC commands, my
question is :
- If I generate Location maps ("tcc -l tcc.conf") on different computer will the
elemets match ?
i.e. What I want is to generate location map on different computer, (so that I can to
see whic
On Monday 02 June 2003 14:20, Augusto Miranda Martins wrote:
> I've got a tcng script where I use the HTB qdisc, when
> I try to simulate it via tcsim, it print's out the
> message:
>
> qdisc htb not found
>
> Does tcsim support HTB?
>
> When I'm using CBQ instead of HTB it presents no error
> mess
I've got a tcng script where I use the HTB qdisc, when
I try to simulate it via tcsim, it print's out the
message:
qdisc htb not found
Does tcsim support HTB?
When I'm using CBQ instead of HTB it presents no error
messages and do the simulation properly.
Thanks,
Augusto.
_
> Message: 10
> Date: Sat, 15 Mar 2003 01:28:01 +0200
> From: raptor <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [LARTC] [tcng] ip-range
>
> Is there a way in tcng to specify range instead a list of addresses, what I mean
> instead :
>
> drop
> Message: 8
> Date: Fri, 14 Mar 2003 21:49:49 +0200
> From: raptor <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [LARTC] [tcng] X:Y to tcng corespondence !
>
> Is there a easy way that I to get class-id<->tcng-class-path conversation
> and vs
Is there a way in tcng to specify range instead a list of addresses, what I mean
instead :
drop if (ip_src == 192.168.0.2 || ip_src == 192.168.0.3 || ip_src == 192.168.0.4 ||
ip_src == 192.168.0.5);
may be :
drop if (ip_src == 192.168.0.2 .. 192.168.0.5);
drop if (ip_src == 192.168.0.2 - 192.1
Is there a easy way that I to get class-id<->tcng-class-path conversation and
vs. versa..
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello all,
Pardon the long mail, I'll accept flames if I have irritated anybody.
Here are three snippets of different ways to approach a tcng
configuration. Unfortunately, I must not quite understand tcng syntax
I could work around it, build a new kernel and so forth, but I'm curious
about t
s..
Jacob Teplitsky <[EMAIL PROTECTED]> wrote:
|
|> Subject: [LARTC] [tcng] specifing interface in IF ?!
|>
|> does anyone know how can I make class-path based on interface from which the packet
comes ?!
|
|We implemented something like this:
|dev "s0e0" {
|ingress {
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
>I think I must have the syntax wrong for using the firewall classifier
>in TCNG. Can anyone offer any suggestions for what I am doing wrong.
>Details below...
I am answering my own question here in hopes that anyone reading the
archive might benefit.
I think I must have the syntax wrong for using the firewall classifier
in TCNG. Can anyone offer any suggestions for what I am doing wrong.
Details below...
#include "packet.def"
dev eth0 10 {
htb (rate 128kbps, ceil 150kbps ) {
fw;
Chris Clark wrote:
> I am considering a project to translate tcc output (C code or external
> interface) to network processor code, so that the NP can do the actual
> traffic shaping.
As Jacob has pointed out, tcc's external interface is what
you're looking for.
> I have a platform using the Inte
raptor wrote:
> is it possible with the tcng-macros or something else to make classes
> in such a way so that I write them once and set simultaneously classes
> on many interfaces.. what i mean , something like this :
Well, probably :-) It's up to you do decide how much time you
want to spend on s
Whoops, haven't checked LARTC in a while ...
raptor wrote:
> what is the difference between :
>
> police(), bucket(...) and SLB(..)/DLB() and friends ?!
"police" refers to the policing component of the traffic control
subsystem in the kernel.
"bucket" (with the "conform" and "count" operato
>
> Message: 6
> Date: Fri, 28 Feb 2003 17:40:43 -0500
> From: raptor <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [LARTC] [tcng] the difference ?!
>
> what is the difference between :
>
> police(), bucket(...) and SLB(..)/DLB() and fri
> Subject: [LARTC] [tcng] specifing interface in IF ?!
>
> does anyone know how can I make class-path based on interface from which the packet
> comes ?!
We implemented something like this:
dev "s0e0" {
ingress {
class (<>,set_color(GREEN))
On Friday 28 February 2003 23:40, raptor wrote:
> what is the difference between :
>
> police(), bucket(...) and SLB(..)/DLB() and friends ?!
Can you be more specific?
Stef
--
[EMAIL PROTECTED]
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
__
what is the difference between :
police(), bucket(...) and SLB(..)/DLB() and friends ?!
thanx
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
does anyone know how can I make class-path based on interface from which the packet
comes ?!
dev eth0 {
class(<$c1>) if interface-eth0;
egress {
htb() {
$c1 = class(rate 1mbps) {
class(rate 100kbps, ceil 150
hi,
i would like to use just one interface to shape/police traffic, lets have following
config :
users -[eth1]===[eth0]-- Internet
what I think to do is :
$m1 = SLB(cir 20kbps, cbs 10kB);
dev eth1 {
ingress{
class(<$i1>) if ip_dst = 192.168.0.5 && SLB_else_drop($m1);
1 - 100 of 172 matches
Mail list logo