Re: [LARTC] HTB doesn't respect rate values

2003-07-07 Thread devik
I did pfifo with limit 10 and HTB started to work. I noticed drops and rate was OK. Sometimes (for 10-40 seconds) but seldom it worked bad (1:2 got less, than it should) but there wasn't drops during this time. I tried this also with 12kbit at it was similar. If I good understand, there is

[LARTC] local address routeable?

2003-07-07 Thread Christian Stuellenberg
Hello all, I've got a problem to set up a configuration that shoud allow to route packets that come in over a certain interface(s) IF1 that then should go out to another interface IF2 but are addressed to the local address of interface IF3. So only if packets for the address of interface IF3

[LARTC] Priority LAN over ftp/web server?

2003-07-07 Thread gatur
Hello all Another newbie here :) I have a linux box setup with two NICs eth0 is 100mbit internal lan (192.168.100.*) eth1 is 10mbit internet On the linux box there is a ftp server and web server. I want to somehow priority the traffic from the internal lan over any traffic that is on the ftp

Re: [LARTC] Priority LAN over ftp/web server?

2003-07-07 Thread Stef Coene
On Monday 07 July 2003 10:34, [EMAIL PROTECTED] wrote: Hello all Another newbie here :) I have a linux box setup with two NICs eth0 is 100mbit internal lan (192.168.100.*) eth1 is 10mbit internet On the linux box there is a ftp server and web server. I want to somehow priority the

Re: [LARTC] HTB doesn't respect rate values

2003-07-07 Thread Stef Coene
On Monday 07 July 2003 06:16, Leonardo Balliache wrote: At 01:05 a.m. 06/07/03 +0200, you wrote: Hi, Sergiusz: I make a test: I send an email - it goes to default class 1:3. Then (during email is sent) I get e big file through www. What happen? WWW rate is 30-70kbit. So it doesn't keep his

Re: [LARTC] overlimit in tc statistics

2003-07-07 Thread Stef Coene
On Friday 04 July 2003 13:18, Sergey Smirnov wrote: There is overlimit in queueing disciplines statistics: # tc -s qdisc show dev eth1|grep overlimit Sent 2405317 bytes 17168 pkts (dropped 0, overlimits 0) Sent 145699 bytes 872 pkts (dropped 0, overlimits 0) Sent 0 bytes 0 pkts

[LARTC] how does the bandwidth management relates with the proc file system?

2003-07-07 Thread Srikanth
___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[LARTC] Can you host the htb + u32 scripts pls

2003-07-07 Thread Trevor Warren
Hell Stef..Martin, I would love it if others could use the final scripts sent across yesterday i have done using htb + u32 as a benchmark. It incorporates a lot of input from you all and a large amount of r and d to achieve the simple but high performance configuration. Lemme know...;)

[LARTC] [Fwd: how does the bandwidth management relates with the proc filesystem?]

2003-07-07 Thread Srikanth
Hi, How does the bandwidth management relates with the proc file system? Can anybody suggest? regards, Srikanth. ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Re: [LARTC] [Fwd: how does the bandwidth management relates withthe proc file system?]

