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: gary.gardner@xxxxxxxxxxxxxxxxxx
Date: Tue, 23 Oct 2012 19:12:26 -0600
>
> 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
>
I thought with the DR that the backend web servers had to have real IP's
so they could get out to the Internet?  I had tried that and that didn't
seem to work, but maybe it's just me.

So the VIP should be a 192.x.x.x, yes even for the DR?  Is my
configuration just fubar'd?

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