From owner-freebsd-ipfw@FreeBSD.ORG Fri Oct 28 15:21:16 2005 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A4CF16A41F; Fri, 28 Oct 2005 15:21:16 +0000 (GMT) (envelope-from gbryant@roamingsolutions.net) Received: from basillia.speedxs.net (basillia.speedxs.net [83.98.255.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id A88B143D48; Fri, 28 Oct 2005 15:21:15 +0000 (GMT) (envelope-from gbryant@roamingsolutions.net) Received: from ongers.net (ongers.speedxs.nl [83.98.237.210]) by basillia.speedxs.net (Postfix) with ESMTP id 3115B6013; Fri, 28 Oct 2005 17:07:56 +0200 (CEST) Received: from (165.146.215.66 [165.146.215.66]) by MailEnable Inbound Mail Agent with ESMTP; Fri, 28 Oct 2005 17:26:55 +0200 Message-ID: <43624181.5010305@roamingsolutions.net> Date: Fri, 28 Oct 2005 17:19:29 +0200 From: G Bryant User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: daniel@dgnetwork.com.br References: <4361FE7E.50607@dgnetwork.com.br> In-Reply-To: <4361FE7E.50607@dgnetwork.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 0543-2, 2005/10/27), Outbound message X-Antivirus-Status: Clean Cc: freebsd-net@freebsd.org, FreeBSD , freebsd-pf@freebsd.org Subject: Re: Load Balancing Outgoing, its possible ? X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 15:21:16 -0000 Daniel Dias Gonçalves wrote: > > Complicated ? Its possible ? > > TELECOM > LOAD SHARING PER PACKET > ------------------------------------------------------------------------------------------ > > | | | | > | | > | | | | > | | > ------------------------------------- > ------------------------------------- > CISCO 2600 (6mbps) HAUWEI (6mbps) > LOAD SHARING PER PACKET LOAD SHARING PER > PACKET > ------------------------------------- > ------------------------------------- > Ethernet (64.XX.XX.1/30) Ethernet > (65.XX.XX.1/30) > | | > | | > | | > XL0 (64.XX.XX.2/30) XL1 > (65.XX.XX.2/30) > ------------------------------------------------------------------------------------------ > > FREEBSD 5.4 + PF > ------------------------------------------------------------------------------------------ > > XL2 (192.168.0.254/24, 64.XX.XX.5/30, 65.XX.XX.5/30) > | > | > ------------------ > SWITCH > ------------------------------- IP: 65.XX.XX.6/30 > > ------------------ GW: > 65.XX.XX.5 > / \ > / \ > IP: 192.168.0.10/24 IP: 64.XX.XX.6/30 > GW: 192.168.0.254 GW: 64.XX.XX.5 > and more clients ... > I need load balancing outgoing traffic from: > 192.168.0.0/24 ( NAT ) > and 64.XX.XX.0/24, 65.XX.XX.0/24 > > It is possible to make this balancing with the PF ? Exists some > software that I make this ? Zebra can help me? > This type of balancing gives to problems with the navigation of the > user of NAT or IP valid ? > If it is possible, wanted to see examples with rules. > > Thanks, > If you do not manage to come right with PF, I have a working example of a similar setup using IPFW & natd. Let me know if you would like the config files. Regards Graham