LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: LVS and ethernet Bridgeing

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, Radu-Adrian Feurdean <raf@xxxxxxxx>
Subject: RE: LVS and ethernet Bridgeing
From: Peter Mueller <pmueller@xxxxxxxxxxxx>
Date: Mon, 1 Oct 2001 11:45:17 -0700
>       OK, so lets say it is LVS-DR (I have read about LVS-DR in the
> FAQ)  how would I meet the following criteria:
> 
>       1. A box could be added to the farm without having to solve the
> ARP problem. (no special config needed)
>       2. The real servers do not need to have the VIP address bound to
> their interface (this would solve the ARP problem)
>       3. The Linux Director would need to rewrite the IP header (some
> form of NAT) to change the Real Server IP to the Virtual Server IP
> before the
>       packet was returned to the client. (this is the only way point
> 2. could work, right?)
> 

Try LVS-DR with transparent proxy method.  you just have to have one line
added in to your real server packet filter, like :

ipchains -A input -j REDIRECT 80 -d VIP 80-p tcp

and more lines if you have more VIPs or ports.

>       In other words, I am still trying to resolve the problem in my
> previous diagram, but I have removed the requirement of 
>       if being LVS-NAT :-)
> 
>       Could the solution be made up of some sort of LVS-DR/LVS-NAT
> hybrid?

I suppose you could cause your LVS box to be your default gateway.  However
I don't think I'd recommend this..

Peter


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