Article View: pl.comp.os.bsd
Article #305Re: openbsd 3.4 +altq i ruch wychodzacy
From: zibi
Date: Mon, 29 Mar 2004 23:08
Date: Mon, 29 Mar 2004 23:08
17 lines
1613 bytes
1613 bytes
> $int_if=lan
> altq on $int_if cbq bandwidth 2048Kb queue { q_default, q_test }
> queue q_default cbq(default)
> queue q_all bandwidth 128Kb priority 1 cbq (ecn)
> i userowi dalem cos takiego
> pass out on rl0 from any to 10.0.2.48/32 flags S/SA keep state queue
(q_all)
>
> i nie dziala mi to cos.. zamiast wysylac kolo 16KB/s to user wysyla cos
> kolo 60KB/s
> gdzie popelniam blad?
> pozdrawiam
> Albert
>
Jak widac na powyzszym, ograniczasz ruch dla usera od serwera do usera
w sieci lokalnej wiec on dalej moze wysylac od siebie do serwera ile chce.
Jego ruch wyjsciowy mozesz ograniczyc na interfejsie zewnetrznym.
Technical Details
Message-ID:
<c4aadj$3gc$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<c4a78h$7n$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "zibi" <reader...@bci.waw.pl> Newsgroups: pl.comp.os.bsd Subject: Re: openbsd 3.4 +altq i ruch wychodzacy Date: Tue, 30 Mar 2004 01:08:26 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 19 Message-ID: <c4aadj$3gc$1@nemesis.news.tpi.pl> References: <c4a78h$7n$1@inews.gazeta.pl> NNTP-Posting-Host: pl62.warszawa.sdi.tpnet.pl X-Trace: nemesis.news.tpi.pl 1080601844 3596 213.76.250.62 (29 Mar 2004 23:10:44 GMT) X-Complaints-To: use...@tpi.pl NNTP-Posting-Date: Mon, 29 Mar 2004 23:10:44 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit