Displaying 20 results from an estimated 1000 matches similar to: "tcng example on using ingress without IMQ"
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
2005 Feb 16
0
IMQ device support in tcng language??
Hi,
I would like to ask whether there is support for the
interface imq in the tcng language thats used for easy
traffic control configuration instead of the tc
command line tool.
eg: dev imq0{
egress{....}
}
Thanx and kind regards
vinay
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
2004 Sep 18
0
TCNG syntax for ingress / policing questions
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 filename > limit.sh and run that file */
dev eth1
{
egress
{
class (
2003 Mar 16
0
Subject: [tcng] X:Y to tcng corespondence !
> Message: 8
> Date: Fri, 14 Mar 2003 21:49:49 +0200
> From: raptor <raptor@tvskat.net>
> To: lartc@mailman.ds9a.nl
> 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. versa..
>
> --__--__--
There are couple files can be created by tcc:
# cat a.tc
dev
2006 Apr 11
2
Shaping per IP in PPPoE
hi all.
i am currently now serving PPPoE in my area.
i had a script generated from tcng that worked perfectly before i
started serving PPPoE.
the issue is not in the script it self BUT in that "tc" code is not
shaping on the ethernet anymore BUT INSTEAD
on the pppX devices. I tested it and talking jargon, what should i do?
The issue is that for each PPPoE login, PPPoE-server
2002 Oct 21
0
tcng version 9b
... is on SourceForge, http://tcng.sourceforge.net/#src
This one fixes a really stupid typo causing tcsim''s tc to pick up
HZ from the environment where it''s being run, not the simulation
environment, which confused most rate calculations.
And if_u32.c now only emits hashes that will actually be used,
which should make tcc''s tc output a little less ugly.
Complete list
2002 Oct 10
2
tcng version 8z
... is on SourceForge, http://tcng.sourceforge.net/#src
Besides a bunch of bug fixes, this release also contains a
greatly improved version of the comtc utility that copies
comments from the tcng source to tcc''s "tc" output.
There are a few infrastructure changes to make comtc work
smoothly:
- tcc''s -E option is now called -Wexperror or -Wexppostopt,
respectively
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
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,
2004 May 05
1
Re: [Fwd: Re: Simple HTB setup with tcng]
Thank you for your help.
It generates this script :
tc qdisc add dev eth0 handle 1:0 root htb default 2
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 75000bps ceil \
75000bps
tc class add dev eth0 parent 1:0 classid 1:2 htb rate 125000bps
tc filter add dev eth0 parent 1:0 protocol all prio 1 u32 match u32 \
0xa000001 0xffffffff at 12 classid 1:1
But I thought it was necessary to
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 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 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 Jan 26
2
I can''t get TCNG to compile!!!
Help! I can''t get TCNG to compile!!! It did this on 2 different machines!
Here are the errors:
--------------------------------------------
Kernel: 2.4.22
[root@localhost tcng]# uname -a
Linux localhost.localdomain 2.4.22-1.2149.nptl #1 Wed Jan 7 13:08:26 EST
#if KFULLVERSIONNUM >= 0x20416 /* gratuitous interface change in 2.4.22 :-(
*/
ERROR:
ake -f Makefile.unclean tcsim
make[2]:
2003 Dec 02
2
forwarding in tcng
Hi!
I am learning tcng without having experiance of tc and I am trying to
build something that shall schedule traffic dependent on the value in the
IPv4 packets ip_ttl field.
I have read the tcng reference manual and cannot find information about
forwarding. Is it possible to farward packets from ingress to egress
without sending them upwards in layers?
2003 Sep 12
1
TCNG building problems...help
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 directory
`/home/joolia/tcnge/tcng/tcsim/ulib/iproute2/lib''
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes
2004 Mar 22
2
tcng TCP ACK match
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 0x0000 0xffc0 at 2 \
match u8 0x10 0xff at 33 \
flowid 1:10
Wondershaper 1.1a implements this and if I run it things seem to be shaped as
expected. But this TCNG
2004 May 09
0
tcng version 9m
... 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
recently, when Laurent Moutel reported that his classifiers behaved
unexpectedly: if testing
2003 Jan 14
0
tcng version 9d
... is on SourceForge:
http://tcng.sourceforge.net/dist/tcng-9d.tar.gz
md5sum 0f61201c657f1851d9d12ca897a4985e
(See also http://tcng.sourceforge.net/)
This is a maintenance release that fixes various compatibility
problems. It also recognizes more recent kernels.
The complete list of changes is below.
- Werner
----------------------------------- CHANGES -----------------------------------