Displaying 20 results from an estimated 1000 matches similar to: "tcng configuration question??"
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
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 )
{
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
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 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
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 Jan 29
1
RE: LARTC digest, Vol 1 #1564 - 6 msgs
Martin,
If I understand whay you are suggesting, there is a problem in your
design: It will only work if you use Hide NAT. The problem is that the
ip_src == IP0 rule is wrong: The ip_src is not changed by the router and
it is not equal to the IP of any of the machine interfaces.
Can you think of a solution that will work in the following reasonabl
scenario:
Lets say I have two T1 internet
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 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
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?
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
2002 Sep 13
0
tcng version 8w
... is on SourceForge, http://tcng.sourceforge.net/#src
This one has the first steps towards getting non-IPv4 classification
right:
- I''ve added fields for skb meta-data (meta_protocol, etc.)
- if USE_META_PROTOCOL is #defined (tcc -D... or tcsim -Xc,-D...),
ip_hdr and ip6_hdr check the protocol number
- if_u32 generates distinct classifier branches for each protocol
- f_fw,
2007 Jul 01
1
FW filter unused/unloaded ???
Hi all.
I''ve written a small htb script that uses U32 and FW (marked by IPTABLES) filters, but TC doesn''t seem to be using the "cls_fw.o" module !!!
I''m using redhat v9.0, kernel 2.4.8-20, iproute 2.4.7-7.
Here is my script:
==========================================================
#####################
#Interface definition
#####################
2007 Apr 25
0
problem with prio qdisc and tcng
Hello Mailing list,
I have a problem with the prio qdisc and I don´t know what is wrong in my
configuration
This ist a sample configuration and looks like this:
#include "fields.tc"
#include "ports.tc"
#define X16(i) i i i i i i i i i i i i i i i i
dev ppp0 {
dsmark {
prio(bands 6, priomap X16($be)) {
class if ip_proto == IPPROTO_UDP;
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 06
0
example/dsmark+policing => tcsim outputs are different
Hi folks
I have created a script file (dsmark+policing.sh attached) to check graphic
an text outputs of simutations, against original examples/dsmark+policing
coding (see TCNG Reference Manual-pg.90).
It uses tcng coding (*.tcsim file attached) and old tc coding (*.tcsim_old
file attached) inserted in tcsim files.
Observation 1: The graphic outputs from (*.tc included in *.tcsim) and
(*.tc_old
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
2007 May 01
1
Re: LARTC Digest, Vol 26, Issue 25
Hey Andreas, how i catch this traffic using L7 filter?, i´ve installed l7
filter now, but i don´t kwnow to use the kind of filter...!!!
Can you help me?
Thx.-
Terraja-based
2007/4/29, lartc-request@mailman.ds9a.nl <lartc-request@mailman.ds9a.nl>:
>
> Send LARTC mailing list submissions to
> lartc@mailman.ds9a.nl
>
> To subscribe or unsubscribe via the World
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 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