Loading balancing with more than one ISP.

budsz budsz at kumprang.or.id
Fri Jan 16 04:52:23 PST 2004


On Thu, Jan 15, 2004 at 04:41:47PM +0100, Dirk Meyer wrote:
>Antoine Jacoutot schrieb:,
>
>> What I'm hoping to do is find a way to route all paquets coming:
>> - from DMZ to internet, using NET connexion1
>> - from LAN to internet, using NET connection2
>> 
>> To be more understandable, something like this:
>> route add from DMZ defaut em0
>> route add from LAN defaut em1
>> --> I know it is not a real command line, it's just to make things clearer.
>
>Thats easy on your router:
>#!/bin/sh
>gateway1="10.10.10.1"
>gateway2="10.10.10.2"
>dmz="10.10.20.0/24"
>lan="10.10.30.0/24"
>ipfw add fwd ${gateway2} ip from ${dmz} to any
>ipfw add fwd ${gateway1} ip from ${lan} to any

I never try loading balancing using ipfw(8), but ever read in manual
ipf(5) using rdr for loading balancing. I think this is only work in NAT's box.
I want to know loading balancing with dual connection ISP with FreeBSD,
maybe like
http://www.lartc.org/howto/lartc.rpdb.multiple-links.html#AEN293, in
that URL only using routing can result loading balancing connection.
My questions is does FreeBSD with route(8) can do like that URL. We
playing only in routing table.

Thanks You.


-- 
budsz


More information about the freebsd-questions mailing list