From owner-freebsd-isp Mon Dec 10 10:17:35 2001 Delivered-To: freebsd-isp@freebsd.org Received: from www.golsyd.net.au (golsyd.net.au [203.57.20.1]) by hub.freebsd.org (Postfix) with ESMTP id 18AD237B41C for ; Mon, 10 Dec 2001 10:17:27 -0800 (PST) Received: from [144.137.119.218] by www.quake.com.au (NTMail 4.30.0012/AB6169.63.5724aadf) with ESMTP id tdxdaaaa for ; Tue, 11 Dec 2001 05:16:54 +1100 Message-ID: <3C14FC60.3010104@quake.com.au> Date: Tue, 11 Dec 2001 05:18:08 +1100 From: Kal Torak User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.5) Gecko/20011011 X-Accept-Language: en-us MIME-Version: 1.0 To: Dustin Puryear Cc: freebsd-isp@freebsd.org Subject: Re: Using DNAT and DNS round-robin References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dustin Puryear wrote: > > Our situation is a bit different as my client is not a web hosting provider. > Rather, they have their own web services that they will be offering to > existing customers. Since this is a high-load application, we want to be > able to spread the load across n servers. Also, to ensure best performance I > don't want to assign site A to server 1, site B to server 2, site C to > server 1, and so on. Rather, I would like to load-share (load-balance later > on) across all servers for any client. > > I guess that is where the initial confusion came from. In order for each > webserver to offer the same IP-based virtual hosts as the other n-1 > webservers, it appears that I need to setup the same IP alias on each > webserver, unless I am missing something. Obviously, that won't work. That > is one reason why I was looking at Squid. Yeah, you would have to alise all the real IPs to your gateway and use nat internaly... Now I did a little reading on this and you can actualy use natd to do round robin forwaring... You wouldnt even have to use dns... It would be a simple matter of having all your IPs aliased to the gateways external interface and have natd forward everything to the pool of servers on the internal network... No reason to get extra things like dns round robins or squid or anything like that involved... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message