Building the Network You Need with OpenBSD's PF: BSDCan, Ottawa May 6th, 2009
Prev |  | Next

# Directing traffic with altq

ALTQ

ALternate Queueing -- uses "queues" for bandwidth allocation, traffic shaping

- class based (cbq) - per cent, (K,M)bytes, or

- priority based (PRIQ)

- hierarchical (HFSC)

Syntax:

    altq on interface type [options ... ] main_queue { sub_q1, sub_q2 ..}
      queue sub_q1 [ options ... ]
      queue sub_q2 [ options ... ]
    [...]
    pass [ ... ] queue sub_q1
    pass [ ... ] queue sub_q2