From owner-freebsd-pf@FreeBSD.ORG Fri Oct 28 10:34:56 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73EC216A41F for ; Fri, 28 Oct 2005 10:34:56 +0000 (GMT) (envelope-from daniel@dgnetwork.com.br) Received: from zeus.yan.com.br (zeus.yan.com.br [200.202.253.10]) by mx1.FreeBSD.org (Postfix) with SMTP id EC23343D4C for ; Fri, 28 Oct 2005 10:34:54 +0000 (GMT) (envelope-from daniel@dgnetwork.com.br) Received: (qmail 5516 invoked by uid 1023); 28 Oct 2005 10:34:27 -0000 Received: from daniel@dgnetwork.com.br by zeus by uid 1023 with qmail-scanner-1.22 (uvscan: v4.1.60/v4366. fsecure: 4.11/3190/2003-09-23/2002-12-17. 2003-09-22/. Clear:RC:1(201.19.84.78):. Processed in 0.655562 secs); 28 Oct 2005 10:34:27 -0000 Received: from unknown (HELO ?192.168.1.2?) (daniel@dgnetwork.com.br@201.19.84.78) by zeus.yan.com.br with SMTP; 28 Oct 2005 10:34:26 -0000 Message-ID: <4361FE7E.50607@dgnetwork.com.br> Date: Fri, 28 Oct 2005 08:33:34 -0200 From: =?ISO-8859-1?Q?Daniel_Dias_Gon=E7alves?= Organization: DGNET Network Solutions User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: pt-br, pt MIME-Version: 1.0 To: freebsd-pf@freebsd.org, freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Load Balancing Outgoing, its possible ? X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: daniel@dgnetwork.com.br List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 10:34:56 -0000 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, -- Daniel Dias Gonçalves DGNET Network Solutions daniel@dgnetwork.com.br (37) 99824809