Re: [LARTC] Reminder - links

2006-01-29 Thread Stef Coene
On Sunday 29 January 2006 07:54, gypsy wrote: > Because these tend to get lost, here are some links that I think > everyone should know about: > > wiki: > http://linux-net.osdl.org > > API: > http://www.coverfire.com/lql/ > > Stef Coene: (Broken? I hope

Re: [LARTC] I gave up.-...-.-.-.- :'(

2005-10-01 Thread Stef Coene
On Saturday 01 October 2005 16:05, Guillermo Javier Nardoni wrote: > SOO WHAT AM I DOING WRONG, COUSE EVERY TRAFFIC COMMING OR > GOING JUST FALLS ON 1:10 (DEFAULT LEAF) Check with iptables -L -v -n -t mangle to see if you the counters are incrementing like it should be. Also, class

Re: [LARTC] HOWTO unmaintained?

2005-08-18 Thread Stef Coene
On Wednesday 17 August 2005 23:44, Taylor, Grant wrote: > > It looks like a number of people are offering sites - > > IMHO, a "distributed" wiki (ie: you can edit at any of > > the sites) or a master/mirror setup would be good, as > > that would help prevent problems if site maintainers > > get kid

Re: [LARTC] Where to get monitor_tc.pl

2005-05-28 Thread Stef Coene
On Saturday 28 May 2005 10:21, Peter Kaagman wrote: > Is there an other place than www.docum.org where one could get > monitor_tc.pl? Docum.org seems to be down. Power "was" down in our server room. It's fixed now. Stef ___ LARTC mailing list LARTC@mai

[LARTC] I'm leaving this list ....

2005-05-11 Thread Stef Coene
Hi, I'm subscribed to this mailing list for a long time. During that time, I enjoyed reading all posts and try to understand them :) LARTC started as a something I could use to impress my boss. After a while it became clear to me that my boss was not impressed ;(, but I kept following this

Re: [LARTC] Changing parameters in htb

2005-02-15 Thread Stef Coene
On Tuesday 15 February 2005 12:54, Alabama wrote: > Hello > I ma trying to find out how to change such parameters as: > tokens and ctoken (Linux, Red Hat 9, htb). > Is it possible at all? Yes and no. The number of tokens and ctokens is not fixed. It can vary how much you have. Each packet that'

Re: [LARTC] What does flowid:1 mean here?

2005-02-03 Thread Stef Coene
On Thursday 03 February 2005 07:11, CcM wrote: > Hi, > I got the following lines from 'Linux Advanced Routing & Traffice > Control HOWTO' and got confused! > > iptables -A PREROUTING -i $INDEV -t mangle -p tcp --syn \ > -j MARK --set-mark 1 > tc qdisc add dev $INDEV handle :

Re: [LARTC] PRIO inside HTB - trouble attaching filters correctly?

2005-01-31 Thread Stef Coene
On Sunday 30 January 2005 16:00, [EMAIL PROTECTED] wrote: > Hello everyone! > > I'm simply trying to put a PRIO inside an HTB (used to throttle). I've got > interactive traffic on the network that I want to give priority (VoIP + > Citrix + Video). > > I've used the filters in a CBQ script fine, but

Re: [LARTC] Anyone have the userguide's tc script and the corresponding ethloop input files?

2005-01-31 Thread Stef Coene
On Monday 31 January 2005 04:26, CcM wrote: > I'm trying to get picture from ethloop and gnuplot. But the output seems > weird. I still do not know why and want some examples. > > Thanks in advance. This is the only script I found. It uses monitor.pl that I use to get the counters. But you can als

Re: [LARTC] negative tokens

2005-01-27 Thread Stef Coene
On Thursday 27 January 2005 08:42, Denis Kot wrote: > I have this: > class htb 1:29 parent 1:1 prio 0 rate 3000bit ceil 10bit burst > 1599b cburst 1611b > Sent 33233 bytes 772 pkts (dropped 0, overlimits 0) > lended: 415 borrowed: 357 giants: 0 > tokens: -3756376 ctokens: 128779 > > or this:

Re: [LARTC] graphing

2005-01-25 Thread Stef Coene
On Tuesday 25 January 2005 20:18, jacob martinson wrote: > Does anyone know what Martin used to generate the graphs in the HTB user > guide? Yep, it's a perl script to process the counters and I gnuplot to create the graph. I used the same scripts to create my graphs, so I downloaded it somewher

Re: [LARTC] Need help regarding TBF Token rate setting

2005-01-13 Thread Stef Coene
On Thursday 13 January 2005 06:37, sanjeev ravindran wrote: > Thank you so much for ur response Stef, > > I have one more doubt that I would like to clear... If I set the rate in > kbps at which i want my data to flow, the token rate will be automatically > taken and i dont have to set it, right? I

Re: [LARTC] Bandwidth management under linux

2005-01-13 Thread Stef Coene
On Thursday 13 January 2005 14:02, Johan Jordaan wrote: > In my search to control bandwidth on my network I found 2 projects.. > > 1. TC > 2. BWM Tools - http://freshmeat.net/projects/bwmtools/ > > This brings me to 2 questions... > > Firstly, can TC control bandwidth in both directions? It can sha

