Re: [LARTC] can I use tos and fwmark at the same time?

2005-12-05 Thread Andy Furniss
panca sorin wrote: Hello lartc maintainers and users! I have a router with two NICs. One NIC is connected to the Internet and the other to my internal LAN. I made a script for priorizing interactive traffic. The script matches TOS Minimize-Delay for priorizing interactive trafic, and fwmark

Re: [LARTC] The effects of queueing on delay...(TX Ring Buffer the problem)

2005-12-05 Thread Andy Furniss
Jonathan Lynch wrote: Quoting Andy Furniss <[EMAIL PROTECTED]>: Jonathan Lynch wrote: This was down to the tx buffer size on the network card i was using. It was an Intel 82547EI gigabit Card using the e1000 driver and operating at 100mbit. The tx buffer was set to 256 which caused this huge

Re: [LARTC] Theory test

2005-12-05 Thread Andy Furniss
Kenneth Kalmer wrote: Are we talking about ingress or egress? Egress, all my ingress experiments worked 100% (mostly prioritization, that's all) That's handy I was expecting you to say ingress. Outbound should be totally under your control. How much bandwidth do you have (and how much

[LARTC] GRED & HTB

2005-12-05 Thread comp.techs
Hi, I am tring to setup AF on my router using GRED/HTB. I plan to mark and set the DSCP with iptables and the ingress qdisc to set the tc_index for the proper GRED vq(1-12).   My question is: Is there a way to allow for priority between the af classes and within the af classes? also would it be

Re: [LARTC] Theory test

2005-12-05 Thread Kenneth Kalmer
On 12/5/05, Andy Furniss <[EMAIL PROTECTED]> wrote: > Kenneth Kalmer wrote: > > Guys > > > > Considering the festive season is upon us, thanks to everyone > > contributing to the list and helping all the readers with your great > > input! I don't want to mention names, I'll most certainly leave > >

Re: [LARTC] Theory test

2005-12-05 Thread Kenneth Kalmer
On 12/5/05, Andreas Klauer <[EMAIL PROTECTED]> wrote: > On Monday 05 December 2005 18:42, Kenneth Kalmer wrote: > > -= HTB =- > > > > Set the parent class for internet traffic to X, with 200 children. > > Each child has a rate of Y, their totals equal X. Each child also has > > a ceil of Z. This me

Re: [LARTC] Theory test

2005-12-05 Thread Kenneth Kalmer
On 12/5/05, Peter Surda <[EMAIL PROTECTED]> wrote: > On Mon, 5 Dec 2005 19:42:09 +0200 Kenneth Kalmer <[EMAIL PROTECTED]> > wrote: > > >Guys > Hi, > > >Sharing a link between 200 users > Been there, done that (1400 users even). > > >-= WRR =- > >My favourite, but with the most disappointment at the

Re: [LARTC] Theory test

2005-12-05 Thread Andy Furniss
Kenneth Kalmer wrote: Guys Considering the festive season is upon us, thanks to everyone contributing to the list and helping all the readers with your great input! I don't want to mention names, I'll most certainly leave someone out. With this mail I'd like to test some theory on bandwidth man

Re: [LARTC] HTB - prio and rate

2005-12-05 Thread Andreas Klauer
On Monday 05 December 2005 10:40, Mark Lidstone wrote: > 1) The sum of all HTB classes under a single HTB qdisc should > add up to the maximum rate of the qdisc A HTB qdisc does not have a rate; it's the classes that do. And it's not all classes, but just parent-children relationship. The s

Re: [LARTC] Theory test

2005-12-05 Thread Andreas Klauer
On Monday 05 December 2005 18:42, Kenneth Kalmer wrote: > -= HTB =- > > Set the parent class for internet traffic to X, with 200 children. > Each child has a rate of Y, their totals equal X. Each child also has > a ceil of Z. This means that Z * 200 > X, hence the over subscription. I'm using pret

Re: [LARTC] Theory test

2005-12-05 Thread Peter Surda
On Mon, 5 Dec 2005 19:42:09 +0200 Kenneth Kalmer <[EMAIL PROTECTED]> wrote: >Guys Hi, >Sharing a link between 200 users Been there, done that (1400 users even). >-= WRR =- >My favourite, but with the most disappointment at the moment... I can >see the weights are adjusted, and our trials have sh

[LARTC] Theory test

2005-12-05 Thread Kenneth Kalmer
Guys Considering the festive season is upon us, thanks to everyone contributing to the list and helping all the readers with your great input! I don't want to mention names, I'll most certainly leave someone out. With this mail I'd like to test some theory on bandwidth management, with my own suc

Fwd: Re: [LARTC] inspecting what's going in a class

2005-12-05 Thread Jason Boxman
Subject: Re: [LARTC] inspecting what's going in a class Date: Monday 05 December 2005 09:38 From: "Ethy H. Brito" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] On Mon, 5 Dec 2005 00:59:46 -0500 Jason Boxman <[EMAIL PROTECTED]> wrote: > > > Sadly not possible with tc-filter. But perhaps I could do thi

Re: [LARTC] Trouble redirecting traffic on transparent bridge.

2005-12-05 Thread Kran Kor
Ok I gave br0 an IP. Now I have a new problem. When the client tries to access a webserver the traffic redirected to the ip on the bridge to the local web server. However, the traffic going back to the client machine from the web server has a source port of 1, this isn't what the client expec

Re: [LARTC] inspecting what's going in a class

2005-12-05 Thread Ethy H. Brito
On Mon, 5 Dec 2005 00:59:46 -0500 Jason Boxman <[EMAIL PROTECTED]> wrote: > > > > > > Sadly not possible with tc-filter. But perhaps I could do this for tc > > > with Vincent Perrier's sch_spy module. > > > > sch_log is also good for this: > > > > http://kernel.umbrella.ro/net/sch_log/v0.4/sch_lo

Re: [LARTC] Shaping per machine

2005-12-05 Thread Kajetan Staszkiewicz
Dnia poniedziałek, 5 grudnia 2005 13:58, Dave Weis napisał(a): > > That's because you are putting all /24 network into one single HTB. You > > have to make one HTB (SFQ for every user helps a lot too) for each > > computer in the network: > > > > tc qdisc del root dev eth1 > > tc qdisc add root d

[LARTC] Connmark question

2005-12-05 Thread Michael Collard
I am trying to get IPP2P working on my router. Thus far I can see connections being marked (see below), but they don't seem to get saved or something. When looking at /proc/net/ip_conntrack, nothing has anything other than 0 for mark. The iptables commands for this are: iptables -t mangle -A PRERO

Re: [LARTC] Re: IPSec tunnel and routing

2005-12-05 Thread Alexander Kotelnikov
> On Mon, 05 Dec 2005 10:42:23 +0100 > "AU" == Andreas Unterkircher <[EMAIL PROTECTED]> wrote: AU> AU> ip ro add 192.168.2.0/24 via 10.2.0.1 dev ethx src 192.168.1.1 AU> the spd policies will then match and encrypt the traffic. Uff... src in route... something really crazy, even thenks fo

Re: [LARTC] Re: IPSec tunnel and routing

2005-12-05 Thread Andreas Unterkircher
ip ro add 192.168.2.0/24 via 10.2.0.1 dev ethx src 192.168.1.1 the spd policies will then match and encrypt the traffic. this is the same solution like you have to do for the freeswan ipsec stack. for me it works... Alexander Kotelnikov ([EMAIL PROTECTED]) schrieb: > > > On Mon, 05 Dec 2005

RE: [LARTC] HTB - prio and rate

2005-12-05 Thread Mark Lidstone
Hi, It's not for a particular use that I was asking, it was just for my understanding. So what I think people are saying is: 1) The sum of all HTB classes under a single HTB qdisc should add up to the maximum rate of the qdisc 2) HTB's prio is only used when 'borrowing' bandwidth

[LARTC] Re: IPSec tunnel and routing

2005-12-05 Thread Alexander Kotelnikov
> On Mon, 05 Dec 2005 06:08:30 +0100 > "AU" == Andreas Unterkircher <[EMAIL PROTECTED]> wrote: AU> AU> Alexander Kotelnikov schrieb: >> Ok, I would not ask all this if I have no problem with >> tunnelling. With configuration like described above, where multihomed >> maches have ip-addresse

Re: [LARTC] ip route doesn't not work with virtual inferfaces

2005-12-05 Thread Andreas Unterkircher
You can specify the source address ip route add 192.168.66.0/24 via 192.168.1.2 src {The_Source_IP_of_interface} Radek Vokál ([EMAIL PROTECTED]) schrieb: > > I have two IP for eth0 which correspond to eth0 and eth0:1 > I want to create a route > to 192.168.66.0/24 via 192.168.0.50 from eth0:1 > >

[LARTC] ip route doesn't not work with virtual inferfaces

2005-12-05 Thread Radek Vokál
I have two IP for eth0 which correspond to eth0 and eth0:1 I want to create a route to 192.168.66.0/24 via 192.168.0.50 from eth0:1 so I add the route with ip route add 192.168.66.0/24 via 192.168.1.2 dev eth0:1 but when I connect to 192.168.66.0/24 network in connects still using the IP of

[LARTC] Multi-ISP :- Multi-Wan Broadband Router Appliance VS Multiple eth Linux routing

2005-12-05 Thread Sanjay Arora
Hi all I need to use three 512 kbps aDSL internet connections, in a load-sharing, link-failover scenario. Presently I am using Ipcop with a single DSL. Now, I seem to have two options...one..an Edimax quad wan port adsl router, with firewalling and NAT and second install a minimal linux distro f