FreeBSD 7.1 - PF ALTQ - HFSC prestalo fungovat
Gabriel
gabriel at maxpark.cz
Mon Jan 19 15:00:58 CET 2009
Zdravim vospolok,
po upgrade FreeBSD 6.2 na 7.1 mi z nicoho nic prestalo fungovat shapovanie
linky cez PF ALTQ pouzitim HFSC schedulera.
Skusal som hladat nejake zmeny v PF, ale nic doleziteho som nedokazal
najst (zatial).
Ruly vyzeraju takto:
...
altq on $INT_IFACE hfsc bandwidth 100Mb queue { wifi_dflt, wifi_download,
wifi_upload }
queue wifi_dflt bandwidth 50Mb hfsc ( rio realtime 10Mb linkshare 50Mb
upperlimit 50Mb default )
queue wifi_download bandwidth 20Mb hfsc ( rio realtime 10Mb linkshare
20Mb upperlimit 20Mb ) { wf_201_down, wf_202_down, wf_203_down }
queue wifi_upload bandwidth 1Mb hfsc ( rio realtime 0.5Mb linkshare 1Mb
upperlimit 1Mb ) { wf_201_up, wf_202_up, wf_203_up }
queue wf_201_down bandwidth 128Kb hfsc ( rio realtime 64Kb upperlimit
1548Kb )
queue wf_202_down bandwidth 128Kb hfsc ( rio realtime 64Kb upperlimit
1512Kb )
queue wf_203_down bandwidth 128Kb hfsc ( rio realtime 64Kb upperlimit
1024Kb )
queue wf_201_up bandwidth 16Kb hfsc ( rio realtime 8Kb upperlimit 128Kb )
queue wf_202_up bandwidth 16Kb hfsc ( rio realtime 8Kb upperlimit 128Kb )
queue wf_203_up bandwidth 16Kb hfsc ( rio realtime 8Kb upperlimit 96Kb )
pass out quick on $WIFI_IFACE inet to 192.168.10.201 queue wf_201_down
pass in quick on $WIFI_IFACE inet from 192.168.10.201 queue wf_201_up
pass out quick on $WIFI_IFACE inet to 192.168.10.202 queue wf_202_down
pass in quick on $WIFI_IFACE inet from 192.168.10.202 queue wf_202_up
pass out quick on $WIFI_IFACE inet to 192.168.10.203 queue wf_203_down
pass in quick on $WIFI_IFACE inet from 192.168.10.203 queue wf_203_up
...
Podla vypisu z pfctl -vvsq sa mi aplikuju iba ruly wf_xxx_up, ale vobec
nie wf_xxx_down.
Nepochopil som, preco tomu tak je.
Dokazal by mi s tym niekto pomoct, pripadne nakopnut spravnym smerom?
Vopred dakujem za akukolvek pomoc.
Gabriel
More information about the Users-l
mailing list