From owner-freebsd-net@FreeBSD.ORG Mon Jul 11 07:25:21 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4BB216A41C for ; Mon, 11 Jul 2005 07:25:21 +0000 (GMT) (envelope-from fooler@skyinet.net) Received: from smtp1.skyinet.net (smtp1.skyinet.net [202.78.97.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FF3143D45 for ; Mon, 11 Jul 2005 07:25:21 +0000 (GMT) (envelope-from fooler@skyinet.net) Received: from fooler (fooler.ilo.skyinet.net [202.78.118.66]) by smtp1.skyinet.net (Postfix) with SMTP id 9DFDB583C4; Mon, 11 Jul 2005 15:25:18 +0800 (PHT) Message-ID: <02ae01c585e9$b1f64c70$42764eca@ilo.skyinet.net> From: "fooler" To: "Philip Olsson" , References: <42D2151B.4020807@puffy.nu> Date: Mon, 11 Jul 2005 15:25:20 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Cc: Subject: Re: ipfw+dummynet only getting half bandwidth when using routedinterfaces. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 07:25:21 -0000 ----- Original Message ----- From: "Philip Olsson" To: Sent: Monday, July 11, 2005 2:43 PM Subject: ipfw+dummynet only getting half bandwidth when using routedinterfaces. > This is a typo, sorry! > Supposed to be 2048Kbit/s ok.... > This is my conf: > > ipfw add pipe 1 ip from 192.168.1.1 to any out > ipfw add pipe 2 ip from any to 192.168.1.1 in > ipfw pipe 1 config bw 2048Kbit/s > ipfw pipe 2 config bw 2048bit/s i think one of the first two lines is only process instead of the two for incoming and outgoing.... please try this configuration first... ipfw add pipe 1 ip from any to any out via ipfw add pipe 2 ip from any to any in via ipfw pipe 1 config bw 2048Kbit/s ipfw pipe 2 config bw 2048Kbit/s if you getting full instead of half... then going back to your first configuration by doing an ipfw show determines which line wasnt processed by looking the number of packets flowing in it... fooler.