From owner-freebsd-questions Mon Aug 19 8:24:19 2002 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 92E6037B400 for ; Mon, 19 Aug 2002 08:24:16 -0700 (PDT) Received: from kumprang.or.id (kumprang.or.id [202.143.103.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 5649F43E3B for ; Mon, 19 Aug 2002 08:24:11 -0700 (PDT) (envelope-from budsz@kumprang.or.id) Received: (qmail 1308 invoked by uid 1000); 19 Aug 2002 15:24:57 -0000 Date: Mon, 19 Aug 2002 22:24:57 +0700 From: budsz To: anak freebsd Cc: FBSDQ Subject: Re: dummy net Message-ID: <20020819152457.GA1275@kumprang.kumprang.or.id> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Pubkey: "http://www.kumprang.or.id/~budsz/pubkey_FreeBSD.txt" X-Finger-Print: "A05A 268C 3CD4 ABBD D9EB 11E1 F64C 4B4E 6269 5304" X-Organization: "Internet Cafe and Game PC Kumprang" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 19, 2002 at 11:18:28AM +0000, anak freebsd wrote: >i have a problem when trying to setup my dummynet > >here is my rc.conf >ifconfig_vr0="inet 64.162.15.14 netmask 255.255.255.252" >ifconfig_rl0_alias0="inet 64.162.14.9 netmask 255.255.255.248" >ifconfig_rl0_alias1="inet 64.162.14.33 netmask 255.255.255.224" >ifconfig_rl1="inet 192.168.1.2 netmask 255.255.255.252" >firewall_enable="YES" >firewall_script="/etc/ipfw.conf" > >i try to limit b/w from ip 64.162.14.9 by adding this rules in ipfw.conf > >ipfw add 50 pipe 30 ip from 64.162.14.9 to any in via rl0 >ipfw add 51 pipe 31 ip from any to 64.162.14.9 out via rl0 >ipfw pipe 30 config bw 128Kbit/s queue 8Kbytes >ipfw pipe 31 config bw 128Kbit/s queue 8Kbytes > > >in my kernel i put : > >options IPFIREWALL_VERBOSE >options IPFIREWALL_VERBOSE_LIMIT=100 >options IPFIREWALL_DEFAULT_TO_ACCEPT >options IPFIREWALL_FORWARD >options IPFIREWALL >options DUMMYNET >options IPDIVERT > >it never work > >What am I doing wrong? please help me How do know it's doesn't work?, You should recheck sequential every rule. -- budsz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message