Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2011 16:43:08 -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:  <4EAB3E0C.3020203@freebsd.org>
In-Reply-To: <CAJsxnXZW-N_R9XxzBg4kLFROQ5N8uTJq27x5auGFdtFN9tJ43Q@mail.gmail.com>
References:  <CAJsxnXZW-N_R9XxzBg4kLFROQ5N8uTJq27x5auGFdtFN9tJ43Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> _______________________________________________
> 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"
>




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