On 2/2/06, Glenn Remot <[EMAIL PROTECTED]> wrote:
> Linux Win wrote:
>
> freebsd as ur linux gateway...ur one mixed-up dude linux win..hehehe
> :-)      just kidding..
> anyways, if ur using freebsd, you can use pf (the *BSD firewall
> implementation).
> basically, u can't have two default gateways at the same time.
> what you can do is provide for policy routing. like forcing all smtp
> traffic through DSL1 then all http traffic through DSL2 somewhat
> loadbalancing ur system. then u can do a little scripting (shell/perl)
> that will monitor
> ur current gateway (ping :-) ). If it's unreachable for a specific
> period, ur script can then act accordingly, like changing the
> /*defaultrouter */in ur rc.conf to ur 2nd DSL and editing ur pf.conf

Naah, you don't need multiple default router (aka multipath), just use
the route-to rule and you will achieve round-robin connection with
your 2 Internet link.

http://www.openbsd.org/faq/pf/pools.html#outgoing

>
> i suggest you use two boxes for ur gateway to provide for hardware
> redundancy.

Amen, use CARP, so that you can stay longer at home before you fix the
broken box when you came to the office. ;)

--
Jimmy B. Lim
j i m m y b l i m @ g m a i l . c o m
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to