[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[altq 1500] Re: Configuration file : limit both upload and download



On Wed, May 15, 2002 at 12:06:41PM +0900, Kenjiro Cho wrote:
> 
> Florian Ponroy wrote:
> > I have a small network, with an internet connection (bandwidth : 512kbps down, 128 kbps up).
> > The gateway is an OpenBSD 3.0 system, and i live with 2 friends.
> > 
> > I would like to limit the bandwidth for my 2 roommates : Max 160kbps down, Max 32kbps up.
> > (not for specific services .. just for all ! :)
> > 
> > The thing works fine for the download (20kB/s Max), but not for the upload (still 16kB/s ..).
> 
> ALTQ works on outgoing traffic.  You have to set up the other
> interface to control upload traffic.
> 
> -Kenjiro
>

Hello again :)

I try to configure things as you said, but it does not work.

Here is my stuff :

Internet --- [tun0] OpenBSD [rl0] --- HUB -------- My computer
                                     /  \
                                    /    \ 
                                   /      \ 
                             Roommate1  Roommate2


When you say "You have to set up the other interface", are you talking about tun0 ?
If so, i tried to limit upload on it, but i can't specify the source address (because
my network is NATed). 


Is there any solution ?


Thank you in advande :)


- Florian