LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: name Based virtual hosts + LVS-NAT

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: name Based virtual hosts + LVS-NAT
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 17 Dec 2002 16:17:56 +0900
On Mon, Dec 16, 2002 at 01:18:27PM +0100, Torsten Rosenberger wrote:
> Hello
> 
>       this is my first time with LVS.
> I tried LVS-NAT 
> ( one director and one realserver )
> This works fine but then i created  two namebased virtual server
> 
> My director has the IP 10.0.1.13 and 10.0.2.100
> and the real server have 10.0.2.200 (gGW 10.0.2.100)
> 
> 
> I create DNS records on my internel Bind server
> develop  IN A 10.0.1.13
> develop2 IN CNAME develop
> 
> and configuered 2 name based virtual host in the director and pu the
> names in the /etc/hosts file
> 
> but this works only sometimes for me
> 
> 
> Is it possible to use name based virtual hosts with LVS-NAT or must i
> use LVS-DR or LVS-TUN ?

Yes, what you are trying to do should work.

> ( is it possible that the director is the gateway for the RIP if I use
> LVS-DR ?)

Yes, but you will probably need some patches. 
See http://www.ssi.bg/~ja/#lvsgw


-- 
Horms
        


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