Re: ALTQ, Dummynet, Dynamic Rules
On Friday, Mar 24, 2006, at 05:27 US/Pacific, Daniel Dias Gonçalves wrote: I use the following rules in the IPFW: $fwcmd add 100 pipe 13 ip from 192.168.0.0/24 to any in $fwcmd add 101 pipe 14 ip from any to 192.168.0.0/24 out $fwcmd pipe 13 config mask src-ip 0x00ff bw 150Kbit/s queue 12KBytes $fwcmd pipe 14 config mask dst-ip 0x00ff bw 150Kbit/s queue 12KBytes My question, it is possible to make the same with the PF+ALTQ? Sorry, not possible. For others: that creates a limiting queue for each IP (in 192.168.0.0/24, 256 total) in each direction (150kbit/s in, 150kbit/s out).
Re: ALTQ, Dummynet, Dynamic Rules
On Friday 24 March 2006 21:27, Daniel Dias Gonçalves wrote: > $fwcmd add 100 pipe 13 ip from 192.168.0.0/24 to any in > $fwcmd add 101 pipe 14 ip from any to 192.168.0.0/24 out > $fwcmd pipe 13 config mask src-ip 0x00ff bw 150Kbit/s queue 12KBytes > $fwcmd pipe 14 config mask dst-ip 0x00ff bw 150Kbit/s queue 12KBytes > > My question, it is possible to make the same with the PF+ALTQ? Perhaps if you explained in plain english for us non-ipfw people we too could give some answers. --- Lars Hansson
ALTQ, Dummynet, Dynamic Rules
I use the following rules in the IPFW: $fwcmd add 100 pipe 13 ip from 192.168.0.0/24 to any in $fwcmd add 101 pipe 14 ip from any to 192.168.0.0/24 out $fwcmd pipe 13 config mask src-ip 0x00ff bw 150Kbit/s queue 12KBytes $fwcmd pipe 14 config mask dst-ip 0x00ff bw 150Kbit/s queue 12KBytes My question, it is possible to make the same with the PF+ALTQ? I did not find nothing in the documentation. Necessary an example. -- Daniel Dias Gonçalves DGNET Network Solutions [EMAIL PROTECTED] http://www.dgnetwork.com.br/ +55 37-99824809