Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 11:57:55 -0500
From:      Edgar Garcia Luna <edgar@adetel.net>
To:        freebsd-ipfw@freebsd.org
Subject:   Dummynet
Message-ID:  <3B604C13.92E17527@adetel.net>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B604C13.92E17527>