[LARTC] equalize / ecmp not working as expected in 2.6 vs 2.4

2007-04-10 Thread Andrew Lyon
Hi, With kernel 2.4 I was able to use equalize to send our outgoing packets to two different routers (our isp supports this setup), like this: ip route add default src ip.a.dd.rr equalize nexthop via router1 weight 1 nexthop via router2 weight 1 The two routes were used equally on a per packet

Re: [LARTC] equalize / ecmp not working as expected in 2.6 vs 2.4

2007-04-10 Thread e . janz
Hi Andrew, I would use a combination with iptables. You should mark the packets, for example using average or n-th, and then use ip rules to send half of the packets vía one router and the rest to the other router according to the marks you set with iptables. Just a question ¿ dont you have

RE: [LARTC] equalize / ecmp not working as expected in 2.6 vs 2.4

2007-04-10 Thread Andrew Lyon
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 10 April 2007 15:17 To: lartc@mailman.ds9a.nl Subject: Re: [LARTC] equalize / ecmp not working as expected in 2.6 vs 2.4 Hi Andrew, I would use a combination with iptables. You should mark the

RE: [LARTC] equalize / ecmp not working as expected in 2.6 vs 2.4

2007-04-10 Thread e . janz
Andrew Lyon [EMAIL PROTECTED] wrote on 10/04/2007 16:34:52: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 10 April 2007 15:17 To: lartc@mailman.ds9a.nl Subject: Re: [LARTC] equalize / ecmp not working as expected in 2.6 vs 2.4 Hi

Re: [LARTC] Re: tc questions

2007-04-10 Thread Andy Furniss
Alejandro Ramos Encinosa wrote: tc qdisc add dev eth1 parent 1:20 handle 120: sfq perturb 10 tc class add dev eth1 parent 1:20 classid 1:21 htb rate 49mbit This is a misconfiguration, it doesn't make sense to add sfq and another htb class to 1:20. Andy.

Re: [LARTC] tc (CBQ) and UDP packets

2007-04-10 Thread Andy Furniss
Pablo Fernandes Yahoo wrote: Hello, I have seen in my site something strange. I use tc-CBQ for bandwidth shaping, and it works properly well. Sometimes i have seen UDP connections spend more bandwidth than i set up to the user. I have 4 sites, and it always happens. Is there a problem with

Re: [LARTC] ipp2p problem with kernel 2.6.20!

2007-04-10 Thread Andy Furniss
Niclas Bentley wrote: Hi again, I wrote this a few days agoIsn't there anybody using ipp2p and linux kernel 2.6.20? I think ipp2p would be very useful in order to identify bittorrent traffic... I don't - maybe you should cc the maintainer aswell. As for bittorrent - there may be easier

AW: [LARTC] tc (CBQ) and UDP packets

2007-04-10 Thread Pablo Fernandes Yahoo
Hi Andy and All, Thank you so much for your explain. I really apreciated it. I was thiking about this UDP question and bandwidth shaping... i saw the same udp connections pass through the shaping of the cable modem and CBQ in a linux box. Anyway, this is an example of my CBQ configuration