Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 10:54:13 +0100
From:      Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
To:        "Dustin Puryear" <dpuryear@usa.net>
Cc:        isp@freebsd.org
Subject:   Re[6]: Using DNAT and DNS round-robin
Message-ID:  <48508292666.20011210105413@buz.ch>
In-Reply-To: <PGECILGGNJGDPJKLFEMIGELBCIAA.dpuryear@usa.net>
References:  <PGECILGGNJGDPJKLFEMIGELBCIAA.dpuryear@usa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

Hello Dustin,

Monday, December 10, 2001, 6:41:56 AM, you wrote:
> Gabriel, after rereading your message I am now definately curious
> how you go about this when using multiple webservers for both IP-
> and name-based virtual hosting.

Normal hosting consumers we simply setup as name based, those who pay
for SSL we of course give their own IP but since none of these needs
load balancing (and load balancing IS a major PITA since you need
bullet proof filesystem synchronization for it which I currently
can't
see how it should be achieved on FreeBSD), we put all on only one
server. To protect us against server problems, we mirror the servers
every few hours to a twin in order to have a fall back option.

> Okay, so I setup my firewall to route any packets destined
> for network xyz to my internal web servers. These web servers may
> be using IP- or name-based virtual hosting. Now how do I configure
> the interfaces on the internal web servers?

Simply give it the IPs you want them to respond to.

> Since each web server needs to be able to serve any of the
> websites, how do I handle each web server needing to have an IP
> alias for one of our IP-based  

How do you go about providing all the data to all servers? I'd very
much like to have a real time filesystem replication facility since
then I could go for a setup like you want... It's easy with data that
you control, since then you can store all volatile data in SQL db,
but
with hosting consumers, that's obviously not possible.

> virtual host? I think that is what is confusing me. If it was just
> named-based virtual hosting there wouldn't be an issue in my mind.

You simply can't have the same IP based virtual host on two machines.
The online thing that can be done there is round robin NAT but for
reasons pointed out above, that's major PITA.




Best regards,
 Gabriel
ØE%øP+”1

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQEVAwUBPBR4QsZa2WpymlDxAQFOpAf/S6aMLgKpt0f6fXzYd7U+63X3gthfs2Go
1UHS/ihV4J9X65CT2e0pqZNqeIEnld389KIAf9RxIc13Y0ddhmd+p+pQ3rOJthlq
Ddd79yAbNdXv8JYmhNapuInzteJCGmwIs9qdMBbxxanV1YUQhaKONF8rP/UuFBPl
fsm+mvjRrUicw43flGiTj/4dqPQqEBI4cvkiY7hRny667o3E85tokdfItad8VneC
AeqLmuDO6jR0c6rURX57C57qoa7ToDraQu+e93jsO+4K52TsI5TYkrFvI2MhD5JK
mLxK9zkvDzuIPR/zajOW4n68GAKSPtSfacgpqqS6vwMXzG+iwkqjMw==
=TObd
-----END PGP SIGNATURE-----


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?48508292666.20011210105413>