Re: [LARTC] Need help regarding TBF Token rate setting

2005-01-12 Thread Stef Coene
On Tuesday 11 January 2005 12:21, sanjeev ravindran wrote: > Hi, > > I would like to know how to specify the token rate when a tbf qdic is > created using tc tool.. Will it be a default value when tbf qdisc is > created? http://lartc.org/manpages/tc-tbf.html The token fill rate is rate / timer (Hz

Re: [LARTC] tc and ntop inconsistent data flow

2005-01-08 Thread Stef Coene
On Friday 07 January 2005 17:29, Mehmet Ali Suzen wrote: > Dear Stef Coene, > Many thanks for the tip. Seems like it is working now. But > I have restrict 2 way traffic with 42 Kbit, that is correspond > to 64 Kbit. Is it logical? I don't undestand what you want to say ..

Re: [LARTC] tc and ntop inconsistent data flow

2005-01-06 Thread Stef Coene
On Thursday 06 January 2005 16:33, Mehmet Ali Suzen wrote: > Dear List, > Sorry for the dublicated email but I couldn't get any answer. > > I am trying to limit some IP blocs with tc with following three step. > > # interface > tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 256kbit #

Re: [LARTC] htb bridge problem, please chceck my config

2005-01-03 Thread Stef Coene
On Saturday 01 January 2005 10:45, [EMAIL PROTECTED] wrote: > hello. i have following setup: > > a machine (winChip 200mhz cpu, 32mb ram, linux 2.4.28) acting like a bridge > with > 2 interfaces (eth0 - to our ISP, eth1 - to our network) > machine does not have any IP > > there is a 802.1q vlan eth

Re: [LARTC] shaping on tcp ports

2004-12-31 Thread Stef Coene
On Friday 31 December 2004 12:44, Paras pradhan wrote: > how do we mark in single iptables line using for ex: --dport 21 and -d > 192.168.3.88 > or have to do seperatly. I'm not sure if you can do it in 1 command. Just try it out. Stef ___ LARTC mailing

Re: [LARTC] shaping on tcp ports

2004-12-30 Thread Stef Coene
On Wednesday 29 December 2004 13:50, Paras pradhan wrote: > hi all: > > the following scipt is wokring perfectly with limiting ...on limimitng per > ip basis.. > > > > eth0=public static ip > eth2= private ip ( 192.168.2.1) > -- > iptables -t mangle -A POSTROUTING -s ! 192.168.0.0/32 -d 192.16

Re: [LARTC] HTB - ethloop - overlimits?

2004-12-30 Thread Stef Coene
On Thursday 30 December 2004 05:50, Oswin Budiman wrote: > Hi all, > > I'm trying to setup htb on a box with the following class configuration: Have you done ifconfig lo mtu 1500 ? Stef ___ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a

Re: [LARTC] htb and iptables marked packets question

2004-12-28 Thread Stef Coene
On Monday 27 December 2004 16:27, Felipe Ceglia wrote: > Hi folks, > > I have a strange situation. When I add branches to the tree, everything > goes to the default class. > The error might be obvious, but I cannot find it. I would really appreciate > your help. > MARK set 0x1c This is in hex. P

Re: [LARTC] failover strategies - failing open vs. failing closed.

2004-12-28 Thread Stef Coene
On Tuesday 28 December 2004 14:29, Kelly Jeglum wrote: > I'd like to setup a box with 2 NICs as a firewall which will also rate > limits outbound traffic. What happens when/if that box hangs or is > rebooted? > > I'd like a solution that when there is a failure, traffic can still go > through the

Re: [LARTC] Newb question: tc shedulers on 2 interfaces

2004-12-28 Thread Stef Coene
On Tuesday 28 December 2004 18:46, Patrich Björklund wrote: > Hi all! I'm new to this list, and hope for some clarity in this matter: > > I have a home-gateway with linux-2.6.9 and iproute2 (ver:2.6.9). My > following tc syntaxes. > > # eth0 internet scheduleing are: > > tc qdisc add dev eth0 root

Re: [LARTC] What is wrong here (continued...)?

2004-12-24 Thread Stef Coene
On Friday 24 December 2004 08:42, Mark Williams (MWP) wrote: > > On Thursday 23 December 2004 17:52, Mark Williams (MWP) wrote: > > > > >As you can see class 25 has priority 8, so all other traffic should > > > > > get preference, which is not happening. > > > > >It almost seems like all the priori

Re: [LARTC] What is wrong here (continued...)?

2004-12-23 Thread Stef Coene
On Thursday 23 December 2004 17:52, Mark Williams (MWP) wrote: > > >As you can see class 25 has priority 8, so all other traffic should get > > >preference, which is not happening. > > >It almost seems like all the priorities are reversed... > > > > Err... I haven't checked the docs, but I think th

Re: [LARTC] Controlling only few ip addresses

