On 10/29/11 5:27 AM, nyoman.b...@gmail.com wrote:
thanks Julian,
but I think fwd in ipfw will use round robin mechanism
instead of load balancing, which I prefer.
or perhaps my knowledge about fwd is a little bit old
maybe fwd can do the load balancing?
the problem is not load balancing the outgoing traffic, but the
incoming traffic.
On Sat, Oct 29, 2011 at 6:43 AM, Julian Elischer <jul...@freebsd.org
<mailto:jul...@freebsd.org>> wrote:
On 10/28/11 7:22 AM, nyoman.b...@gmail.com
<mailto:nyoman.b...@gmail.com> wrote:
dear all,
I need to set up a router (using FreeBSD)
that connect to the Internet
to accomodate multiple ISP,
so users can be load balanced through
those several ISP lines.
how can I do that?
Is it ok for you to NAT the connecitons? You pretty much have to
unless
you can convince your ISPs
to call you a peer (unlikely).
Basically NAT both outgoing interfaces (see descriptions elsewhere
on how to run natd on two interfaces), and then use the setfib
rule in ipfw to select which routing table to use for each session
and then set up the tables to use different outgoing interfaces.
you could also use the 'fwd' ipfw rule instead of the setfib rule.
thanks in advance
-------------------------------
Bogi Aditya
Sisfo - IMTelkom
http://bogi.blog.imtelkom.ac.id
_______________________________________________
freebsd-net@freebsd.org <mailto:freebsd-net@freebsd.org>
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
"freebsd-net-unsubscr...@freebsd.org
<mailto:freebsd-net-unsubscr...@freebsd.org>"
--
-------------------------------
Bogi Aditya
Sisfo - IMTelkom
http://bogi.blog.imtelkom.ac.id <http://bogi.blog.imtelkom.ac.id/>
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"