Re: [LARTC] Newbie question - limit bandwidth of a link.

2005-01-27 Thread sanjeev ravindran
Hi, You can use tc tool to create a classful queue like HTB.. Then add a filter for your traffic... Refer Linux Qos How to ?.. Rgds, Sanjeev - Original Message - From: Saumya Chandra [EMAIL PROTECTED] To: lartc@mailman.ds9a.nl Subject: [LARTC] Newbie question - limit bandwidth of a

[LARTC] tc.phps

2005-01-27 Thread Denis Kot
hello found this script in maillist archive how can I use this to create all class on one graph? not like for now it is one graph for each class. -- Denis Kot denis?jabber.org.by ICQ: 13680126 Mobil: +375 29 6-1234-78 ___ LARTC mailing list /

Re: [LARTC] tail and head drop qdiscs

2005-01-27 Thread Andy Furniss
vincent perrier wrote: vincent perrier wrote: I think that there are no qdiscs that permit to drop the oldest frame of a queue when this queue is full ... What sort of thing do you want this for? ... Andy. Very low rate (satellite links for example) and strict priority can lead to messages

[LARTC] Another year starts...

2005-01-27 Thread Andre Correa
Hi list, today it turns 1 year since we started LinuxIMQ's mailling list and brought IMQ back to life. Since then we've being trying to keep IMQ patches updated with new kernel/iptables versions and to help users the best we could. I would really like to thank all of those good mates who

[LARTC] netem bug?

2005-01-27 Thread Pedro Ancona Lopez Mindlin
Hi all, I'm running some tests with netem and I noticed some strange behaviour that looks like a bug: I'm pinging another machine and adding delay with netem. When I tell netem to give me a 10ms delay, it works fine. The problem is that when I ask for a 11ms delay, it gives me 20ms! It happens

Re: [LARTC] netem bug?

2005-01-27 Thread Catalin(ux aka Dino) BOIE
Hi all, I'm running some tests with netem and I noticed some strange behaviour that looks like a bug: I'm pinging another machine and adding delay with netem. When I tell netem to give me a 10ms delay, it works fine. The problem is that when I ask for a 11ms delay, it gives me 20ms! It happens

Re: [LARTC] netem bug?

2005-01-27 Thread Michael Renzmann
Hi. Catalin(ux aka Dino) BOIE wrote: The problem is the 2.4 kernel because HZ is 100. That was my idea, too. On my 2.6 kernel (HZ=1000) it work almost perfect. If the OP thinks of changing HZ, the following links might be a good help: http://www.plumlocosoft.com/kernel/ (especially

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: class

[LARTC] question about filter priorities and tc -d filter show output

2005-01-27 Thread jacob martinson
The interface is setup like this: # tc qdisc del dev eth0 root # tc qdisc add dev eth0 root handle 1: htb default 2 # tc class add dev eth0 parent 1: classid 1:2 htb rate 20mbit ceil 20mbit If I add a second class and a filter to send traffic to it like this: # tc class add dev eth0 parent 1:

[LARTC] Linux Bridge + QoS Shaper HOWTO available

2005-01-27 Thread rsenykoff
I've created a pretty complete HOWTO on creating a Linux Bridge (using Fedora) to shape LAN -- WAN traffic. It includes installation instructions, a script to configure the bridge (which you install as a service), and 2 scripts to configure the network interfaces using traffic control.

[LARTC] How do I make the MARK target terminate in Iptables?

2005-01-27 Thread felix
Hi, I would like setting the mark to be a terminating rule in Iptables. Is there a patch or an argument/parameter that enables this behavior? Or exactly which line do I need to modify in the source code? I would massively prefer not to follow each mark rule with a second rule with the same

Re: [LARTC] negative tokens

2005-01-27 Thread Denis Kot
## DEV0=imq0 RATEUP=100 VPNS=30 /sbin/ip link set imq0 up tc qdisc add dev $DEV0 root handle 1: htb default 30 tc class add dev $DEV0 parent 1: classid 1:1 htb rate ${RATEUP}kbit ceil ${RATEUP}kbit tc class add dev $DEV0 parent 1:1 classid 1:30 htb rate $[$RATEUP/$VPNS]kbit ceil

[LARTC] question about filter priorities and tc -d filter show output

2005-01-27 Thread jacob martinson
forgot the [LARTC] prefix in the subject... On Thu, 27 Jan 2005 12:00:14 -0600, jacob martinson [EMAIL PROTECTED] wrote: The interface is setup like this: # tc qdisc del dev eth0 root # tc qdisc add dev eth0 root handle 1: htb default 2 # tc class add dev eth0 parent 1: classid 1:2 htb rate

Re: [LARTC] negative tokens

2005-01-27 Thread CcM
What does tokens and ctokens mean ?? thanks.Denis Kot [EMAIL PROTECTED] wrote: ##DEV0=imq0RATEUP=100VPNS=30/sbin/ip link set imq0 uptc qdisc add dev $DEV0 root handle 1: htb default 30tc class add dev $DEV0 parent 1: classid 1:1 htb rate ${RATEUP}kbitceil ${RATEUP}kbittc class add dev

Re: [LARTC] Ssh flow does not go into correct class. Help!

2005-01-27 Thread CcM
Look at this case, it even does no work! (following command run on ssh server.) tc qdisc add dev eth0 root handle 1: htb default 13tc class add dev eth0 parent 1: classid 1:1 htb rate 500kbit ceil 500kbittc class add dev eth0 parent 1:1 classid 1:11 htb rate 100kbit ceil 500kbit prio 1tc class

[LARTC] iproute-save ?

2005-01-27 Thread [EMAIL PROTECTED]
Anyone to know iproute-save, iproute-restore like script similar iptables-save/restore ? that stores everytihng routes,rules,tables everything ... then init.d-script that among other things stores the state on shutdown :) (thats easy then) -