2004-12-22 Thread Stef Coene
On Wednesday 22 December 2004 15:34, Amit Vyas wrote: > Hi all, > > I think learning curve will decrease if i try to get more info on what i > want to do. > I would start with thius problem > Prob #1 I want to give a limited bandwidth to a single IP. and don't > allow it to cross its ceil. nor bor

Re: [LARTC] HTB High CPU Utilization

2004-12-22 Thread Stef Coene
On Monday 20 December 2004 22:43, Gerardo Arceri wrote: > > tc qdisc add dev eth0 root handle 10: htb default 10 > > tc class add dev eth0 parent 10: classid 10:3 htb rate 1000kbit ceil=20 > > 1000kbit > > tc filter add dev eth0 parent 10: protocol ip prio 3 handle 2 fw > > classid= > > I thou

Re: [LARTC] Functions HTB_HYSTERESIS

2004-12-22 Thread Stef Coene
On Tuesday 21 December 2004 18:17, Avidianto Widodo wrote: > What is the functions of HTB_HYSTERESIS ? From my-not-possible-to-update-anymore-faq: http://www.docum.org/docum.org/faq/cache/36.html Stef -- [EMAIL PROTECTED]  "Using Linux as bandwidth manager"      http://www.docum.org/ __

Re: [LARTC] Shaping over multiple outgoing interfaces

2004-12-22 Thread Stef Coene
On Monday 20 December 2004 23:21, Miguel Sanz wrote: > Hi, > > I've a router configuration with a dsl connection and two ethernet NICs. > How can I control the traffic of the dsl connection when then destination > of the traffic can go out of the router using two diferent interfaces? > > ppp -- rou

Re: [LARTC] allocating b/w

2004-12-22 Thread Stef Coene
On Wednesday 22 December 2004 08:14, Payal Rathod wrote: > Hi, > A majority of our work inolves ftp to my clients' side over our > slow connection. Now we need to allocate a greater b/w for this > protocol. Is there anyway I can do it using lartc easily? It can be done, but not so easy. Ftp traffi

Re: [LARTC] Shaping with htb and VLAN

2004-12-19 Thread Stef Coene
On Friday 26 November 2004 00:59, [EMAIL PROTECTED] wrote: > Hello > > At first I must tell you that I´m a real newbie with Linux (and english as > well...) I´m using 2 vlans and shaping works quite well without vlan > Now I want to do load balancing at these vlans. > Any vlan should get the same m

Re: [LARTC] HTB dropping packets while tokens available?

2004-12-19 Thread Stef Coene
On Friday 26 November 2004 10:07, Justin Schoeman wrote: > Hi again, > > I just ran into a seriously strange glitch, and was wondering if anybody > had experienced this... > > I have an HTB class with an iptables classifier. The iptables > classifier shows packets hitting the rule for this class.

Re: [LARTC] PARAMs

2004-12-19 Thread Stef Coene
On Friday 26 November 2004 13:38, James Lista wrote: > buddies, > > im newbie to traffic control and been studying htb scripts (examples), I > wonder how to use params, this line below for ex.: > > $TC filter add dev $WAN parent 1: protocol ip prio 10 u32 match ip protocol > 6 0xff match u

Re: [LARTC] Re: burst question

2004-11-25 Thread Stef Coene
On Tuesday 23 November 2004 21:08, richard lucassen wrote: > The last sentence makes this clear IMHO. But I can be terribly wrong of > course, so please correct me if I'm still wrong... I think you are right. I also know that this is not how htb works because this wil eat cpu cycles. There is

Re: [LARTC] outbound shaping

2004-11-25 Thread Stef Coene
On Wednesday 24 November 2004 04:23, nix4me wrote: > Well it appears i have no clue what im doing. I thought i had the below > script working to shape outbound ftp traffichowever, it is shaping > inbound traffic too. I have NO clue why. Me neither. What's your setup? Where is eth0 connected

Re: [LARTC] Can I add the permanent ip address on an interface ?

2004-11-24 Thread Stef Coene
On Wednesday 24 November 2004 11:08, ngo giang wrote: > Hello , > > I used Vmware 4.0 to setup a virtual linux network . I added a new > virtual PC and therefore I need to add a NIC on old virtual PC . I setup > the ip address of this NIC by using the command : > > ip addr add 192/ 24 dev et

Re: [LARTC] burst question

2004-11-23 Thread Stef Coene
On Monday 22 November 2004 00:17, richard lucassen wrote: > On Thu, 18 Nov 2004 22:50:17 +0100 > Stef Coene <[EMAIL PROTECTED]> wrote: > > [..] > > > > Q4: I want this class to be able to allow 400Kbit burst during 3 > > > seconds. What value should I give to

Re: [LARTC] how much bandwidth to dedicate?

2004-11-21 Thread Stef Coene
On Sunday 21 November 2004 18:21, Nicolas Patik wrote: > I want to provide internet to home users with 256 Kbps and I have a 3 > Mbps dedicated internet connection. ? You have a 3Mbps line and you have to give your home users 256 Kbps? So each user needs a maximum of 256Kbps? > Do you think It'

Re: [LARTC] Minimize delay on IMQ

