On Tue, Jan 16, 2007 at 11:22:10AM -0800, Arone Silimantia wrote:
> Hello,
> 
> I currently implement a dummynet rate limit, after boot up, with this 
> sequence:
> 
> sysctl -w net.inet.ip.fw.one_pass=0
> ipfw pipe 1 config bw 10Mbit/s
> ipfw add 10000 pipe 1 all from any to any
> 
> Easy.
> 
> 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:
> 
> ipfw pipe 1 config bw 20Mbit/s
> 
> while leaving the ipf rule in place ?  Or should I tear down rule 10000 
> first, and tear down the pipe, and start from scratch ?
> 
> 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

Attachment: pgpungripQGXy.pgp
Description: PGP signature

Reply via email to