2003-07-07 Thread Catalin BOIE
How does the bandwidth management relates with the proc file system? What do you mean? There is nothing in proc to get statistics, if this is what you want to ask. Can anybody suggest? regards, Srikanth. ___ LARTC mailing list / [EMAIL

[LARTC] advice for bandwidth control traffic accounting

2003-07-07 Thread [EMAIL PROTECTED]
hello gentle readers, a somewhat complicated situation to explain, but I am most curious to hear any advice or comments that you may be kind enough to offer. I have the following situation: [ multiple ] [ client - BW-Linux-1 ] - BW-Linux-2 - Internet [

Re: [LARTC] overlimit in tc statistics

2003-07-07 Thread Sergey Smirnov
Stef Coene wrote: On Friday 04 July 2003 13:18, Sergey Smirnov wrote: There is overlimit in queueing disciplines statistics: # tc -s qdisc show dev eth1|grep overlimit Sent 2405317 bytes 17168 pkts (dropped 0, overlimits 0) Sent 145699 bytes 872 pkts (dropped 0, overlimits 0) Sent 0 bytes 0

[LARTC] Difference of building modules between kernel 2.4.XX and 2.5.XX ???

2003-07-07 Thread Yuan ChunYang
In kernel 2.5, the implementation of building modules must be changed. As fellow, i programed a test . In kernel 2.4.20 ,it's OK! But in kenel 2.5.72,you can see: # insmod testdemo.o Error inserting 'testdemo.o': -1 Unknown symbol in module demo: no version magic, tainting kernel. demo:

Re: [LARTC] overlimit in tc statistics

2003-07-07 Thread Stef Coene
O'k. I have Debian stable Linux router to Internet. kernel version? I want manage Internet traffic on it: Increase priority and speed of some protocols and decrease for others. I know that I can change this only for outgoing packets. First question: If I decrease priority and speed for

Re: [LARTC] HTB doesn't respect rate values

2003-07-07 Thread Sergiusz Brzeziski
Uytkownik devik napisa: I did pfifo with limit 10 and HTB started to work. I noticed drops and rate was OK. Sometimes (for 10-40 seconds) but seldom it worked bad (1:2 got less, than it should) but there wasn't drops during this time. I tried this also with 12kbit at it was similar. If I good

RE: [LARTC] Question on prio qdisc

2003-07-07 Thread Leonardo Balliache
Hi, Joseph: At 06:45 a.m. 03/07/03 +0200, you wrote: Thank you Lars and Wing for your responses. I just ran another experiment using RED on the lowest priority flow as suggested by Wing. I had used RED before (on all flows) without success. In this experiment, specified a large queue size for

[LARTC] htb iptables

2003-07-07 Thread Svetlin Ivanov
how can i MARK with iptables traffic in out INTERNET and in out PEERING from and forward to my LAN with 4 MARKS to create 4 class with htb wich have 4 fw filter and 4 parent with 4 u32 filter and many subclasess for each client with U32 filter

[LARTC] Re: netfilter resets TCP conversation that was DNATed from thelocal machine to another

2003-07-07 Thread Leonardo Balliache
Hi. Michael: At 06:45 a.m. 03/07/03 +0200, you wrote: The netfilter list had no answer for this. I don´t thing netfilter has something to do with this. Remember that: TCP faces transmission errors such as received datagrams apparently not directed to the host that received them by responding,

Re: [LARTC] HTB doesn't respect rate values

2003-07-07 Thread devik
Well. The right way for your case would be to limit single subqueue in SFQ. See line 24 of attached patch - and try patch itself. devik On Mon, 7 Jul 2003, Sergiusz Brzeziski wrote: Uytkownik devik napisa: I did pfifo with limit 10 and HTB started to work. I noticed drops and rate was OK.

[LARTC] marking packets on a Cisco router?

2003-07-07 Thread Gerd Feiner
hi there, i am curious. is it possible to use a cisco router (ubr, cable-router, in particular), to mark packets on certain behalfs? and in addition: process this packets with linux later on? our setup looks something like that: cm-customers --/hfc-plant/-- ubr --/internet/-- ... now i want

[LARTC] Out of IMQ interfaces

2003-07-07 Thread Hasso Tepper
I needed router that can do bidirectional shaping in interface. I'm using IMQ + TBF for that at the moment. One ethernet interface is connected to backbone, other has many vlan's. Every vlan is connected to IMQ device. I have wrapper scripts for maintaining this stuff and it works like a

Re: [LARTC] HTB doesn't respect rate values

2003-07-07 Thread Sergiusz Brzeziski
Uytkownik devik napisa: Well. The right way for your case would be to limit single subqueue in SFQ. See line 24 of attached patch - and try patch itself. devik hmm.. with pfifo_fast is thesame problem - no drops... and unstable. It doesn't look like a SFQ-specific problem. With fifo (without

Re: [LARTC] HTB doesn't respect rate values

2003-07-07 Thread [EMAIL PROTECTED]
Original Message: - From: Sergiusz Brzeziñski [EMAIL PROTECTED] Well, it helped in 80%. Why only in 80? I repeated my test with SFQ and: - it worked better than bevore, there where long time periods (15-20sec.) with right rate-values http://mailman.ds9a.nl/mailman/listinfo/lartc

[LARTC] Multicast routing

2003-07-07 Thread Meenakshi Kaushik
Hello list, Not sure if I am asking the question in the correct list. I am a newbie trying to get multicast routing to work on my linux 2.4 kernel. I am using usc pimd code. I have pimd which sets up the route in the kernel [ /tmp]# ip mroute show (22.22.22.1, 224.0.1.20) Iif: eth2

Re: [LARTC] Out of IMQ interfaces

2003-07-07 Thread Patrick McHardy
Hasso Tepper wrote: But there is problem though - router can handle more, but I'm running out of IMQ devices. Default is 16 devices, but it is possible to change it in linux/include/imq.h. Theoretical maximum is 127. There is bug is imq module btw, it refuses to accept bigger number of