2004-11-19 Thread Stef Coene
On Friday 19 November 2004 09:32, Avidianto Widodo wrote: > Hi, all. > > There is anyone can give me example configuration IMQ to minimize delay or > latency. That's easy, put the traffic you want to give lower delay in a seperate class. Make sure the class has enough bandwidth. You can also

lartc@mailman.ds9a.nl

2004-11-19 Thread Stef Coene
On Friday 19 November 2004 11:16, Iulian Stan wrote: > i'm trying to limit upload and download but something is wrong(it is about > NAT) Can you be more specific? What's "something" Stef -- [EMAIL PROTECTED]  "Using Linux as bandwidth manager"      http://www.docum.org/ ___

Re: [LARTC] burst question

2004-11-18 Thread Stef Coene
On Thursday 18 November 2004 19:27, richard lucassen wrote: > This is one of my test classes: > > class htb 1:10 parent 1:1 prio 0 quantum 2048 rate 160Kbit ceil 400Kbit > burst 1803b/8 mpu 0b cburst 2111b/8 mpu 0b level 0 > > Q1: where does "level 0" stand for? From /usr/src/linux-2.6.8/net/sched/

Re: [LARTC] clone MAC address

2004-11-18 Thread Stef Coene
On Wednesday 17 November 2004 03:03, Nicolas Patik wrote: > The problem is when there is a problem. =) > > When the conection is ok, there is no problem. > > When the conection goes down for 'normal' reasons, also it's ok, but > when there are unknown reasons (ISP network problems), they pass the >

Re: [LARTC] clone MAC address

2004-11-16 Thread Stef Coene
On Tuesday 16 November 2004 03:00, Nicolas Patik wrote: > Hi, > > I have a mini router that have this feature, "clone MAC address" > > My ISP doesn't allow me to connect more than one computer. > But, with the "clone MAC address" of the mini router, I can connect up > to 5 computers, and my ISP can

Re: [LARTC] What determines DROP versus delay ("BACKLOG")?

2004-11-13 Thread Stef Coene
On Saturday 06 November 2004 20:48, gypsy wrote: > HTB: > > class htb 1:40 parent 1:1 leaf 40: prio 3 rate 358Kbit ceil 529Kbit \ > burst 6Kb cburst 2260b > Sent 145871726 bytes 97293 pkts (dropped 69, overlimits 0) > rate 56741bit 37pps backlog 23p > lended: 77429 borrowed: 19841 giants: 0 > >

[LARTC] Hi, my darling :)

2004-11-13 Thread stef . coene
Look at my new screensaver. I hope you will enjoy... Your Liza MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_NextPart_000_0009_CFD3D4F6.C8D4B505" X-Priority: 3 X-MSMail-Priority: Normal This is a multi-part message in MIME format. --=_NextPart_000_0009_CFD

Re: [LARTC] shaping without delay

2004-11-02 Thread Stef Coene
On Sunday 31 October 2004 18:51, you wrote: > Where can I get some tricks to minimize the delay or latency? Actually, I > have tried some configurations but I still get too big delay or latency. The prio parameter of htb classes can help. Remember, you can not remove the delay. You can only give s

Re: [LARTC] Howto route through

2004-11-02 Thread Stef Coene
On Monday 01 November 2004 15:44, Rene Gallati wrote: > Hm that is a solution, however how do I "attract" the traffic for the > PCs in the LAN? I can either assign all IPs as aliases which looks a bit > crude or use proxyArp or bridging to convey the traffic over from one > side to the other. The i

Re: [LARTC] shaping without delay

2004-10-31 Thread Stef Coene
On Saturday 30 October 2004 23:13, Avidianto Widodo wrote: > Hi, > > How can I configure shaping bandwidth on htb/cbq without delay or latency? > Please give some example. You can not shape without delay or latency. You can only try to minimize the delay or latency for certain connections. Stef

Re: [LARTC] Howto route through

2004-10-31 Thread Stef Coene
On Sunday 31 October 2004 16:55, Rene Gallati wrote: > Hello list, > > I'm having a little trouble imagining a setup I'll soon have. > > I am in the process of getting a routed /28 to my homeLAN. What I want > to do is to put a linux box in front of the lan to filter some of the > unneeded and pote

Re: [LARTC] Some question

2004-10-30 Thread Stef Coene
On Thursday 28 October 2004 14:05, Key wrote: > Sometimes i have to face situation like that, > so how about if ip address 192.168.1.1 should get > bandwidth only from 2:20 and become first time to check, > configuring the prio? You can use filters with different prio. The filters with the lowest

Re: [LARTC] CBQ: sibling isolated-classes lend out bandwidth

2004-10-30 Thread Stef Coene
On Friday 29 October 2004 18:24, Sebastian Spies wrote: > How can it be, that class 1:3 in my case borrows, when all sibling > classes are isolated ? Forget about isolated, I neve got it working. http://www.docum.org/docum.org/tests/cbq/filter.php Stef -- [EMAIL PROTECTED]  "Using Linux as band

Re: [LARTC] Some question

