Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 22:24:57 +0700
From:      budsz <budsz@kumprang.or.id>
To:        anak freebsd <anakfreebsd@hotmail.com>
Cc:        FBSDQ <freebsd-questions@FreeBSD.ORG>
Subject:   Re: dummy net
Message-ID:  <20020819152457.GA1275@kumprang.kumprang.or.id>
In-Reply-To: <F200wSA1XvpFVjCRGry0001cf36@hotmail.com>
References:  <F200wSA1XvpFVjCRGry0001cf36@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020819152457.GA1275>