On Thu, 02 Apr 2009 18:15:22 +0200 Fernando Alvarez <fernando.alva...@deimos-space.com> wrote:
> > I'm afraid I can't figure out how to achieve this :-\ > > With ALTQ, one can assign priorities to outbound packets using pass or > rdr rules, but I think that's not a solution when it's needed to route > packets to one of the two gateways (using the same external interface or > not). Packet priorization works re-arranging the queue for a outbound > interface, but the packets do know which gateway they're going to use. > > Am I right or it's possible to do it with priorization in pf's rules? > > Fernando > You can assign priorities and also assign queues using bandwidth keyword for example: altq on fxp0 cbq bandwidth 2Mb queue You can find more examples on PF FAQ page. -- Kamil Monticolo