>мне кажется, что пахать не будет, т.к. шлюз указан только для одного канала, а для второго шлюза нету. Значит в интернет будет ходить только половина сетки. Нужно сделать, что-то типа ipfw fwd <gate> ip from x.x.x.x to any только на pf
****************************************************************
Load Balance Outgoing Traffic
http://www.openbsd.org/faq/pf/pools.html
****************************************************************nat on $ext_if1 from $lan_net1 to any -> ($ext_if1)
nat on $ext_if2 from $lan_net2 to any -> ($ext_if2)
................
pass in on $int_if route-to \
($ext_if1 $ext_gw1) round-robin \
proto tcp from $lan_net1 to any flags S/SA modulate state
pass in on $int_if route-to \
($ext_if1 $ext_gw1) round-robin \
proto { udp, icmp } from $lan_net1 to any keep state
pass in on $int_if route-to \
($ext_if2 $ext_gw2) round-robin \
proto tcp from $lan_net2 to any flags S/SA modulate state
pass in on $int_if route-to \
($ext_if2 $ext_gw2) round-robin \
proto { udp, icmp } from $lan_net2 to any keep state
................
# general "pass out" rules for external interfaces
pass out on { $ext_if1 $ext_if2 } proto tcp from any to any flags S/SA modulate state
pass out on { $ext_if1 $ext_if2 } proto { udp, icmp } from any to any keep state
# route packets from any IPs on $ext_if1 to $ext_gw1 and the same for
# $ext_if2 and $ext_gw2
pass out on $ext_if1 route-to ($ext_if2 $ext_gw2) from $ext_if2 to any
pass out on $ext_if2 route-to ($ext_if1 $ext_gw1) from $ext_if1 to any