RE: [LARTC] Not understanding network setup!!

2006-06-16 Thread ramsurrunv
Many thx for the info Martin..I'll look at it right away. Warm regards, Visham ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[LARTC] how to write in tcng this PPPoE filter?

2006-06-16 Thread Rani Ahmed
can some one please how to transform this into TCNG code? tc filter add dev ${DEVICE} parent 1: protocol all u32 \ match u16 0x8864 0x at -2 flowid 1:${ID} 8864 is the PPP session ethernet protocol the above code is used to shape all PPPoE traffic on the same device so this way i can

Re: [LARTC] How to explde HTB.INIT tc commands?

2006-06-16 Thread Stefano Mainardi
2006/6/4, Carl-Daniel Hailfinger [EMAIL PROTECTED]: Stefano Mainardi wrote: Hi to all, [...] You already sent that mail three times in less than 30 hours. Please stop. I know, is a error of my SMTP. Somebody will answer if he/she knows. I know too. htb.init compile, i've found it.

RE: [LARTC] Not understanding network setup!!

2006-06-16 Thread Eliot, Wireless and Server Administrator, Great Lakes Internet
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, June 04, 2006 12:32 PM To: Martin A. Brown Cc: lartc@mailman.ds9a.nl; [EMAIL PROTECTED] Subject: RE: [LARTC] Not understanding network setup!! Hi Martin, How

Re: [LARTC] How to explde HTB.INIT tc commands?

2006-06-16 Thread Luciano Ruete
On Friday 02 June 2006 11:15, Stefano Mainardi wrote: Hi to all, i'm using htb.init for configuring my shaper. Now i want to know if it possible to show how htb.init make and use TC, anyone has tried it? ./htb.init compile #(RTFM) -- Luciano ___

Re: [LARTC] Re: For leaf classes is best PFIFO or SFQ?

2006-06-16 Thread Damjan
Well, pfifo is a discipline at the end of class, not the class. I'm using sfq for every customer (the are limited to 256/384/512kbit), so they will be able to use the Internet even when using p2p programs. But p2p programs create a lot of connection flows, so statistically SFQ will give

RE: [LARTC] Not understanding network setup!!

2006-06-16 Thread ramsurrunv
Eliot, thx for the link..i'll check the program and see if I can use it. Warm regards, Visham ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] IMQ + NAT

2006-06-16 Thread Andy Furniss
Jonas Jasas wrote: Hello, I have eth0 - internet eth1..4 - local networks on eth0 i do $IPTABLES -A POSTROUTING -t nat -o eth0 -j MASQUERADE I want to balance out/in load for eth1..4 and localhost (mainly squid). Nat makes impossible to do it on eth0, so I installed IMQ. I need to get to on

Re: [LARTC] iptables CLASSIFY and MARK not working?

2006-06-16 Thread Patrick McHardy
Eliot, Wireless and Server Administrator, Great Lakes Internet wrote: Eh. What a pain. If I disable this, then ebtables will not call iptables after the ebtables are finished running. I figured out that I could use ebtables to match the destination MAC address like I needed for the other

[LARTC] tc don't working under SUSE 10.0 OSS

2006-06-16 Thread Igor Belikov
Hello, I can't force tc to work under SUSE 10.0 OSS. Before this we have working system under SUSE 9.1 (with kernel 2.6.15.4), and consider to move this system to another hardware. I install SUSE 10.0, first with kernel from distributive, than with kernel 2.6.16.18, than with 2.6.15.4

[LARTC] TC on virtual NIC, and how to manage the incoming traffic

2006-06-16 Thread Stefano Mainardi
Hello list, i thank you for the precious info you gave me, they were really useful in my work. I need to work with TC on a virtual interface. Is it possible ? How ? There is any doc on this topic ? And foremost, is my idea of working with TC on a virtual interface viable ? I am wondering if to

RE: [LARTC] Linux router performance

