From owner-freebsd-ipfw Thu Jul 26 15:37: 5 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id D1A2B37B403 for ; Thu, 26 Jul 2001 15:37:01 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id AAA13857; Fri, 27 Jul 2001 00:30:32 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200107262230.AAA13857@info.iet.unipi.it> Subject: Re: Dummynet In-Reply-To: <3B604C13.92E17527@adetel.net> from Edgar Garcia Luna at "Jul 26, 2001 11:57:55 am" To: edgar@adetel.net Date: Fri, 27 Jul 2001 00:30:32 +0200 (CEST) Cc: freebsd-ipfw@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, A to A goes through the loopback interface so not xl1. If you want this behaviour use the following rules ipfw add pipe 1 ip from A to any in ipfw add pipe 2 ip from any to A out (and this way remember you'll have local traffic going through _both_ pipes). cheers luigi > > Hello !! > I hope can help me. > I have FreeBSD 4.2-RELEASE, kernel is compiled to load Dummynet, > with the following options in the kernel. > > options NMBCLUSTERS=9000 > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_VERBOSE_LIMIT > options IPFIREWALL_DEFAULT_TO_ACCEPT > options DUMMYNET > options HZ=1000 > > This server works as Gateway and I want to limit the bandwidth of the > machines > that use this Gateway. in / etc/rc.conf I put gateway_enable="YES" > and the rules are: > > ipfw add pipe 1 ip from A to any via xl1 out > ipfw add pipe 2 ip from any to A via xl1 in > ipfw pipe 1 config bw 64Kbit/s > ipfw pipe 2 config bw 64Kbit/s > > The question is. If I do ping from the machine A, it simulates the > restriction of the bandwidth OK. But if I do ping to him (to the machine > A), it does not simulate the restriction of the bandwidth. > > Where is the error? > > Thank you very much. > > -- > Edgar Garc_a Luna > Adetel S.A de C.V. > Tel. 5480 9878 > edgar@adetel.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ipfw" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message