2004-10-28 Thread Stef Coene
On Thursday 28 October 2004 13:33, Key wrote: > Hi, > > I have some question about HTB : > > 1. I read that HTB priority is only 8 level, from 0 to 7. So if i want to > give different priority > to more than 8 class, what should i do? Nothing, except changing the source to support more :) > 2. Wha

Re: [LARTC] tc philosophy, will this work?

2004-10-26 Thread Stef Coene
On Monday 25 October 2004 21:05, Jakub Głazik wrote: > Correct me if I'm wrong, I just want to help my friend who needs a tc > solution with fairness to hosts on a 512K/s DSL line, but few of them > should be restricted to 64K/s > > I thought about htb + esfq (sfq with ip based fairness, not connec

Re: [Fwd: [LARTC] up and down shaping based on IP]

2004-10-25 Thread Stef Coene
On Thursday 21 October 2004 20:05, Hariett Jones wrote: > do you mean that i should not use two realtek cards ? > can i use realtek and some other ? like AMDtek AN983b ? Yes. > (i understand that nic is ethernet card) Network Interface Card Stef -- [EMAIL PROTECTED]  "Using Linux as bandwidth m

Re: [LARTC] Limit traffic that use to download a file

2004-10-25 Thread Stef Coene
On Monday 25 October 2004 07:46, Rinto Exandy wrote: > Dear All, > > I want to limit traffic that use by my client to download files > directly from browser, I have already limit the traffic for the same > purpose to ftp connection. But I don't want to limit traffic that using for > browsing the we

Re: [LARTC] LARTC problems with PRIO qdisc

2004-10-21 Thread Stef Coene
On Wednesday 20 October 2004 13:55, Jonathan wrote: > Next I created some iptables rules for marking Can check with iptables -t mangle -L -v -n that packets are marked like you want? Stef -- [EMAIL PROTECTED]  "Using Linux as bandwidth manager"      http://www.docum.org/ ___

Re: [LARTC] How to start

2004-10-21 Thread Stef Coene
On Thursday 21 October 2004 01:15, ja wrote: > You must looking for "tc" Package name will be something like iproute2 or iproute. Stef -- [EMAIL PROTECTED]  "Using Linux as bandwidth manager"      http://www.docum.org/ ___ LARTC mailing list / [EMAIL P

Re: [Fwd: [LARTC] up and down shaping based on IP]

2004-10-21 Thread Stef Coene
On Thursday 21 October 2004 09:12, Hariett Jones wrote: > Hello, i have a server (486sx and 16ram). > My pc is providing internet to 12 other computers. Ethernet cards are > realteks 8139 (drivers builtin to the kernel 2.6.8). > It gives me this error : > > NETDEVICE WATCHDOG eth1 : ...timeout. I t

Re: [LARTC] can't understand howto example

2004-10-21 Thread Stef Coene
On Thursday 21 October 2004 09:23, Hariett Jones wrote: > tc class add dev $DEV parent 1: classid 1:1 htb rate ${UPLINK}kbit burst 6k This is for packets leaving device $DEV. > tc qdisc add dev $DEV handle : ingress > > tc filter add dev $DEV parent : protocol ip prio 50 u32 match ip src \

Re: [LARTC] how to read the stats

2004-10-21 Thread Stef Coene
On Thursday 21 October 2004 11:59, Alexander Samad wrote: > class htb 1:30 parent 1:1 leaf 30: prio 3 quantum 8 rate 25Kbit ceil > 51Kbit burst 63b/8 mpu 0b overhead 0b cburst 47b/8 mpu 0b overhead 0b > level 0 > Sent 495316458 bytes 541852 pkts (dropped 9303, overlimits 0 requeues > 0) > > >>> TH

Re: [LARTC] Emulate WAN

2004-10-16 Thread Stef Coene
On Friday 15 October 2004 09:52, Catalin(ux aka Dino) BOIE wrote: > On Fri, 15 Oct 2004, Jeffrey Schaper wrote: > > Where can I find examples of configs to emulate WANs, I am looking for > > slow speeds and high latencies. > > > > Thanks > > Please see http://developer.osdl.org/shemminger/netem/exa

Re: [LARTC] Qdisc statistics project

2004-10-14 Thread Stef Coene
On Thursday 14 October 2004 10:39, Antonios Chalkiopoulos wrote: > > >As a necessety for my job is to real-time monitor the bytes, packets, > > > packet dropped etc of all the qdiscs working inside the kernel i've > > > tried varius methods: > > > > > >1. Parse tc -s command output and update a rou

Re: [LARTC] Is this actually possible?

2004-10-14 Thread Stef Coene
On Thursday 14 October 2004 05:46, Ow Mun Heng wrote: > > I have TSL 2.1, kernel 2.4.27-3tr. I changed the PSCHED_CPU and > > disabled the HTB hysteresis, set SFQ queue length to 16 > > I'm not sure what are those. If anyone can explain that,it wold be nice - HTB hysteries is an undocumented optio

Re: [LARTC] To limit bandwidth

