From owner-freebsd-pf@FreeBSD.ORG Thu Jun 17 08:05:02 2010 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D998106566C for ; Thu, 17 Jun 2010 08:05:02 +0000 (UTC) (envelope-from Aleksej.Spenst@harman.com) Received: from exprod6og101.obsmtp.com (exprod6og101.obsmtp.com [64.18.1.181]) by mx1.freebsd.org (Postfix) with SMTP id BE46D8FC15 for ; Thu, 17 Jun 2010 08:05:01 +0000 (UTC) Received: from source ([194.121.90.173]) (using TLSv1) by exprod6ob101.postini.com ([64.18.5.12]) with SMTP ID DSNKTBnXLNDM2FpxvzD89gNJQ3LVv4mJFRtz@postini.com; Thu, 17 Jun 2010 01:05:01 PDT Received: from HIKAWSEX01.ad.harman.com ([fe80::f023:31d4:f809:b22e]) by HIKAWSEX02.ad.harman.com ([::1]) with mapi; Thu, 17 Jun 2010 10:04:59 +0200 From: "Spenst, Aleksej" To: "'freebsd-pf@freebsd.org'" Date: Thu, 17 Jun 2010 10:04:58 +0200 Thread-Topic: route-to with altq problem Thread-Index: Acr4KNIB3ISmGErhR32Td5+QACOQmwAhzsAwBS7c0nAAH6khcA== Message-ID: <20290C577F743240B5256C89EFA753810C3CC9FE76@HIKAWSEX01.ad.harman.com> References: <20290C577F743240B5256C89EFA753810C3CC9FE54@HIKAWSEX01.ad.harman.com> <20290C577F743240B5256C89EFA753810C3CC9FE72@HIKAWSEX01.ad.harman.com> In-Reply-To: <20290C577F743240B5256C89EFA753810C3CC9FE72@HIKAWSEX01.ad.harman.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: AW: route-to with altq problem X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 08:05:02 -0000 Sorry for spam again, but I have already figured it out. instead of: 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 it should be: nat on lo0 proto tcp tag PRIQ5 -> ($ext_if) pass out on lo0 route-to $ext_if tagged PRIQ5 keep state queue q5 Where the queue q5 belongs to $ext_if and not to lo0, which was not very cl= ear to me before... =20 >-----Urspr=FCngliche Nachricht----- >Von: owner-freebsd-pf@freebsd.org=20 >[mailto:owner-freebsd-pf@freebsd.org] Im Auftrag von Spenst, Aleksej >Gesendet: Mittwoch, 16. Juni 2010 18:29 >An: 'freebsd-pf@freebsd.org' >Betreff: route-to with altq problem > >=20 >Hi all, > >I have the problem that after redirecting the packets with=20 >'route-to' keyword to the external interface $ext_if, the=20 >packets are not queued at $ext_if but directly go out. The=20 >problem is that I have configured queues (ALTQ) at $ext_if to=20 >make prioritization of traffic, but queues are ignored as=20 >packets are not queued. > >Below is my pf.conf without queue configuration, which is not=20 >relevant here. >The last rule is never matched!!! > >--- pf.conf ---- >nat on lo0 proto tcp tag PRIQ5 -> ($ext_if) pass out on lo0=20 >route-to $ext_if tagged PRIQ5 keep state pass out on $ext_if=20 >tagged PRIQ5 queue q5 keep state >---------------- > >Thanks a lot for any suggestion about how to force packets to=20 >go to queues at $ext_if after 'nat'. > >Aleksej. > > >_______________________________________________ >freebsd-pf@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-pf >To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >=