[LARTC] Multiple providers routing

2006-02-23 Thread Sameer Kr. Gurung
HI folks, I have a linux router connected to two separate internet connection from an ISP. There is a third interface ( ip -> 192.168.1.1 ) in the router connected to the local network. Configured the routing tables and added the rules and everything seems to be working fine from the routi

Re: [LARTC] Is this possible?

2006-02-23 Thread Russell Stuart
Sorry for the mess posted before. I hit send by mistake. On Thu, 2006-02-23 at 19:49 -0800, gypsy wrote: > Two more things. HTTP is a bursty protocol, so you need to think about > the burst and cburst parameters you give it. I had already figured out that I had to sent burst as small as possib

Re: [LARTC] Is this possible?

2006-02-23 Thread Russell Stuart
On Thu, 2006-02-23 at 19:49 -0800, gypsy wrote: > Two more things. HTTP is a bursty protocol, so you need to think about > the burst and cburst parameters you give it. I had already figured out that I had to send burst as small as possible. I recall reading both value is the > If you want to

Re: [LARTC] Is this possible?

2006-02-23 Thread gypsy
Russell Stuart wrote: > > On Thu, 2006-02-23 at 10:23 +0100, Andreas Klauer wrote: > > On Thu, Feb 23, 2006 at 06:38:09PM +1000, Russell Stuart wrote: > > > For example, lets say we have a 1000kbit link, and two > > > classes sharing that link: > > > > > > - Voip - ie high prio real time, and >

Re: [LARTC] 1k: 1000 or 1024?

2006-02-23 Thread gypsy
Andreas Hasenack wrote: > > The docs[1][2] suggest it's 1024, but tc says something else: > > # tc qdisc add dev eth0 root tbf rate 1kbps latency 50ms burst 1500 > > # tc -s qdisc ls dev eth0 > qdisc tbf 8009: rate 8000bit burst 1499b lat 48.8ms > ^^^ > Sent 0 bytes 0 p

Re: [LARTC] HTB: far unequal behaivor at a slight conf rate change

2006-02-23 Thread Luciano Ruete
El Thursday 23 February 2006 19:38, Andreas Klauer escribió: > On Thu, Feb 23, 2006 at 07:08:27PM -0300, Luciano Ruete wrote: > > root->parent_all_host(256,256)->client_host_1(X,X)->host_1_prio(X*0.9,X) > > ->host_1_dfl(X*0.1,X) > > What's the purpo

Re: [LARTC] userlevel should not need to know about HZ?

2006-02-23 Thread Andreas Hasenack
Em Qui 23 Fev 2006 19:47, Andreas Klauer escreveu: > > So, how do we reliably calculate the minimum value for > > buffer/burst/maxburts? > > Trial & Error, not that I ever had much luck with TBF though... From my experiments, the minimum seems to be either MTU plus a few bytes or the result of ra

Re: [LARTC] Balancing multiple connections and NAT

2006-02-23 Thread Markus Schulz
Am Donnerstag, 23. Februar 2006 20:14 schrieb Raj Mathur: > Hi, > > I have a client connected to the 'net through 3 ISP's. Have set up a > Linux box to do routing and load sharing for the 3 connections. A > fourth interface is connected to the LAN with private IP addresses. > Am using iptables to

Re: [LARTC] userlevel should not need to know about HZ?

2006-02-23 Thread Andreas Klauer
On Thu, Feb 23, 2006 at 05:21:46PM -0300, Andreas Hasenack wrote: > Kernel people tell me users should never need to know the value of HZ > used by the currently running kernel. One kernel hacker even told me > that Linus once changed the value from 100 to 1000 just to see user > space programs bre

Re: [LARTC] HTB: far unequal behaivor at a slight conf rate change

2006-02-23 Thread Andreas Klauer
On Thu, Feb 23, 2006 at 07:08:27PM -0300, Luciano Ruete wrote: > root->parent_all_host(256,256)->client_host_1(X,X)->host_1_prio(X*0.9,X) > ->host_1_dfl(X*0.1,X) What's the purpose of the 256kbit class? In the setup you posted, the 200/230kbit chi

[LARTC] Gre Tos

2006-02-23 Thread comp.techs
Hi, how does gre tunnels handle the TOS/DS field in the encapsulated packet? Is the value copied to the encapsulating ip header?     thx jason___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[LARTC] HTB: far unequal behaivor at a slight conf rate change

2006-02-23 Thread Luciano Ruete
Hi all! I'm working in a " _really_ end user simple", yet powerfull, flexible, scalable, GPL htb/htb-init front end, but now, in the "test fase" im facing an utlimate problem... Absoult minimalistic scenario: #Use a FIXEDFONT to read this #inet-ethx-|FIREWALL|-lan-ethx <-> |client_host_1| # #FI

Re: [LARTC] Is this possible?