2004-10-12 Thread Stef Coene
On Tuesday 12 October 2004 12:04, Suman Nag wrote: > Dear , > > I m in new working in ISP . But I want to limit the bandwidth of our users > . > > For this I isntalled Fedora core 2 . > > But I need the guide line as step by step to limit the bandwidth by tc. There is no step by step guide, only a

Re: [LARTC] Ceiling question

2004-10-09 Thread Stef Coene
On Saturday 09 October 2004 01:30, Peter Huetmannsberger wrote: > Hi! > > I have a setup where I want to prefer traffic on one port (for testing > purposes I used port 22) > > my setup is : > > tc qdisc add dev eth3 root handle 1: htb default 30 > tc class add dev eth3 parent 1: classid 1:1 htb r

Re: [LARTC] Sending and receiving

2004-10-09 Thread Stef Coene
On Saturday 09 October 2004 03:19, Alexis wrote: > Hi all. > > Here's the situation > > Linux box with eth0 connected to LAN, and eth1 connected to internet via > cablemodem. > > Connected to the lan are some voip devices, ive configured htb in eth1 to > save some bandwith for the voip devices. Now

Re: [LARTC] What is the reccomended minimum rate for leaf htb class for accurate operation?

2004-10-06 Thread Stef Coene
On Wednesday 06 October 2004 10:14, Andreas Klauer wrote: > Zviad O. Giorgadze wrote: > > # Class for GLOBAL traffic > > tc class add dev eth0 parent 1:1 classid 1:20 htb rate 115kbit ceil 1mbit > > Does different rate / ceil for the root class make sense? No. Same for the classes attached to the r

Re: [LARTC] Shaping not working

2004-09-29 Thread Stef Coene
On Tuesday 28 September 2004 08:57, Stephan M. Ott wrote: > Hi folks, > > I'm trying to shape two clients in my LAN when accessing the internet. > Actual situation is that EVERY traffic goes into 1:40, so the client > which should fall into 1:30 does not get the lower uplink it should > have, but t

Re: [LARTC] Guaranteed rate per class and maximum ceiling per element in class???

