LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Virtual IP for LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Virtual IP for LVS
Cc: Jean-Baptiste Molle <jbmolle@xxxxxxxxxxx>
From: David Coulson <david@xxxxxxxxxxxxxxxx>
Date: Wed, 18 Jul 2012 08:19:20 -0400
On 7/18/12 7:58 AM, Jean-Baptiste Molle wrote:
>
> Should I buy an IP address to my ISP and assign this address as VIP?
Depends on your environment. If that is where you get public IPs from, 
then yes.
> Let say that VIP is associated to www.example.com. When a client types 
> www.example.com in his browser, he will go directly to my VIP (provided by 
> the ISP).
> How does the system knows it has to redirect the request to the LVS Director?

LVS hooks into netfilter - If you have a matching LVS service, it will 
be handled by LVS.
> Does the LVS Director IP has to be on the same subnet as the VIP?
>
No, however the VIP much be reachable from whatever network your clients 
are coming from.

David

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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