From owner-freebsd-questions@FreeBSD.ORG Fri Jan 16 04:52:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BC1716A4CE for ; Fri, 16 Jan 2004 04:52:23 -0800 (PST) Received: from kumprang.or.id (kumprang.or.id [202.143.103.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 9532E43DAA for ; Fri, 16 Jan 2004 04:51:00 -0800 (PST) (envelope-from budsz@kumprang.or.id) Received: (qmail 30289 invoked by uid 1008); 16 Jan 2004 12:58:09 -0000 Date: Fri, 16 Jan 2004 19:58:08 +0700 From: budsz To: Dirk Meyer Message-ID: <20040116125808.GA29159@kumprang.or.id> References: <20040114163043.GL415@seekingfire.com> <20040114134255.GA59317@kumprang.or.id> <009201c3daad$31d89220$1100a8c0@dtg17> <20040114163043.GL415@seekingfire.com> <200401141827.30569.ajacoutot@lphp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-URL: "http://www.kumprang.or.id/~budsz/" X-URL-GPG: "http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x62695304" X-Pubkey: "http://www.kumprang.or.id/~budsz/pubkey.txt" X-Pubkey-MD5: "http://www.kumprang.or.id/~budsz/pubkey-checksum.md5" X-Finger-Print: "A05A 268C 3CD4 ABBD D9EB 11E1 F64C 4B4E 6269 5304" X-Organization: "Internet Cafe and Game PC Kumprang" X-Virus-Scanned: by AMaViS perl-11 cc: FreeBSD-Questions Subject: Re: Loading balancing with more than one ISP. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 12:52:23 -0000 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