[LARTC] jitter generation

2005-10-21 Thread ciprian niculescu
Hi, in a project i must degrade the voip/video, i know to do latency (tbf), but i don't know how to create jitter. I want to do it on a router/bridge and not the generating equipment. Any have a idea, or know a piece of code that do it? Thanks Ciprian

[LARTC] weird problem with ip+snat+tun0

2004-10-09 Thread Ciprian Niculescu
i have a box with 2 real interfaces and one more virtual eth0 - to the internet (193 eth1 - to the local net (192.168..) tun0 - to another ISP the routing is: all the free/local classes i send them directly on eth0, the rest of the internet i send throw tun0 the admin from tun0 wants me to

[LARTC] HTB_HYSTERESIS???

2004-09-09 Thread ciprian niculescu
Hello, what does mean the HTB_HYSTERESIS? C ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[LARTC] htb quantum/r2q problem/question

2004-07-11 Thread Ciprian Niculescu
hello, i have a config that is with a large domain of rate, from 2kb to 40Mb and i have some problems with i don't know how to deal with. so here are some classes 2 with q=1000, one with q 20 and one with q=6400, all have been calculated by htb, in the code i speficien just rate,ceil, no

[LARTC] htb classes

2004-02-29 Thread Ciprian Niculescu
hi, i want 5 classes that have rate 50, and ceil to max(or near) and that borrow bandwidth. but which config is better and why: class parent 1: classid 1:1 htb rate 400kbit class parent 1:1 classid 1:2 htb rate 50kbit ceil 350kbit prio 1 class parent 1:1 classid 1:3 htb rate 50kbit ceil 350kbit

Re: [LARTC] flow classification

2003-11-11 Thread Ciprian Niculescu
On Tue, 11 Nov 2003 09:59:18 +1000, Damion de Soto [EMAIL PROTECTED] said: i have 2 links to the ISP of 128kbit each, and i want to balance the trafic between them, but not staticly (local ip1-5 throw isp1, and the rest to isp2). I though at a ingress clasification, then routing by the

[LARTC] flow classification

2003-11-10 Thread Ciprian Niculescu
hello, i have 2 links to the ISP of 128kbit each, and i want to balance the trafic between them, but not staticly (local ip1-5 throw isp1, and the rest to isp2). I though at a ingress clasification, then routing by the mark, and at the exit nat (yes i must do nat :(((, but the clasification must

[LARTC] re: wondershaper + htb prio + qdisc prio

2002-12-31 Thread Ciprian Niculescu
rules (lower MARK numbers) should go first in your script, otherwise they might be overruled by later rules. Jannes Faber - Original Message - From: Ciprian Niculescu [EMAIL PROTECTED] To: Tornado [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, December 31, 2002 12:23 AM Subject

Re: [LARTC] wondershaper + htb prio + qdisc prio

2002-12-30 Thread Ciprian Niculescu
On Mon, 30 Dec 2002 22:22:28 +0100, Tornado [EMAIL PROTECTED] said: this is what i try, beacouse i dont realy play the game, i generate trafic to saturate the link, and ping from shell from an externat host In which case, you should check if your downstream is not chocking. Even if you

[LARTC] congestion problem

2002-10-11 Thread Ciprian Niculescu
I have the folowing configuration: Client --- R1 --- R2 --- R3 --- Web the Client it's me, the R1 router it's myne (so i can control it), the R2 is my provider router, and R3 is the provider,provider router. R2 - R3 is a 2mbit link R1 - R2 is a 10mbit link R2 have multiple interfaces and other

Re: [LARTC] img+htb - kernel oops :(

2002-10-11 Thread Ciprian Niculescu
devices. Thank you Ciprian Niculescu. you're welcome, but i don't remember helping you C P.S. esti si pe rlug parca? ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Fwd: Re: [LARTC] congestion problem]

2002-10-11 Thread Ciprian Niculescu
Don Cohen wrote: Client --- R1 --- R2 --- R3 --- Web the Client it's me, the R1 router it's myne (so i can control it), the R2 is my provider router, and R3 is the provider,provider router. R2 - R3 is a 2mbit link R1 - R2 is a 10mbit link R2 have multiple interfaces and other

[LARTC] iptables -m limit

2002-09-17 Thread Ciprian Niculescu
hy, i want a iptables rule to match if a designated trafic is above x bps or pps, i try iptm=/usr/local/sbin/iptables -t mangle $iptm -A PREROUTING -i eth0 -m limit --limit 1/sec $iptm -A PREROUTING -i eth0 -m limit ! --limit 1/sec the results are: 62992 16Mall --

[LARTC] HTB syslog message

2002-09-10 Thread Ciprian Niculescu
Sep 10 04:08:12 www kernel: HTB: bad diff in charge, diff=9DC000 now=3375104 then=4288004096 j=471 i get mesages like this one, what is it? Suse 7.2 - kernel 2.4.18 + htb 3.3 + imq C ___ LARTC mailing list / [EMAIL PROTECTED]

[LARTC] Kernel Packet Traveling Diagram

2002-09-10 Thread Ciprian Niculescu
Hy, I did some tests and i have some modifications and questions on the Kernel Packet Traveling Diagram found at http://www.docum.org/stef.coene/qos/kptd/ Test where made on a Suse 7.2 - kernel 2.4.18 + htb 3.3 + imq, iptables 1.2.6-imq and tc_htb. Where is on the diagram the mangle

Re: [LARTC] htb guarantee bandwidth

2002-08-29 Thread Ciprian Niculescu
hi, you give to all the clients all the bandwith or limited at 64k, but with different priorities. class parent 1: classid 1:5 htb rate 128kbit class parent 1:5 classid 1:1 htb rate 64kbit ceil 128kbit prio 1 class parent 1:5 classid 1:2 htb rate 64kbit ceil 128kbit prio 2 you put the client

Re: [LARTC] Stranger than IPTABLES?

2002-06-07 Thread Ciprian Niculescu
Martin Devera wrote: Wow. It is very interesting. Did you tried to read counters in iptables -vL and compare counts ? Like to read value from /proc/net/dev compare to count of packets at INPUT chain and then compare with no of packets in DROP chains. It could give us better picture where

[LARTC] ip route src

2002-05-29 Thread Ciprian Niculescu
in LARTC at 4.2.1 Split access we have: ip route add $net dev $if src $ip i didn't understand what does the src, if someone can explaint to me. thanks C ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc

Re: [LARTC] IMQ losing marks ??

2002-05-29 Thread Ciprian Niculescu
yes me :) didn't get why??? C Martin Devera wrote: So, the --set-mark 0x10020 trick is not working in this case ?? Yes, it is the conclusion. With tc filter the packets go to the desired queue, Devik's trick doesn't work in this case :-) I'm interested here. Do you want why didn't it

[LARTC] iproute compile error

2002-05-14 Thread Ciprian Niculescu
www:/usr/src/iproute2 # make -v GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i686-pc-linux-gnu Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions.

[LARTC] error in logs

2002-05-14 Thread Ciprian Niculescu
May 11 12:01:15 www kernel: Dead loop on virtual device bebe, fix it urgently! May 11 14:04:07 www kernel: Dead loop on virtual device bebe, fix it urgently! May 11 14:04:07 www kernel: Dead loop on virtual device bebe, fix it urgently! (Suse 7.2) kernel 2.4.18 + htb 3.2 + imq after 5-6

[LARTC] iproute + mark question

2002-05-14 Thread Ciprian Niculescu
i want to mark the pachets generated localy, and route them differently so the logic in me was to mark in mangle in PREROUTING, beacouse it's PRE, don't work. someone tell me to try in OUTPUT in mangle, did it and works so iptables -A OUTPUT -t mangle -p udp --dport 5:51000 -j MARK

Re: [LARTC] iproute + mark question

2002-05-14 Thread Ciprian Niculescu
The routing desicion is between OUTPUT an POSTROUTING, POSTROUTING means AFTER routing. So you may say: Locally generated packet - OUTPUT - Routing Desicion - POSTROUTING. yes i know, i do it now, but the question was, still is, there are other tips left out of the AdvRoutingHOWTO

[LARTC] IMQ mark and iptables mark

2002-05-06 Thread Ciprian Niculescu
hy, devik said that iptables -j IMQ don't do the actual jump but it mark the pachets to do the jump at the end of the table, but for my information, it makes the mark where in the pachet? C ___ LARTC mailing list / [EMAIL PROTECTED]

[LARTC] bad idee or?

2002-05-05 Thread Ciprian Niculescu
i want to do: iptables -t mangle -A PREROUTING -j MARK multiples marks with different mark iptables -t mangle -A POSTROUTING ... -j MARK ... multiples marks with different mark iptables -t mangle -A POSTROUTING -j IMQ practicaly i want to prioritise/limit all the trafic in and out,