Re: [LARTC] even bandwith for users on 2 newtworks

2006-01-17 Thread Flemming Frandsen
trees into one inbound tree on the external interface, just like the outbound tree. Ingress shaping *is* very useful and it's a pity that Linux has taken this long to gain support for it. -- Flemming Frandsen, NrVissing.Net administrator. ___ LARTC

[LARTC] Re: even bandwith for users on 2 newtworks

2006-01-17 Thread Flemming Frandsen
Samuel Díaz García wrote: Try IMQ (Intermediate Message Queue) http://www.linuximq.net. I've seen it and tried it, but for some reason the imq module I built on another machine than the router (it boots from flash, so no gcc) didn't work, the module loaded correctly, but I couldn't

Re: [LARTC] even bandwith for users on 2 newtworks

2006-01-16 Thread Flemming Frandsen
and this problem will mostly be solved. However, there are some cases where IMQ/IFB is useful. I don't want to bash these intermediary devices, they're just abused too many times. Well, shaping incoming traffic correctly is exactly what IMQ/IFB was written for, so it's hardly abuse. -- Flemming

Re: [LARTC] even bandwith for users on 2 newtworks

2006-01-16 Thread Flemming Frandsen
Alexey Toptygin wrote: No, attaching to the input is just as easy as to the output. The reason that isn't implemented is that it wouldn't really be useful. You are full of it. What everybody who asks for shaping want is mainly ingress shaping and it works just fine. When TCP starts to

Re: [LARTC] even bandwith for users on 2 newtworks

2006-01-15 Thread Flemming Frandsen
Hariett Jones wrote: I want server to share bandwith from eth0 evenly for users on eth1 and wlan0. How can i make it ? Is it possible ? As far as i know htb splits outgoing bandwith on one device only. This is the most braindead defect of Linux (IMHO): You can't, because you can only shape

Re: [LARTC] Traffic Control using with an application

2006-01-13 Thread Flemming Frandsen
Hotny wrote: I want to use traffic control for a resource controller for a multimedia middleware platform. Is there a library or syscalls, so that I don't have to use the Systemcommands? Why would you want to do that? There is nothing sinful or expensive about calling other programs from

Re: [LARTC] tc filter add ... fw returns RTNETLINK answers: Invalidargument

2006-01-13 Thread Flemming Frandsen
Jody Shumaker wrote: I have never seen anything coming from the mark unless you specify it. I have. I'm honestly not really sure how setting a mark of 0x14806 can automatically set it to go to flowid 1:4806. Because someone wrote it to do that, a mark of 0xdadface will map to flowid

Re: [LARTC] tc filter add ... fw returns RTNETLINK answers: Invalidargument

2006-01-11 Thread Flemming Frandsen
1 fw RTNETLINK answers: Invalid argument As I already said - you don't need handle 1 I tried removing it, but it didn't make any difference. Am I correct in assuming that the reason that the 'parent 1:' part isn't needed is because it comes from the mark? -- Flemming Frandsen, NrVissing.Net

Re: [LARTC] Shaping traffic bound for the NAT'ed networks whithoutimq

2006-01-11 Thread Flemming Frandsen
if something goes wrong. I'll just keep going with 2.4 and the suboptimal shaper until I have access to the serial console on the machine (which means installing a second soekris at the same location. -- Flemming Frandsen, NrVissing.Net administrator

[LARTC] tc filter add ... fw returns RTNETLINK answers: Invalid argument

2006-01-10 Thread Flemming Frandsen
When I run this: tc filter add dev eth0 parent 1: protocol ip prio 1 handle 1 fw I get: RTNETLINK answers: Invalid argument The traditional interpretation of that gnarly error message is that cls_fw is missing, but lsmod | grep cls_fw gets me: cls_fw 2336 4 (autoclean) I

Re: [LARTC] tc filter add ... fw returns RTNETLINK answers: Invalid argument

2006-01-10 Thread Flemming Frandsen
Muthukumar S wrote: On 1/10/06, Flemming Frandsen [EMAIL PROTECTED] wrote: When I run this: tc filter add dev eth0 parent 1: protocol ip prio 1 handle 1 fw I get: RTNETLINK answers: Invalid argument You are missing the flowid. For example tc filter add dec eth0 parent 1: protocol ip

Re: [LARTC] Sharing a DSL between 40 subnets with htb

2006-01-08 Thread Flemming Frandsen
gypsy wrote: I recommend that you look here. It may not be what you want, but it certainly is worth checking out even if it turns out not to be your answer: http://www.shurdix.org/ I'm not going to change the entire OS just to get the traffic shaping set up and the traffic shaper in

[LARTC] Sharing a DSL between 40 subnets with htb

2006-01-07 Thread Flemming Frandsen
I have a network with around 40 /24 subnets that shares a common DSL, this cries out for shaping so here I am trying to make it work as my first tc project. I have managed to cargocult some snippets from this list and tried to come up with a config, but there are a few things that I'd really