Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 15:36:25 +0000
From:      "anak freebsd" <anakfreebsd@hotmail.com>
To:        freebsd-ipfw@freebsd.org
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   dummy net wiht ip aliases
Message-ID:  <F191vogQWeU2mV1latr0000ed67@hotmail.com>

next in thread | raw e-mail | index | archive | help
hi
i tried to limit every client using dummy net but it seem that dummy net 
didnt work at all

here is in my rc.conf:

ifconfig_vr0="inet 64.62.215.14  netmask 255.255.255.252" 
ifconfig_rl0_alias0="inet 64.62.214.9 netmask 255.255.255.248"
ifconfig_rl0_alias1="inet 64.62.214.33 netmask 255.255.255.224"
ifconfig_rl1="inet 192.168.1.2  netmask 255.255.255.252"
gateway_enable="YES"
firewall_enable="YES"
firewall_script="/etc/ipfw.conf"

and in my ipfw.conf:

(this rules works )
ipfw add 52 pipe 100 ip from 64.62.214.34 to any out via vr0
ipfw add 53 pipe 110 ip from any to 64.62.214.34 in via vr0
ipfw pipe 100 config bw 64Kbit/s queue 4Kbytes
ipfw pipe 110 config bw 64Kbit/s queue 4Kbytes

(this rule doesnt work at all)
ipfw add 50 pipe 30 ip from 64.62.214.9  to any in via rl0
ipfw add 51 pipe 31 ip from any to 64.62.214.9 out via rl0
ipfw pipe 30 config bw 128Kbit/s queue 8Kbytes
ipfw pipe 31 config bw 128Kbit/s queue 8Kbytes

ipfw add 48 pipe 28 ip from 64.62.214.10  to any in via rl0
ipfw add 49 pipe 29 ip from any to 64.62.214.10 out via rl0
ipfw pipe 28 config bw 256Kbit/s queue 8Kbytes
ipfw pipe 29 config bw 256Kbit/s queue 8Kbytes

ip 64.62.214.10 and 64.62.214.19 are gateway for 16 ip public

is there any way that i can limit my client with dummy net or someting else?

thank you

anak freebsd





_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.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?F191vogQWeU2mV1latr0000ed67>