LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS and Nat question

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS and Nat question
Cc: gary.gardner@xxxxxxxxxxxxxxxxxx
From: David Coulson <david@xxxxxxxxxxxxxxxx>
Date: Tue, 23 Oct 2012 21:00:13 -0400
On 10/23/12 8:49 PM, gary.gardner@xxxxxxxxxxxxxxxxxx wrote:
> I have been search and searching and I can't seem to solve my issue.
>
> I have two load balancers that have real IP's that resolve to the domain
> name.  I then have real servers that have internal IP's and want the
> traffic to go through the Load Balancers and send requests to the Web
> Servers and then return a response to the client.
>
> I can see the pulse going to the Web Servers, but I cannot get any traffic
> coming in to the load balancers.
>
> Below is my configuration. Do I have this configured correctly or not?  If
> not, please guide me in fixing this.  I know lots of people have been
> doing this, so it shouldn't be as complicated as I am making it.
>
> The system is CentOS 6.3.  When I try to hit the real ip, it acts as if
> nothing is listening.  Do I need something in front of the load balancer
> or should NAT take care of that.
>
> I would assume that traffic hits the Internet IP, traffic gets inspected
> and then routed properly.  I know nothing is currently listening on port
> 80, but shouldn't NAT just forward where it should go?
I don't see where you are doing NAT from your external range to your 
internal subnet, but that just makes it more complicated anyway.

Why not just do DR between your load balancers and the backend web 
servers? Just add your 'real' IP to the web server loopback and you're 
pretty much done.



_______________________________________________
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>