From owner-freebsd-stable@FreeBSD.ORG Tue Sep 19 09:30:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9938516A416 for ; Tue, 19 Sep 2006 09:30:27 +0000 (UTC) (envelope-from dom@goodforbusiness.co.uk) Received: from mailhost.graphdata.co.uk (mailhost.graphdata.co.uk [195.12.22.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 252DE43D45 for ; Tue, 19 Sep 2006 09:30:27 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from localhost (localhost [127.0.0.1]) by mailhost.graphdata.co.uk (Postfix) with ESMTP id BD2EB11402E; Tue, 19 Sep 2006 10:30:24 +0100 (BST) X-Virus-Scanned: amavisd-new at graphdata.co.uk Received: from mailhost.graphdata.co.uk ([127.0.0.1]) by localhost (mailhost.graphdata.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nqXHZozPeVJJ; Tue, 19 Sep 2006 10:30:21 +0100 (BST) Received: from [192.168.0.86] (gdc083.internal.graphdata.co.uk [192.168.0.86]) by mailhost.graphdata.co.uk (Postfix) with ESMTP id E0896114033; Tue, 19 Sep 2006 10:30:21 +0100 (BST) Message-ID: <450FB8AF.7040700@goodforbusiness.co.uk> Date: Tue, 19 Sep 2006 10:30:23 +0100 From: Dominic Marks User-Agent: Thunderbird 1.5.0.5 (X11/20060809) MIME-Version: 1.0 To: Dominik Zalewski References: <450F8777.7080407@gmail.com> <20060919083955.GB87657@e-Gitt.NET> <450FAF42.50401@goodforbusiness.co.uk> <200609191216.24457.dzalewski@open-craft.com> In-Reply-To: <200609191216.24457.dzalewski@open-craft.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: bind round robin X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 09:30:27 -0000 From the original message: [1] >>>> >>>> www IN A 10.10.10.10 >>>> www IN A 192.168.0.10 >>>> > > From pen homepage: > > "This is pen, a load balancer for "simple" tcp based protocols such as http or > smtp." > > As I know DNS uses both tcp and udp protocols. From the posters excerpt it looks like they are looking to load balance HTTP. [1] > For failover you can try OpenBSD Packet Filter with CARP protocol. PF can do > load-balacing using different algorithms also. CARP is ported to FreeBSD. > More info on: http://pf4freebsd.love2party.net/carp.html Also true. Last time I looked at this however there was a big disclaimer saying that CARP's load balancing was likely to give a distorted distribution of load and I don't believe it does weighting. I believe this would also be a problem considering the example in [1]: From carp(4): Note: ARP balancing only works on the local network segment. It cannot balance traffic that crosses a router, because the router itself will always be balanced to the same virtual host. Cheers, Dominic