имеет смысел выставить у сетевой на серваке и передать узерам mtu равное ng0, тоесть 1492
Код: Выделить всё
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2008<VLAN_MTU,WOL_MAGIC>
ether 00:50:8b:62:a0:e0
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
inet 10.10.0.1 netmask 0xffffff00 broadcast 10.10.0.255
inet 10.10.0.2 netmask 0xffffff00 broadcast 10.10.0.255
inet 10.10.0.4 netmask 0xffffff00 broadcast 10.10.0.255
media: Ethernet 100baseTX <full-duplex>
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet 127.0.0.1 netmask 0xff000000
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
inet xxx.xxx.xxx.xxx --> xxx.xxx.0.235 netmask 0xffffffff
фактически разници не заметил. как оно лучше выбрать.
Код: Выделить всё
${ipfw} pipe 1 config bw 6656Kbit/s queue 50 gred 0.002/10/30/0.1
${ipfw} pipe 2 config bw 950Kbit/s queue 50 gred 0.002/10/30/0.1
${ipfw} queue 1 config pipe 1 queue 50 mask dst-ip 0xffffffff gred 0.002/10/30/0.1
${ipfw} queue 2 config pipe 2 queue 50 mask src-ip 0xffffffff gred 0.002/10/30/0.1