Суть такая имеем FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE в ядро добавлено
device pf
device pflog
device pfsync
options ALTQ
сеть
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
ether 00:30:48:FF:FF:FF
inet 1.1.2.140 netmask 0xffffff00 broadcast 1.1.2.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
ether 00:30:48:AA:AA:AA
inet 1.1.1.30 netmask 0xffffff00 broadcast 1.1.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
настройки pf
#Адреса
gw4="1.1.1.30"
gw6="1.1.2.140"
#ik.ps
mgw4="1.1.1.1"
mgw6="1.1.2.1"
#сетевые
gw4_if="em1"
gw6_if="em0"
#ICMP
pass in quick on $gw6_if reply-to ($gw6_if $mgw6) inet proto icmp from any to $gw6 keep state
pass in quick on $gw6_if reply-to ($gw6_if $mgw6) inet proto icmp from $gw6 to any keep state
pass in quick on $gw4_if reply-to ($gw4_if $mgw4) inet proto icmp from any to $gw4 keep state
pass in quick on $gw4_if reply-to ($gw4_if $mgw4) inet proto icmp from $gw4 to any keep state
######
pass in quick on $gw6_if reply-to ($gw6_if $mgw6) inet proto {tcp,udp} from any to $gw6 keep state
pass in quick on $gw6_if reply-to ($gw6_if $mgw6) inet proto {tcp,udp} from $gw6 to any keep state
pass in quick on $gw4_if reply-to ($gw4_if $mgw4) inet proto {tcp,udp} from any to $gw4 keep state
pass in quick on $gw4_if reply-to ($gw4_if $mgw4) inet proto {tcp,udp} from $gw4 to any keep state
pass out on $gw6_if proto tcp from $gw6 to any flags S/SA modulate state
pass out on $gw6_if proto { udp, icmp } from $gw6 to any keep state
pass out on $gw4_if proto tcp from $gw4 to any flags S/SA modulate state
pass out on $gw4_if proto { udp, icmp } from $gw4 to any keep state
и получаем что скорость download с адресов ~5кб/с а upload как положено ~8Mb/s если я убираю из pf правила для 1.1.2.140 , то с этого адреса я получаю Нормальный download ~8Mb/s и upload ~8Mb/s, а 1.1.1.30 продолжает сосать на ~5кб/с
PBR на ipfw вообще не работает.....
В чем косяк и куда копать ? P.S BSD закапывать не буду, бо не мое, обновить до 8 тоже проблематично