Date: Fri, 16 Jan 2004 19:58:08 +0700 From: budsz <budsz@kumprang.or.id> To: Dirk Meyer <dirk.meyer@dinoex.sub.org> Cc: FreeBSD-Questions <freebsd-questions@FreeBSD.org> Subject: Re: Loading balancing with more than one ISP. Message-ID: <20040116125808.GA29159@kumprang.or.id> In-Reply-To: <VEJofc39tg@dmeyer.dinoex.sub.org> References: <20040114163043.GL415@seekingfire.com> <20040114134255.GA59317@kumprang.or.id> <009201c3daad$31d89220$1100a8c0@dtg17> <20040114163043.GL415@seekingfire.com> <200401141827.30569.ajacoutot@lphp.org> <VEJofc39tg@dmeyer.dinoex.sub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040116125808.GA29159>