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

next in thread | previous in thread | raw e-mail | index | archive | help
thanks Julian,
buat 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?



On Sat, Oct 29, 2011 at 6:43 AM, Julian Elischer <julian@freebsd.org> wrote:

> On 10/28/11 7:22 AM, 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 <http://bogi.blog.imtelkom.ac.id>;
>> ______________________________**_________________
>> freebsd-net@freebsd.org mailing list
>> http://lists.freebsd.org/**mailman/listinfo/freebsd-net<http://lists.freebsd.org/mailman/listinfo/freebsd-net>;
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@**freebsd.org<freebsd-net-unsubscribe@freebsd.org>
>> "
>>
>>
>


-- 
-------------------------------
Bogi Aditya
Sisfo - IMTelkom
http://bogi.blog.imtelkom.ac.id



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