Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] Virtual IP for LVS

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


jbmolle at hotmail

Jul 18, 2012, 4:58 AM

Post #1 of 2 (306 views)
Permalink
[lvs-users] Virtual IP for LVS

Hi,

I've read the Mini HOW TO and I'm trying to set up a LVS-TUN.
I don't exactly understand what should the Virtual IP be.

Should I buy an IP address to my ISP and assign this address as VIP?
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?
Does the LVS Director IP has to be on the same subnet as the VIP?

Thanks for your help,
Jean-Baptiste

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

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


david at davidcoulson

Jul 18, 2012, 5:19 AM

Post #2 of 2 (290 views)
Permalink
Re: [lvs-users] Virtual IP for LVS [In reply to]

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 [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.