Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2010 18:28:57 +0200
From:      "Spenst, Aleksej" <Aleksej.Spenst@harman.com>
To:        "'freebsd-pf@freebsd.org'" <freebsd-pf@freebsd.org>
Subject:   route-to with altq problem
Message-ID:  <20290C577F743240B5256C89EFA753810C3CC9FE72@HIKAWSEX01.ad.harman.com>
In-Reply-To: <20290C577F743240B5256C89EFA753810C3CC9FE54@HIKAWSEX01.ad.harman.com>
References:  <20290C577F743240B5256C89EFA753810C3CC9FE54@HIKAWSEX01.ad.harman.com>

next in thread | previous in thread | raw e-mail | index | archive | help

 
Hi all,

I have the problem that after redirecting the packets with 'route-to' keyword to the external interface $ext_if, the packets are not queued at $ext_if but directly go out. The problem is that I have configured queues (ALTQ) at $ext_if to make prioritization of traffic, but queues are ignored as packets are not queued.

Below is my pf.conf without queue configuration, which is not relevant here.
The last rule is never matched!!!

--- pf.conf ----
nat on lo0 proto tcp tag PRIQ5 -> ($ext_if)
pass out on lo0 route-to $ext_if tagged PRIQ5 keep state
pass out on $ext_if tagged PRIQ5 queue q5 keep state
----------------

Thanks a lot for any suggestion about how to force packets to go to queues at $ext_if after 'nat'.

Aleksej.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20290C577F743240B5256C89EFA753810C3CC9FE72>