Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 11:18:28 +0000
From:      "anak freebsd" <anakfreebsd@hotmail.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   dummy net
Message-ID:  <F200wSA1XvpFVjCRGry0001cf36@hotmail.com>

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

anakfreebsd



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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?F200wSA1XvpFVjCRGry0001cf36>