LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Questions regarding LVS-DR

To: dan@xxxxxxxxxxxxxx
Subject: Re: Questions regarding LVS-DR
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Samuel Tran <stran@xxxxxxxx>
Date: Thu, 20 Oct 2005 23:21:15 -0400
Dan Trainor wrote:

Samuel Tran wrote:
Real servers need to have a default gateway, ... etc

So for whatever interface they use for communicating on the Internet,
they use that same interface to talk with the director?  If the
realservers need to communicate over the Internet, they need some more
information than a single IP address that will never marry a MAC
address.  For LVS-DR, it is necessary to have 2+ physical interfaces?


For LVS-DR you need only one physical interface on the director and each real server.

Consider the following example:

End client
|
Internet
|
|
----  216.74.150.10 (director)
|
---- 216.74.150.11 (real server 1)
|
---- 216.74.150.12 (real server 2)
|
---- 216.74.150.13 (real server 3)


The end client sends a packet to the virtual service. Then the director selects the real server and forwards the packet. The real server directly replies to the end client.
In this example the director and the real servers use public IP addresses.

Sam

<Prev in Thread] Current Thread [Next in Thread>