multiple ISP

Julian Elischer julian at freebsd.org
Sun Oct 30 05:33:48 UTC 2011


On 10/29/11 5:27 AM, nyoman.bogi at 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 <julian at freebsd.org 
> <mailto:julian at freebsd.org>> wrote:
>
>     On 10/28/11 7:22 AM, nyoman.bogi at gmail.com
>     <mailto:nyoman.bogi at 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 at freebsd.org <mailto:freebsd-net at freebsd.org>
>         mailing list
>         http://lists.freebsd.org/mailman/listinfo/freebsd-net
>         To unsubscribe, send any mail to
>         "freebsd-net-unsubscribe at freebsd.org
>         <mailto:freebsd-net-unsubscribe at freebsd.org>"
>
>
>
>
>
> -- 
> -------------------------------
> Bogi Aditya
> Sisfo - IMTelkom
> http://bogi.blog.imtelkom.ac.id <http://bogi.blog.imtelkom.ac.id/>
>



More information about the freebsd-net mailing list