From owner-freebsd-net@FreeBSD.ORG Thu May 18 22:56:11 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0D4816A44F for ; Thu, 18 May 2006 22:56:11 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mx1.yazzy.org (mx1.yazzy.org [84.247.145.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DBD043D46 for ; Thu, 18 May 2006 22:56:11 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from gw.yazzy.net ([81.175.12.222] helo=lapdance.yazzy.net) by mx1.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1FgrPD-0004mE-74; Fri, 19 May 2006 00:55:43 +0200 Date: Thu, 18 May 2006 22:54:55 +0000 From: Marcin Jessa To: Michael Jeung Message-Id: <20060518225455.5d58e4de.lists@yazzy.org> In-Reply-To: <3D7C7275-432A-448D-82D6-AB551A1CE256@cisdata.net> References: <3D7C7275-432A-448D-82D6-AB551A1CE256@cisdata.net> Organization: YazzY.org X-Mailer: Sylpheed version 2.2.3 (GTK+ 2.8.16; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) Cc: freebsd-net@freebsd.org Subject: Re: Load Balancing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 22:56:11 -0000 On Thu, 18 May 2006 15:42:24 -0700 Michael Jeung wrote: > Hey folks, > > We currently use DNS round-robin to balance traffic to servers. > We've recently run into situations where multiple search engine > spiders are crawling our webservers. They appear to be targeting > specific webservers by IP address. This defeats DNS round-robin and > as a result 1 of our webservers starts responding very slowly since > it's full of search engine spiders. > > I recently looked at the port solution "'balance" and it seems like a > great answer for our problems. The difficulty I'm running into now > is that if I put all the webservers behind a single balance server, > now the webservers are only receiving traffic from the balance server > and this messes up our traffic reporting tools since it now looks > like all the traffic is coming from a single IP address. > > I'm sure this is a common problem. Does anyone have a good solution > to this? Essentially, I want all the benefits of load-balancing with > none of the single-IP-traffic drawbacks. =) Take a look at pf. http://www.openbsd.org/faq/pf/pools.html