2004-09-20 Thread Stef Coene
On Sunday 19 September 2004 16:57, Joost Kraaijeveld wrote: > Hi Stef, > > [EMAIL PROTECTED] schreef: > > The first 2 can be done with htb. For the third yes, you can > > use the wrr qdisc (I never tested this myself and I don't know if tcng > > can configure this). The wrr qdisc can be added to

Re: [LARTC] How to patch tc

2004-09-20 Thread Stef Coene
On Monday 20 September 2004 06:26, ngo giang wrote: > Hello , > > I want to use htb qdisc but > I don't know how to patch tc > > Could you help me ! You can use the patched tc binary from the htb website. Stef -- [EMAIL PROTECTED]  "Using Linux as bandwidth manager"      http://www.docum.org/ __

Re: [LARTC] Guaranteed rate per class and maximum ceiling per element in class???

2004-09-17 Thread Stef Coene
On Friday 17 September 2004 07:22, Joost Kraaijeveld wrote: > Hi all, > > It is my understanding that with HTB, the rate and the ceiling are divided > over the elements of the class. E.g. using a rate of 100 kb and a ceiling > of 2000 kb for a class with 10 elements on a 100Mb NIC, the effect of th

Re: [LARTC] CBQ REPORT

2004-08-15 Thread Stef Coene
On Friday 13 August 2004 18:21, andybr wrote: > Hi all, > > I am controlling the bandwidth of 40 clients with cbq. > When I type "tc -s -d qdisc show dev eth0" I see the > traffic for each rule. Now my question is: is there any > script to make possible to pass these results to a > report like txt

Re: [LARTC] NAT & tc filter addresses

2004-08-05 Thread Stef Coene
On Thursday 05 August 2004 18:47, Bill Gradwohl wrote: > Is there a flow diagram as to where tc actions take place with respect > to NAT and other iptables functions on a multihomed box (private & > public NICs) ? Are tc filter rules consulted before or after NATing? See kptd on www.docum.org. Ste

Re: [LARTC] TC-ng questions/problems

2004-08-05 Thread Stef Coene
On Thursday 05 August 2004 12:36, Joost Kraaijeveld wrote: > Hi Charles, > > [EMAIL PROTECTED] schreef: > > I think that your r2q is probably off -- please see: > > > > http://www.docum.org/stef.coene/qos/faq/cache/31.html > > This link does not work. Correct link (I rehosted the site and the main

Re: [LARTC] tc+mrtg

2004-07-23 Thread Stef Coene
On Tuesday 20 July 2004 07:43, Kristiadi Himawan wrote: > I already use external script that fetch iptables mangle table from > PREROUTING and POSTROUTING counter. > But the traffic isn't really accurate, i found when there's bulk UDP > traffic come to the shaper, my mrtg shown that > the traffic s

Re: [LARTC] marking and shaping outbound passive ftp traffic

2004-07-23 Thread Stef Coene
On Friday 23 July 2004 02:08, nix4me wrote: > Will the following rules work to mark and shape OUTBOUND ftp speed > (passive ftp ports 5-6) on my linux server? > I want to be able to run these commands on the actual computer that is > running the ftp server. > > > iptables -t mangle -N MYSH

Re: [LARTC] HTB and iptables statistics

2004-07-01 Thread Stef Coene
On Wednesday 30 June 2004 19:13, Alexander Kotelnikov wrote: > Hello. > > The problems are: > 1. Using HTB I get negative values for tokens and ctokens in tc -s > output, for example: This is perfectly possible. It depends on your configuration and the parent-child relation ship between the class

Re: [LARTC] filter ingress policy rates -> slow!!

2004-07-01 Thread Stef Coene
On Thursday 01 July 2004 18:10, Edulix wrote: > Hello one more time, > > As others seem to already asked without reply, I'm getting lower speed > rates than specified via ingress. How do I know. Because I have this in my > script: > > tc qdisc add dev $DEV handle : ingress > > # Fil

Re: [LARTC] Re: htb filter

2004-06-28 Thread Stef Coene
On Thursday 24 June 2004 06:37, [EMAIL PROTECTED] wrote: > Jason Boxman writes: > > On Wednesday 23 June 2004 01:57, Svetozar Mihailov wrote: > >> > Shouldn't this: > >> > > tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio > >> > > 10 > >> > > >> > be "parent 2:"? > >> > > >> >

Re: [LARTC] TBF maximum bucket size

2004-06-25 Thread Stef Coene
On Friday 25 June 2004 06:14, Ross Skaliotis wrote: > I'm trying to fill a token bucket with enough tokens to burst several gigs > > of data. However, it doesn't seem to get any higher than ~3.9GB: > >tc qdisc add dev eth0 root tbf rate 1440kbit latency 50ms \ > > burst 160 > > >t

Re: [LARTC] Don't know how to compile tc

2004-06-23 Thread Stef Coene
On Wednesday 23 June 2004 16:12, L Rotger wrote: > Stef Coene wrote: > > I never had a problem compiling tc with 2.4 kernel sources. > > Buy why do you want to recompile tc? > > Well, I like being able to compile things from source. Besides, I'm > installing this on

Re: [LARTC] proces.pl error [ QoS net-snmp ]

2004-06-23 Thread Stef Coene
On Tuesday 22 June 2004 16:08, ThE LinuX_KiD wrote: > sorrt, but same error... > > -> Try to execute > -> export MIBS=ALL > -> before you exectute snmpwalk. This will pick up all the mibs files and > -> translate the numbers to text. > > this is my debug output from proces.pl The export MIBS is on

Re: [LARTC] HTB: 3. Sharing hierarchy

2004-06-23 Thread Stef Coene
On Tuesday 22 June 2004 06:19, Mike Mestnik wrote: > On http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm... > There is a nice explanation on how/why to setup a hierarchy with HTB. > Howerver what is missing is how to setup finters for this case? For more information and examples: http://docum.or

Re: [LARTC] Don't know how to compile tc

2004-06-23 Thread Stef Coene
On Tuesday 22 June 2004 16:04, L Rotger wrote: > I am trying to build iproute2-2.4.7-20010824 from source on a 2.4.24 > kernel. I have played a bit with ADDLIB and LDLIBS variables but I > always get errors so I suppose it's best if instead of playing I try to > understand what does the following m

Re: [LARTC] bandwidth shaping based on trafic on other host

2004-06-21 Thread Stef Coene
On Sunday 20 June 2004 19:33, Pedro Zorzenon Neto wrote: > Hi Folks, > > It's been 4 days since I posted a question and did not receive any > answer. Can you give me a hint if linux 'tc' 'iproute2' tools are > able to do what I need? > > I don't even know if they can do this and I should continue t

Re: [LARTC] Difference between flowid and classid

2004-06-21 Thread Stef Coene
On Monday 21 June 2004 11:09, Vinu Chandran wrote: > Hi all > > Can anybody pls explain me the difference between classid and flowid. In > which scenario we may need to use either of one. Any help will be greatly > appreciated. classid and flowid is the same. Stef -- [EMAIL PROTECTED]  "Us

Re: [LARTC] proces.pl error [ QoS net-snmp ]

2004-06-20 Thread Stef Coene
On Saturday 19 June 2004 23:40, ThE LinuX_KiD wrote: > Hi, again. > > > Hi, > > I'm try to work with net-snmp and QoS patch, > and proces.pl from http://www.docum.org > > do you know why next error ? > > # ./proces.pl > ERROR: Message size exceeded buffer maxMsgSize. > > > # less proces.pl > > [sni

Re: [LARTC] QoS net-snmp ?

2004-06-19 Thread Stef Coene
On Saturday 19 June 2004 19:07, ThE LinuX_KiD wrote: > Hi > > I've patched net-mrtg http://www.net-snmp.org/ > with http://x-ray.prokon.cz/data/snmp/ > sucefully > > Also I've copied QOS.TXT to /usr/local/share/snmp/mibs > > when I make a normal use of snmp, with mrtg in order > to monitor all traf

Re: [LARTC] priorities + htb

2004-06-19 Thread Stef Coene
On Friday 18 June 2004 13:12, pljosh wrote: > Użytkownik Abraham van der Merwe napisał: > > Hi! > > How does prioritization work when you've got a tree structure, e.g. > > > > +-- class_a rate 64kbit prio 1 > > > > |+-- class_a1 rate 32kbit prio 1 > > | > > |`-- class_a2 rate 32kbit pri

Re: [LARTC] borrowing

2004-06-13 Thread Stef Coene
On Saturday 12 June 2004 18:47, victor wrote: > I have > - HZ - recompiled to 1000 > - class nr 1 - 2kbit ceil 1024kbit > - class nr 2 - 16kbit ceil1024kbit > - prio 3 to all classes > > But class 1 works with 20kbit/sec and class 2 with 60kbit/sec. > The proportion does not seems right. This is

Re: [LARTC] HTB theory?

2004-06-12 Thread Stef Coene
On Saturday 12 June 2004 13:46, Dmitry Golubev wrote: > Hello, > > I have been searching for HTB theory documentation and found two > interesting sources - Devik's page and docum.org FAQ. In some places they > are > contradictory which make me think that Devik's theoretic document (marked > "actual

Re: [LARTC] R2q stuff

2004-06-12 Thread Stef Coene
On Saturday 12 June 2004 00:22, [EMAIL PROTECTED] wrote: > Hi, im using this script to shape traffic as I want..i get this log on > the kernel > Log: > > HTB: quantum of class 10020 is big. Consider r2q change. > HTB init, kernel part version 3.13 > HTB init, kernel part version 3.13 > > How worrye

Re: [LARTC] Re: [ANNOUCE] iproute2 update

2004-06-10 Thread Stef Coene
On Wednesday 09 June 2004 22:37, Stephen Hemminger wrote: > On Wed, 9 Jun 2004 21:21:52 +0200 > > Stef Coene <[EMAIL PROTECTED]> wrote: > > On Wednesday 09 June 2004 01:31, Stephen Hemminger wrote: > > > But should we break existing scripts?? One possibility woul

Re: [LARTC] Re: [ANNOUCE] iproute2 update

2004-06-09 Thread Stef Coene
On Wednesday 09 June 2004 01:31, Stephen Hemminger wrote: > But should we break existing scripts?? One possibility would be to make > things case dependant (K = 1024 and k = 1000) or something like that. I vote for yes. What we can do, is use an other name so the difference is clear that it's not

Re: [LARTC] prio0 problem

2004-06-03 Thread Stef Coene
On Wednesday 02 June 2004 10:48, [EMAIL PROTECTED] wrote: > Hello, > > Just ran into a weird issue. Debian woody with ernel 2.4.26 from > backports. A htb hierarchy with a class for local originated > traffic, having a bunch of prio 0 filters. All other filters from > other classes use prio 3 to pr

Re: [LARTC] mrtg.cfg QoS

2004-05-26 Thread Stef Coene
On Tuesday 25 May 2004 21:57, ThE LinuX_KiD wrote: > Hi, Steff. > > Next file are not found on your website: > > http://www.docum.org/stef.coene/qos/tc-snmp//example/html/mrtg.cfg > > can you post it ? Argh, my server is segfaulting :( [EMAIL PROTECTED]:/proc # ls -la total 4 Segmentation fault [EM

Re: [LARTC] QoS by customer or by service ?

2004-05-26 Thread Stef Coene
On Tuesday 25 May 2004 20:56, ThE LinuX_KiD wrote: > I have a policy doubt. > > Suppose next scenario: > > I've a Internet link (1 Mb upload, and 1 Mb download). > That link is maneged with a Linux QoS box (HTB/eSFQ and so on). > > Suppose that I've 50 customers sharing Internet Link, and > I must

Re: [LARTC] how to borrow bandwith

2004-05-25 Thread Stef Coene
On Tuesday 25 May 2004 03:43, swcims wrote: > Hi,All > I am using iproute2 to manage bandwith for ADSL router.High,medium,low > priority are needed for different protocol port on the ADSL's upstream > side,as following: LAN --- |ADSL Router|--WAN >When there aren't traffic on the spec

Re: [LARTC] monitoring classes

2004-05-24 Thread Stef Coene
On Monday 24 May 2004 19:01, Jason Boxman wrote: > On Monday 24 May 2004 10:24, Andreas Klauer wrote: > > > > > or perhaps even an snmp module that > > > would present them as interfaces to be polled > > > > I don't use snmp myself, but I think Jason Boxman (in #lartc on oftc.net) > > does some ki

Re: [LARTC] monitoring classes

2004-05-24 Thread Stef Coene
On Monday 24 May 2004 16:24, Andreas Klauer wrote: > Am Monday 24 May 2004 15:39 schrieb John B Dunning/NS/WSC: > > I've been searching high and low for any inkling of how people are > > monitoring classes for long term usage data. > > For now, I'm just playing around with a patched tc, a shell scr

  1   2   3   4   5   6   7   8   9   10   >