On Wed, 11 Nov 2009 17:26:06 +0100
Jordi Espasa Clofent <[email protected]> wrote:
> Hi all,
>
> I'm trying to implement queue using PF in OpenBSD box. The pf.conf
> looks like:
> # 5. Queueing
> # ISP1 queues, 10MBps
> altq on $ext_if1 priq bandwidth 10Mb queue { my1, centraleta, ssh1,
> nomy1 } queue centraleta priority 7
> queue my1 priority 6
> queue ssh1 priority 5
> queue nomy1 priority 1 priq (default)
>
> # ISP2 queues (10Mbps)
> altq on $ext_if2 cbq bandwidth 10Mb queue { nomy2, my2, ssh2 }
> queue my2 bandwidth 50% priority 7 cbq(default)
> queue nomy2 bandwidth 5% priority 0 cbq
> queue ssh2 bandwidth 45% priority 6 cbq(borrow)
Limiting incoming bandwidth on the external interface doesn't work.
You can have some success if you queue traffic to your lan on the
internal interface.
Have a look at the pf faq http://www.openbsd.org/faq/pf/queueing.html ,
especially the examples.
- Robert