I have two ISPs (two different serial links to my router).  I want 50% of
all outgoing traffic go through ISP 1 with ISP 1 provided IP address as
source address, and the other 50% of all outgoing traffic go through ISP 2
with ISP 2 provided IP address as source address.

Will this work if I add the following ipfw rules?

#forward 50% of the traffic
/sbin/ipfw add prob 0.5 fwd 127.0.0.1 tcp from any to any 80 via fxp0
#forward everything which is missed by the "0.5" rule
/sbin/ipfw add prob 1 fwd 127.0.0.1 tcp from any to any 80 via fxp1

I would appreciate it if someone could provide me
comments/suggestions/corrections.

Thanks!

best wishes,
Wai Chan

winmail.dat

Reply via email to