[lvs-users] Virtual IP for LVS

David Coulson david at davidcoulson.net
Wed Jul 18 13:19:20 BST 2012

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.


More information about the lvs-users mailing list