Код: Выделить всё
sysctl net.link.ether.ipfw=1
Код: Выделить всё
${ipfw} pipe 10 config mask src-ip 0xffffffff bw 1000Kbit/s
${ipfw} pipe 12 config mask dst-ip 0xffffffff bw 13000Kbit/s
Код: Выделить всё
00015 1296163 93236923 pipe 10 ip from 10.10.0.0/24 to any via fxp0
00015 2093713 2585468345 pipe 12 ip from any to 10.10.0.0/24 via fxp0
меняем на 0 скорость выравниваеться до заявленой в pipe
Код: Выделить всё
sysctl net.link.ether.ipfw=0