From owner-freebsd-pf@FreeBSD.ORG Wed Sep 3 02:27:46 2008 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 95EE9106566B for ; Wed, 3 Sep 2008 02:27:46 +0000 (UTC) (envelope-from lance@theouterdarkness.com) Received: from smtp-gw51.mailanyone.net (smtp-gw51.mailanyone.net [208.70.128.77]) by mx1.freebsd.org (Postfix) with ESMTP id 7485D8FC18 for ; Wed, 3 Sep 2008 02:27:46 +0000 (UTC) (envelope-from lance@theouterdarkness.com) Received: from mailanyone.net by smtp-gw51.mailanyone.net with esmtpa (MailAnyone extSMTP theouterdarkness.com_1591@nfsn.fuseplatform.com) id 1KahnZ-0004y0-Tp for freebsd-pf@freebsd.org; Tue, 02 Sep 2008 21:08:47 -0500 Date: Tue, 2 Sep 2008 19:08:43 -0700 From: Lance Murdock To: freebsd-pf@freebsd.org Message-ID: <20080903020843.GA70612@theouterdarkness.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: ALTQ & Multiple Connections 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: Wed, 03 Sep 2008 02:27:46 -0000 Hello, I have two Internet connections on my firewall, and a busy web server. They are both "burstable" connections, where the commit rate is much lower than the maximum connection speed. I pay a flat rate up to the commit rate, but If I go over, I get charged per mbit. One of the connections' overage rate is a lot cheaper than the other. So, what I would like to do is fill up the first connection right up to its commit rate and then dump all remaining traffic to the second connection, thus guaranteeing myself the cheapest bill at the end of the month. With ALTQ, I can see how to limit outgoing bandwidth by dropping packets, but I don't want to drop the packets, I want to force them out the other interface, as I might with pf's route-to. Is this possible with pf and ALTQ? Thanks, Lance