2006-06-16 Thread S Mohan
Damjan wrote: On an AMD Athlon64 3200+ (2 GHz) I was able to saturate 2 PCI-Express gigabit cards (but that was with 1500 byte packets). Never tried more although the box has 6 interfaces capable of gigabit, 4 of them attached via PCI-Express. But that's _only_ 8 packets/s isn't it.

[LARTC] Optimization on Bandwidth Management-L7 filtering?

2006-06-16 Thread lee weejin
Hi, Recently i just set up a machine for bandwidth management based on layer 7 filtering, i have followed the instruction from http://l7-filter.sourceforge.net/L7-HOWTO-Netfilter. Since all the incoming packets was checked one by one-(it is time consuming and will cause the processing delay if it

[LARTC] fwmark filter doesn't work as expected

2006-06-16 Thread Michał Margula
Hello! Currently I am marking packets with IPMARK, and then using following rules: 1: class add dev eth0 parent 1:4 classid 1:100a htb rate $rate ceil $ceil quantum 1600 2: qdisc add dev eth0 parent 1:100a handle 100a:0 sfq perturb 10 3: filter add dev eth0

[LARTC] Re: [PATCH 0/2] NET: Accurate packet scheduling for ATM/ADSL

2006-06-16 Thread Andy Furniss
jamal wrote: I have taken linux-kernel off the list. Russell's site is inaccessible to me (I actually think this is related to some DNS issues i may be having) and your masters is too long to spend 2 minutes and glean it; so heres a question or two for you: - Have you tried to do a long-lived

[LARTC] Re: [PATCH 0/2] Runtime configuration of HTB's HYSTERESIS option

2006-06-16 Thread Martin Devera
Russell Stuart wrote: The HTB qdisc has a compile time option, HTB_HYSTERESIS, that trades accuracy of traffic classification for CPU time. These patches change hysteresis to be a runtime option under the control of tc. The effects of HYSTERESIS on HTB's accuracy are significant (see

[LARTC] Static routing with multiple interfaces

2006-06-16 Thread Vinod Chandran
Hi, I am facing some strange problem with multipath routing. I have set up a rule stating that any packets coming from a certain ip address 192.168.52.66 should use an interface eth1 For this, I used the following commands /ip rule add from 192.168.52.66 table 200 ip route add default

[LARTC] problem with multi gatway routing

2006-06-16 Thread sonu chouhan
hi, i wann to make multigateway routing and i read ur how to on http://lartc.org/howto/lartc.rpdb.multiple-links.html and create some rules which i am sending u, but with this rules i am not able to do multigateway routing on my linux router so plz help me out. thanks the rules are given below

[LARTC] compilation on slackware 10.2

2006-06-16 Thread tasos
hello people and nice to meet you.[EMAIL PROTECTED]:~/tcng$ ./configureReading configuration defaults from ./configbuilding tcsim: yesKernel source: /home/tasoss/linux-2.6.16.20 Kernel version: 2.6.16iproute2 source: /home/tasoss/iproute2-2.6.16-060323iproute2 version: 060323Host byte order:

[LARTC] [PATCH 0/2] Runtime configuration of HTB's HYSTERESIS option

2006-06-16 Thread Russell Stuart
The HTB qdisc has a compile time option, HTB_HYSTERESIS, that trades accuracy of traffic classification for CPU time. These patches change hysteresis to be a runtime option under the control of tc. The effects of HYSTERESIS on HTB's accuracy are significant (see chapter 7, section 7.3.1, pp

[LARTC] [PATCH 2/2] Runtime configuration of HTB's HYSTERESIS option (userspace)

2006-06-16 Thread Russell Stuart
The HTB qdisc has a compile time option, HTB_HYSTERESIS, that trades accuracy of traffic classification for CPU time. These patches change hysteresis to be a runtime option under the control of tc. The effects of HYSTERESIS on HTB's accuracy are significant (see chapter 7, section 7.3.1, pp

Re: [LARTC] Linux router performance

