Re: [LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-29 Thread Florian Taeger
Hi. If the traffic from all the ppps leave by one interface then you could mark packets by incoming interface and set up egress shaping with say HTB on that interface. There is only one eth0 interface to the internet and many ppp for the users. So ... I have to shape every traffic from the

Re: [LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-29 Thread Leslie Patrick Polzer
Florian Taeger wrote: Of course i read the docs, but I just don't know how exactly to generate the shape-filter for this. I know i have to establish a root entry and make another entry for every ppp device. but how do i connect the interfaces an the traffic ?!? How would I generate this hard limit

Re: [LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-29 Thread Eric Leblond
On Fri, 2004-10-29 at 10:51 +0200, Leslie Patrick Polzer wrote: Florian Taeger wrote: Mark each incoming packets on pppn so you know where it is coming from. Then attach n HTB classes below eth0's root and stuff each packet in its class. Maybe not the best way to do. Script can be run when a

Re: [LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-29 Thread Andy Furniss
Florian Taeger wrote: Hi. If the traffic from all the ppps leave by one interface then you could mark packets by incoming interface and set up egress shaping with say HTB on that interface. There is only one eth0 interface to the internet and many ppp for the users. So ... I have to shape every

Re: [LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-28 Thread Andy Furniss
Florian Taeger wrote: Hi everyone. I'm working on a problem since some days. I have a linux router with about 100 ppp interfaces. Each interface should bei limited to an individual bandwidth of 1024kbit, 2048kbit or 3096kbit. Up AND downstream. (let's say for example 1024kbit upstream and 1024kbit

Re: [LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-28 Thread Andy Furniss
If the traffic leaves on 1 interfaces then you need to use IMQ. I forgot to put - you can also attach policers to each ppp - thay are not queues so they don't limit rate as such - but they can drop if over rate - thus limiting TCP. Andy. ___ LARTC

[LARTC] Limiting Bandwidth of an ppp interfaces

2004-10-27 Thread Florian Taeger
Hi everyone. I'm working on a problem since some days. I have a linux router with about 100 ppp interfaces. Each interface should bei limited to an individual bandwidth of 1024kbit, 2048kbit or 3096kbit. Up AND downstream. (let's say for example 1024kbit upstream and 1024kbit downstream) The