🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.bsd
Article #9484

altq+outbound

#9484
From: XtriX
Date: Sat, 02 Jul 2005 00:19
40 lines
2223 bytes
Witam

Od wczoraj bawie sie z ALTQ na FreeBSD 5.3 release i mam problem. Udalo
mi sie przydzielić pasmo inbound dla poszczegolnych komputerow w sieci
lan ale za cholere nie wiem jak mam podzielic pasmo wychodzace.
oto czesc zawartosci pliku pf.conf:

#----cut---- pasmo outbound
altq on $ext_if bandwidth 110Kb cbq queue { dflt_out, comp2_out,
comp3_out, comp4_out }
queue dflt_out bandwidth 100% cbq(default)
queue comp2_out bandwidth 33%
queue comp3_out bandwidth 33%
queue comp4_out bandwidth 33%
#dalsza czesc filtrujaca
pass out from 192.168.0.4 to any queue comp4_out
pass out from 192.168.0.3 to any queue comp3_out
pass out from 192.168.0.2 to any queue comp2_out
#---cut----
Dodam ze mam b. podobna konfiguracje queue's jak na interfejsie wew. (bo
na nim podzial ruchu przychodzacego z internetu dziala.)

probowalem rozne regolki pf np:

pass in from 192.168.0.4 to any queue comp4_out
pass out from any to 192.168.0.4 queue comp4_out
pass in from 192.168.0.3 to any queue comp3_out
pass out from any to 192.168.0.3 queue comp3_out
pass in from 192.168.0.2 to any queue comp2_out
pass out from any to 192.168.0.2 queue comp2_out
lub:
pass out on $ext_if from 192.168.0.2 to any queue comp2_out
pass out on $ext_if from 192.168.0.3 to any queue comp3_out
pass out on $ext_if from 192.168.0.4 to any queue comp4_out

ale tez kupa, pasmo nadal nie jest dzielone.
Najwyrazniej caly ruch wychodzacy wpada w kolejke dflt_out tylko nie
wiem co jest powodem ze tak sie dzieje.

pzdr. :)
Technical Details
Message-ID: <da4m6j$v4e$1@opal.icpnet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.icp.pl!news.icp.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.icp.pl!news.icp.pl!not-for-mail
From: XtriX <xtrix@o2.pl>
Newsgroups: pl.comp.os.bsd
Subject: altq+outbound
Date: Sat, 02 Jul 2005 02:19:12 +0200
Organization: ICP News Server
Lines: 40
Message-ID: <da4m6j$v4e$1@opal.icpnet.pl>
NNTP-Posting-Host: c14-107.icpnet.pl
Mime-Version: 1.0
X-Trace: opal.icpnet.pl 1120263189 31886 62.21.14.107 (2 Jul 2005 00:13:09 GMT)
X-Complaints-To: usenet@opal.icpnet.pl
NNTP-Posting-Date: Sat, 2 Jul 2005 00:13:09 +0000 (UTC)
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050701)
X-Accept-Language: pl, en-us, en
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit