From owner-freebsd-questions@FreeBSD.ORG Thu Sep 9 15:50:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 934E616A4CF for ; Thu, 9 Sep 2004 15:50:00 +0000 (GMT) Received: from frodo.aecom.yu.edu (frodo.aecom.yu.edu [129.98.1.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D2E143D2D for ; Thu, 9 Sep 2004 15:50:00 +0000 (GMT) (envelope-from synrat@wirewalk.org) Received: from wirewalk.org (kgb.rit.aecom.yu.edu [129.98.4.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frodo.aecom.yu.edu (Postfix) with ESMTP id 366B7263C for ; Thu, 9 Sep 2004 11:53:22 -0400 (EDT) Message-ID: <41407A3E.1030304@wirewalk.org> Date: Thu, 09 Sep 2004 11:43:58 -0400 From: synrat User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: ipfw pipes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 15:50:00 -0000 I'm trying to figure out ipfw/pipes setup. The requirement is to provide more or less exclusive pipe for voip service ( vonage ) that goes through ipfw nat. I know this isn't QOS and I would appreciate advise on QOS as well, but for now I just want to get this working and tested. I want to specify a 64kbs pipe for voip with the most weight and then give the rest of the bandwidht to all hosts behind the NAT, no other pipes. Is this sufficient or do I need to setup rules for ext and int interfaces ? Do I also need to specify the entire bandwidth available via Internet connection and other pipes for the remaining hosts or does leaving everything else out give the remanining bandwidht to other hosts ? thank you all ${fwcmd} add pipe 1 ip from 192.168.1.2 to any out ${fwcmd} add pipe 2 ip from 192.168.1.2 to any in ${fwcmd} pipe 1 config bw 64Kbit/s queue ${fwcmd} pipe 2 config bw 64Kbit/s queue