[lvs-users] LVS and Nat question

David Coulson david at davidcoulson.net
Wed Oct 24 02:00:13 BST 2012

On 10/23/12 8:49 PM, gary.gardner at brokensoftware.com 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.

More information about the lvs-users mailing list