This is an old revision of the document!
Использование ipfw
[gX:~] # cat /etc/ipfw.conf pipe 1 config bw 64kbit/s mask dst-ip 0xffffffff pipe 2 config bw 100mbit/s add 10 pipe 2 ip from any to 192.168.100+X.2 add 20 pipe 1 ip from any to 192.168.100+X.0/24 add 100 allow ip from any to any [gX:~] # cat /etc/rc.conf … firewall_enable="YES" firewall_type="/etc/ipfw.conf" … [gX:~] # kldload dummynet [gX:~] # /etc/rc.d/ipfw start