similar to: [tcng] More complex example?

Displaying 20 results from an estimated 1000 matches similar to: "[tcng] More complex example?"

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 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 Jan 27
3
tncg and bandwidth limiting
I''m trying to do some very simple rate-shaping on an interface. I want to limit my 100baseT interface to 7 megs both ingress and egress of the interface. I''ve been hacking my way through the documentation and some examples and I''ve come up with the following configuration for tcng that seems to do what I want. I''m curious if some of the other experts out
2007 May 10
6
PRIO and TBF is much better than HTB??
Hello mailing list, i stand bevor a mystery and cannot explain it J. I want to do shaping and prioritization and I have done these following configurations and simulations. I can´t explain, that the combination of PRIO and TBF is much better than the HTB (with the prio parameter) alone or in combination with the SFQ. Here are my example configurations: 2 Traffic Classes http (80 = 0x50) and
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 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 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
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
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
2006 Dec 26
1
Curious situation of htb
Dear all, I''m now developing the qos mechanism on my mechine. I have read the documents of both the web site "HTB Home" and "lartc.org". But it confuses me that what is the accurate definition of the argument "rate"? It seems to be "the minimum rate which is guaranteed for a class" in the user guide of HTB Home, but in the manpage of lartc.org
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]:
2004 Apr 16
1
tcng and ip_len
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: prio 1 rate 8000bps ceil 24000bps burst 6Kb cburst 1839b Sent
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
2006 Jan 22
1
classless qdisc and classful qdisc
Hello, I''m still new in using tc...I wanna ask... 1. what is the difference between classless and classful qdisc?? when I made a qdisc, are I must create both of that qdisc...??? 2. what is the difference beetween three of the classless qdisc in linux redhat 2.4, sfq pfifo and tbf if I using the htb classful qdisc ??? because when I use htb classful qdisc it means I made a qdisc that
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
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 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