[LARTC] problem with wrong speeds

2004-05-04 Thread nikolov
Hello everyone, I just found very strange problem. I have a big class with 5500 KBit bandwidth, and a lot of smaller for which this one is their parent. Some of them are with rate 64 and ceil 1024 and other are with rate 256 and ceil pceil (5500). All filters are using mark from iptables. The

Re: [LARTC] T1 (hardware pre-shaped) shaping question

2004-05-04 Thread Stef Coene
On Tuesday 04 May 2004 06:00, Peter Rabbitson wrote: Hello list. I have been trying to figure this out on my own, but I guess I somewhat failed :) A linux router with external eth0 and internal eth1 acts as a gateway for a number of machines utilizing a partial T1 line (512kbps). Since the T1

Re: [LARTC] htb bandwith

2004-05-04 Thread Stef Coene
On Monday 03 May 2004 13:54, derbel hajer wrote: Hi, tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit tc class add dev eth0parent 1:1 classid

[LARTC] Wrapping prio in tbf

2004-05-04 Thread John Meeks
The manual says (about prio): Because it doesn't actually shape, the same warning as for SFQ holds: either use it only if your physical link is really full or wrap it inside a classful qdisc that does shape. The latter holds for almost all cable modems and DSL devices. I want to wrap prio

[LARTC] multipath routing question

2004-05-04 Thread Joshua Szmajda
Hi All, I have a linux router, configured with two internet connections and two lan segments. I've setup multipath routing as described in http://lartc.org/howto/lartc.rpdb.multiple-links.html My problem (I think) is that somehow the router will randomly choose incorrect routing paths for

Re: [LARTC] Wrapping prio in tbf

2004-05-04 Thread Stef Coene
On Tuesday 04 May 2004 15:05, John Meeks wrote: The manual says (about prio): Because it doesn't actually shape, the same warning as for SFQ holds: either use it only if your physical link is really full or wrap it inside a classful qdisc that does shape. The latter holds for almost all

Re: [LARTC] Wrapping prio in tbf

2004-05-04 Thread John Meeks
On Tue, 4 May 2004, Stef Coene wrote: On Tuesday 04 May 2004 15:05, John Meeks wrote: [snip] I'm using kernel 2.4.18, so htb doesn't work Htb should work. (from FAQ section 9.5.5.1) :~# tc qdisc add dev eth0 root handle 1: htb default 30 RTNETLINK answers: Invalid argument Here's what I

[LARTC] shape outgoing/upload traffic PER-IP.

2004-05-04 Thread Cristiano Soares
does anyone know a way to shape outgoing/upload traffic per ip? I have a network and i want to limit the uploadwith 100kbit per user. Ex: 192.168.1.20 1024kbit-DOWN / 100kbit-UP 192.168.1.21 1024kbit-DOWN / 100kbit-UP and so on... Ive tried CBQ and HTB, but couldnt get is

Re: [LARTC] Wrapping prio in tbf

2004-05-04 Thread gypsy
John Meeks wrote: On Tue, 4 May 2004, Stef Coene wrote: On Tuesday 04 May 2004 15:05, John Meeks wrote: [snip] I'm using kernel 2.4.18, so htb doesn't work WRONG! (from FAQ section 9.5.5.1) :~# tc qdisc add dev eth0 root handle 1: htb default 30 RTNETLINK answers: Invalid argument

Re: [LARTC] shape outgoing/upload traffic PER-IP.

2004-05-04 Thread gypsy
Cristiano Soares wrote: does anyone know a way to shape outgoing/upload traffic per ip? I have a network and i want to limit the upload with 100kbit per user. Ex: 192.168.1.20 1024kbit-DOWN / 100kbit-UP 192.168.1.21 1024kbit-DOWN / 100kbit-UP Ive tried CBQ and HTB, but