multiple incoming lines

vladone vladone at spaingsm.com
Tue Sep 20 08:42:31 PDT 2005


U have (for set 2) this rules to divert packets that outgoing:
$cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if1
$cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if2
I dont understand what u want to do?
This rules translate all adress that outgoing throught $ext_if1 and
$ext_if2 with address indicated by natd2. Divert and route is two
thinks completly different.
  If u want to route packets to different
outgoing interfaces, need to use different routes. (man route).
  If u want to outgoing packets with different addresses, but same
interface, need to use divert (and need to put alias for external
interface with addresses that u need).
  If u want to make so named load balancing, when use to lines for
incoming trafic that sumarize bandwidth then is more complicated.



More information about the freebsd-ipfw mailing list