Date: Fri, 27 Jul 2001 00:30:32 +0200 (CEST) From: Luigi Rizzo <luigi@info.iet.unipi.it> To: edgar@adetel.net Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: Dummynet Message-ID: <200107262230.AAA13857@info.iet.unipi.it> In-Reply-To: <3B604C13.92E17527@adetel.net> from Edgar Garcia Luna at "Jul 26, 2001 11:57:55 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, A to A goes through the loopback interface so not xl1. If you want this behaviour use the following rules ipfw add pipe 1 ip from A to any in ipfw add pipe 2 ip from any to A out (and this way remember you'll have local traffic going through _both_ pipes). cheers luigi > > 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 > 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?200107262230.AAA13857>