2006-02-23 Thread Russell Stuart
On Thu, 2006-02-23 at 10:23 +0100, Andreas Klauer wrote: > On Thu, Feb 23, 2006 at 06:38:09PM +1000, Russell Stuart wrote: > > For example, lets say we have a 1000kbit link, and two > > classes sharing that link: > > > > - Voip - ie high prio real time, and > > - Web - background traffic. > >

Re: [LARTC] Balancing multiple connections and NAT

2006-02-23 Thread Nataniel Klug
Raj, I use something just like you make and for this problem I have patched my kernel with diff-routes patch (there is a link in LARTC) and I have make a little script that makes just a ping to an outside address every 5 min (cron job) and flush the route cache after this ping, like this: ip rout

[LARTC] userlevel should not need to know about HZ?

2006-02-23 Thread Andreas Hasenack
Kernel people tell me users should never need to know the value of HZ used by the currently running kernel. One kernel hacker even told me that Linus once changed the value from 100 to 1000 just to see user space programs break. However, it is needed for the buffer parameter in TBF. The tc-tbf(8)

Re: [LARTC] Balancing multiple connections and NAT

2006-02-23 Thread Edmundo Carmona
That's because the route to a host X has been changed. There's a routing decision to host X every so or so minutes. Ways to handle that? Boy, that can be tough. I've read of prople who use a different LAN IP for every public connection. So If you have 3 public connections, you should use three dif

[LARTC] Balancing multiple connections and NAT

2006-02-23 Thread Raj Mathur
Hi, I have a client connected to the 'net through 3 ISP's. Have set up a Linux box to do routing and load sharing for the 3 connections. A fourth interface is connected to the LAN with private IP addresses. Am using iptables to SNAT traffic to the appropriate IP depending on the interface the pa

[LARTC] 1k: 1000 or 1024?

2006-02-23 Thread Andreas Hasenack
The docs[1][2] suggest it's 1024, but tc says something else: # tc qdisc add dev eth0 root tbf rate 1kbps latency 50ms burst 1500 # tc -s qdisc ls dev eth0 qdisc tbf 8009: rate 8000bit burst 1499b lat 48.8ms ^^^ Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) ra

Re: Fwd: [LARTC] ipp2p don't block Ares

2006-02-23 Thread Andreas Klauer
On Thu, Feb 23, 2006 at 12:12:16PM -0300, Roberto Pereyra wrote: > How I can dump Ares packages ? There are a number of tools for this, for example tcpdump. You should really talk to the developer(s) about this, it depends on what they need. Dumping Ares packets specifically is a bit hard, since

Fwd: [LARTC] ipp2p don't block Ares

2006-02-23 Thread Roberto Pereyra
> If you can provide details about the new protocol (by dumping >Ares packets or something) and help with testing, it should be not that hard >to fix, provided the new protocol isn't something nasty. Hi How I can dump Ares packages ? Thanks roberto -- Forwarded message --From:

Re: [LARTC] ICMP time exceeded in-transit sent from wrong interface

2006-02-23 Thread Simon Kissel
Just in case someone else in the future googles for this problem: SK> My question now is: WHY does that happen, and what could I do against SK> it? Is there some kernel setting or mechanism that decides which SK> interface is used when sending ICMP time exceeded in-transit messages? SK> My goal is

Re: [LARTC] ipp2p don't block Ares

2006-02-23 Thread Andreas Klauer
On Thu, Feb 23, 2006 at 09:26:48AM -0300, Roberto Pereyra wrote: > This bridge works fine buts since two weeks can't block Ares traffic. All > protocols block fine but Ares not (upload and download). > > Somebody are using ipp2p blocking the latest Ares version ? Did you already contact the autho

Re: [LARTC] ipp2p don't block Ares

2006-02-23 Thread ro0ot
Hi, Did you try using L7-filter to block Ares? http://l7-filter.sourceforge.net/protocols Regards, ro0ot Roberto Pereyra wrote: HI I have a bridge running ipp2p blocking Ares traffic and others protocols. This bridge works fine buts since two weeks can't block Ares traffic. All protocols

[LARTC] ipp2p don't block Ares

2006-02-23 Thread Roberto Pereyra
HI I have a bridge running ipp2p blocking Ares traffic and others protocols. This bridge works fine buts since two weeks can't block Ares traffic. All protocols block fine but Ares not (upload and download). Somebody are using ipp2p blocking the latest Ares version ? My system settings are:

Re: [LARTC] Is this possible?

2006-02-23 Thread Andreas Klauer
On Thu, Feb 23, 2006 at 06:38:09PM +1000, Russell Stuart wrote: > For example, lets say we have a 1000kbit link, and two > classes sharing that link: > > - Voip - ie high prio real time, and > - Web - background traffic. Have you measured this link, i.e. when there is no activity and you sta

[LARTC] Is this possible?

2006-02-23 Thread Russell Stuart
I am trying to do ingress flow control with htb + imq, and as could be expected it isn't working well. It works a lot better when I keep the htb ceiling well below what the link can actually carry - I guess because htb gets to throttle the TCP fast start before it causes packets to be dropped. T