Date: Wed, 17 Jan 2007 09:59:08 -0600 From: Brooks Davis <brooks@freebsd.org> To: Arone Silimantia <aronesimi@yahoo.com> Cc: freebsd-ipfw@freebsd.org Subject: Re: "proper" method of changing dummynet limit ? Message-ID: <20070117155908.GA1333@lor.one-eyed-alien.net> In-Reply-To: <20070116192210.70873.qmail@web58611.mail.re3.yahoo.com> References: <20070116192210.70873.qmail@web58611.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 16, 2007 at 11:22:10AM -0800, Arone Silimantia wrote: > Hello, >=20 > I currently implement a dummynet rate limit, after boot up, with this seq= uence: >=20 > sysctl -w net.inet.ip.fw.one_pass=3D0 > ipfw pipe 1 config bw 10Mbit/s > ipfw add 10000 pipe 1 all from any to any >=20 > Easy. >=20 > My question is, if I want to change the rate from 10 Mbit/s to 20 Mbit/s,= do I just reissue the 'ipfw pipe' command: >=20 > ipfw pipe 1 config bw 20Mbit/s >=20 > while leaving the ipf rule in place ? Or should I tear down rule 10000 f= irst, and tear down the pipe, and start from scratch ? >=20 > Is it safe to just reissue the pipe command on the fly like that ? Just changing the pipe config works for me on a mirror server that updates the max inbound bandwidth hourly. -- Brooks --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFrkfMXY6L6fI4GtQRAqifAKDflF+yDqgYh3iT7LBknH4Tk+DeuQCgwz6h 6Gcu5bSExrd4wtbbvrOmEIE= =z05C -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070117155908.GA1333>