Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2011 22:33:35 -0700
From:      Julian Elischer <julian@freebsd.org>
To:        "nyoman.bogi@gmail.com" <nyoman.bogi@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: multiple ISP
Message-ID:  <4EACE1AF.7070002@freebsd.org>
In-Reply-To: <CAJsxnXZYNcJjMjXnkTchVjTo45c76im8CdBhQCpWnyyC6eoYyw@mail.gmail.com>
References:  <CAJsxnXZW-N_R9XxzBg4kLFROQ5N8uTJq27x5auGFdtFN9tJ43Q@mail.gmail.com>	<4EAB3E0C.3020203@freebsd.org> <CAJsxnXZYNcJjMjXnkTchVjTo45c76im8CdBhQCpWnyyC6eoYyw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/29/11 5:27 AM, nyoman.bogi@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@freebsd.org 
> <mailto:julian@freebsd.org>> wrote:
>
>     On 10/28/11 7:22 AM, nyoman.bogi@gmail.com
>     <mailto:nyoman.bogi@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-unsubscribe@freebsd.org
>         <mailto:freebsd-net-unsubscribe@freebsd.org>"
>
>
>
>
>
> -- 
> -------------------------------
> Bogi Aditya
> Sisfo - IMTelkom
> http://bogi.blog.imtelkom.ac.id <http://bogi.blog.imtelkom.ac.id/>;
>




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