Displaying 20 results from an estimated 1000 matches similar to: "tcng + NAT"
2004 Jul 28
3
Re: Re: HTB 3.13 please help
//Just to not forget eth0 is WAN and eth1 is LAN . The box is NATing my lan.
I configured tcng to shape both download and upload
and i got connection loss again.
Maybe it is my script fault or it is something bad with packets marking .
this is how i mark outgoing packets
iptables -t mangle -A MYSHAPER-OUT -p tcp -s 192.168.1.23 -j MARK --set-mark
$ip
and this part of my script which is intented
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 Oct 06
4
Re: What is the reccomended minimum rate for leaf htb classfor accurate operation?
Zviad O. Giorgadze wrote:
> My ISP provides guarantied 115kbit bandwidth for GLOBAL TRAFFIC. During the low load period (early morning, evening, night) customers can get up to 1mbit traffic.
That''s download traffic we''re talking about, since you seem to be
shaping on your local LAN interface? Variable rate ISPs are tough
to shape right, I guess...
Does this 115kbit vs.
2004 Jul 24
5
HTB classifying
I am trying to shape a client (somewhat advanced).
This is my target:
Client is 192.168.2.224. I would like to allow him to download with
500000 bits/sec in general. But, for a specific port(say 22), i would
like him to download with 300000 bit/sec only. The problem is that my
configuration (maybe wrong) allows him to download with 800000 bit/sec.
(500000 generally + 300000 on port 22)
I thought
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 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 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 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 21
4
shaping passive ftp traffic
Hi,
I have tried unsuccesfully to limit my ftp server send speed in linux.
I have an ipcop linux firewall/router with 2 nics. 1 nic (eth1) is
connected to a 3mbit/384Kbit cable connection and the other (eth0) a
switch. Behind it i have a suse linux box and a windows box.
On the suse box i run proftpd. I need to shape my passive ftp send
speed to 34KBytes because if it is maxed out at 45K
2007 Apr 25
2
HFSC with tcng
Hello mailing list,
I don´t know how to use HFSC queuing discipline with tcng configuration
language. I become always this error: syntax error near "hfsc"
Is it possible, that tcng provides no support for this classful hfcs queuing
discipline?
Please help!
thanks
----------------------------------------------------------------------------
2006 Mar 07
3
tcng
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 sistemas
Universidad de Antioquia
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
2007 May 16
1
tcng + esfq
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
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 Oct 10
2
Use l7-filter in/and TCNG.
Hello every one!
I''m making a project to a discipline in the university and the project
is make a Linux router that grants QoS to Multimedia connections (the
prof. say we can use Open Source Soft. :) or reinvent the wheel). I have
been googeling and googeling and i found the l7-filter in source forge
and the spectacular simple language that is TCNG. Well the problem is
how can i
2005 Apr 27
8
urgent question about tcng!
Hello List,
I''m new to QoS/tcng/HTB and friends, so please forgive me if my question
might be silly...
After having read lots of HowTo documents I''m totally confused...
The Challenge:
==============
I''ll have to deploy several "mirror" download servers (Linux) which must be
able to handle a huge number of HTTP download requests (about 10k to 20k
unicast
2004 Aug 22
8
Compiling tcng on Linux SuSE 9.1 Professional
Hi
I have tried to compile tcng-9m using
Linux SuSE 9.1 Professional on my Intel box but it doesn''t work as follows:
Step 1 - Downloaded iproute2-2.4.7_now_ss020116_try-i386-2.tgz
Step 2 - Downloaded tcng-9m.tar.gz
Step 3 - Downloaded linux-2.5.4.tar.bz2
Step 4 - Source kernel 2.5.4 extracted to directory ~/tcng/tcsim
Step 5 - Source iproute2-2.4.7 extracted to directory
2007 Jul 27
1
help compiling tcng on 64bit
Hi,
Trying to compile tcng on 64bit server (centos-5 64bit), I''m getting:
--------------
cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-I../shared -DVERSION=\"`cat ../VERSION`\"
-DTOPDIR=\"/usr/local/src/tcng-non-patched\" -DDOLLAR -DCONFIRM_EXCEED -c
-o f_fw.o f_fw.c
In file included from ../shared/memutil.h:13,
from
2005 Jan 31
1
Problem with tcng
Hi folks,
first of all, sorry for my bad English ^^ and for the fact that I am a Linux
N00b.
I have a little Problem installing TCng on my Debian System. At the make
install command the following error occured:
tar: lib/tcng/include/klib/kernel/include: Cannot stat: no such file or
directory
tar: Error exit delayed from previous errors
Can somebody help me ?
greets
Marcus
--
GMX im TV
2005 May 24
4
How To Installing tcng at slackware 10.1
How To Installing tcng at slackware 10.1
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