From owner-freebsd-pf@FreeBSD.ORG Wed Oct 26 02:55:55 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 E4B3416A41F for ; Wed, 26 Oct 2005 02:55:54 +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 AFFA643D45 for ; Wed, 26 Oct 2005 02:55:53 +0000 (GMT) (envelope-from daniel@dgnetwork.com.br) Received: (qmail 25468 invoked by uid 1023); 26 Oct 2005 02:55:32 -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.89.24):. Processed in 0.503584 secs); 26 Oct 2005 02:55:32 -0000 Received: from unknown (HELO ?192.168.1.2?) (daniel@dgnetwork.com.br@201.19.89.24) by zeus.yan.com.br with SMTP; 26 Oct 2005 02:55:31 -0000 Message-ID: <435EF038.8000407@dgnetwork.com.br> Date: Wed, 26 Oct 2005 00:55:52 -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: pf@benzedrine.cx, yongari@kt-is.co.kr, mlaier@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 26 Oct 2005 17:02:24 +0000 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: Wed, 26 Oct 2005 02:55:55 -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