2006-06-16 Thread Tomas Bonnedahl
Fermín Galán Márquez skrev: Hi, I wonder about the performance of a Linux box used as router (I guest I'm not the first :). Althought I know it mainly depends on the hardware, I'm trying to find some references on the topic or comparations with other routing solutions (FreeBSD box used as

Re: [LARTC] Linux router performance (fwd)

2006-06-16 Thread Jesper Dangaard Brouer
I think that Robert Olssons post never made it through the filters... -- Forwarded message -- Date: Fri, 2 Jun 2006 12:32:53 +0200 From: Robert Olsson [EMAIL PROTECTED] To: Jesper Dangaard Brouer [EMAIL PROTECTED] Cc: Andreas John [EMAIL PROTECTED], Robert Olsson [EMAIL

[LARTC] [PATCH 0/2] NET: Accurate packet scheduling for ATM/ADSL

2006-06-16 Thread Jesper Dangaard Brouer
(Resend message bounced to LARTC) The Linux traffic's control engine inaccurately calculates transmission times for packets sent over ADSL links. For some packet sizes the error rises to over 50%. This occurs because ADSL uses ATM as its link layer transport, and ATM transmits packets in fixed

[LARTC] [PATCH 1/2] NET: Accurate packet scheduling for ATM/ADSL (kernel)

2006-06-16 Thread Jesper Dangaard Brouer
(Resend message bounced to LARTC) The Linux traffic's control engine inaccurately calculates transmission times for packets sent over ADSL links. For some packet sizes the error rises to over 50%. This occurs because ADSL uses ATM as its link layer transport, and ATM transmits packets in fixed

[LARTC] [PATCH 2/2] NET: Accurate packet scheduling for ATM/ADSL (userspace)

2006-06-16 Thread Jesper Dangaard Brouer
(Resend message bounced to LARTC) The Linux traffic's control engine inaccurately calculates transmission times for packets sent over ADSL links. For some packet sizes the error rises to over 50%. This occurs because ADSL uses ATM as its link layer transport, and ATM transmits packets in fixed

[LARTC] tc ingress policing with multiple subnets

2006-06-16 Thread Nikolay Kichukov
Hello everybody on the list, I have the following situation where I want to police the speed of incoming packets from specific subnets to 1024kbps and then police all the rest to 256kbps, which is the speed my ISP grants for the rest of the internet. So, eth1 is the one connected to the cable

[LARTC] slackware 10.2 compilation

2006-06-16 Thread tasos
hello people and nice to meet you.[EMAIL PROTECTED]:~/tcng$ ./configureReading configuration defaults from ./configbuilding tcsim: yesKernel source: /home/tasoss/linux- 2.6.16.20 Kernel version: 2.6.16iproute2 source: /home/tasoss/iproute2-2.6.16-060323iproute2 version: 060323Host byte order:

Re: [LARTC] slackware 10.2 compilation

2006-06-16 Thread Nikolay Kichukov
Hello, I am not an expert myself, but I can suggest that you use 3 lines to limit the overall upload limit for your adsl ;-) MAXOUT=9 tc qdisc add dev eth1 root handle 1: htb default 13 tc class add dev eth1 parent 1: classid 1:1 htb rate $MAXOUT ceil $MAXOUT where eth1 will be the

Re: [LARTC] QoS book

2006-06-16 Thread Tomas Bonnedahl
I can recommend this one: http://www.policyrouting.org/PolicyRoutingBook/ Hello all, Can anyone recommend a good book which thoroughly explains QoS from a Linux perspective? Something with TC examples the like. I've looked at the following:

[LARTC] yet another real time ip and qdisc bandwidth monitor

2006-06-16 Thread clown
Hi, I made a prototype for a real-time qdisc and ip bandwidth monitor, it still is not mature, but can be of some use even as it is. To try it : http://clowncode.net Clowncoder ___ LARTC mailing list LARTC@mailman.ds9a.nl