Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 05:18:08 +1100
From:      Kal Torak <kaltorak@quake.com.au>
To:        Dustin Puryear <dpuryear@usa.net>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Using DNAT and DNS round-robin
Message-ID:  <3C14FC60.3010104@quake.com.au>
References:  <PGECILGGNJGDPJKLFEMICELPCIAA.dpuryear@usa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C14FC60.3010104>