Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2001 13:06:22 -1000
From:      "Wai Chan" <waichan@hpu.edu>
To:        <freebsd-net@freebsd.org>, <freebsd-questions@freebsd.org>
Subject:   outgoing traffic load balancing with multiple ISP
Message-ID:  <LNEJKGADPHKMLOFLNLFLCEEIFAAA.waichan@hpu.edu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
x>"IPM.Microsoft Mail.Note1

\"#&)6p2outgoing traffic load balancing with multiple ISPq%DMGiSMTP:WAICHAN@HPU.EDU@<<%
vIV@€	TPLZFu>n
rcpg1252`n033Och
set0 Tahq}
 ;	o 8
vwkd4`cPcA I ve HtwoPSP (df	@ " lk tHmy `ut)4. Qwp@50% of @ gogra -
 phghi 10ip7`pdP adVd	pa sac{,qo 2X$w/%.


W? 0k Q% !o"q frul?'J#r@ !VG "'D/sb/*c)B$b 0.5)w%P 7./ / @t
)a q`!-08Ppa)xp@+ery(Q"qw(`( m%Ab0 "/!"*'H%P-.@/o013'!`l%Pap$0(@( ;$@=m[0s6gt~i ? <A?';Tk!'Jb?Qs  P'p CA'DD F F FRo	 FT9.0
 F: F< F= FR FS FvIV@vIV@8+*VPSTPRX.DLLNITA7nC:\Documents and Settings\waichan\Local Settings\Application Data\Microsoft\Outlook\outlook.pst
47/<LNEJKGADPHKMLOFLNLFLCEEIFAAA.waichan@hpu.edu>{ceIHAVETWOISPS(TWODIFFERENTSERIALLINKSTOMYROUTER)IWANT50%OFALLOUTGOINGTRAFFICGOTHROUGHISP1WITHISP1PROV

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LNEJKGADPHKMLOFLNLFLCEEIFAAA.waichan>