"proper" method of changing dummynet limit ?

Arone Silimantia aronesimi at yahoo.com
Tue Jan 16 19:48:52 UTC 2007


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 ?

 
---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.


More information about the freebsd-ipfw mailing list