LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problems acessing LVS from internal network

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Problems acessing LVS from internal network
From: "Joe Stump" <joe@xxxxxxxxxxxx>
Date: Mon, 4 Nov 2002 12:46:37 -0500
I've figured out my problem. The problem was the route problems described in
the HOWTO within the 1 network LVS-NAT. Except there was a small twist. My
director had an external IP (166.90.246.222) and an internal address
(192.168.1.25). Clients sitting outside of my internal network worked great,
but inside my network the connections hung. To fix it I had to do two
things:

1.) Remove the routes to the internal network on the real servers
2.) Remove the routes to the internal network on the directors (this was not
mentioned in the docs)

You might also want to add direct routes to certain servers inside the
internal network. I had to add ones to my DB server and NFS server. You do
this with the following command:

route add -host $SERVER dev eth0

Where $SERVER is the IP of the machine you want to connect with. Once I had
all my routing tables working everything worked fine. I'm not setting up all
of my real servers' route tables, apache, etc. Should be OK once that is all
done :)

This is a slight variation of the HOWTO - if you want me to write something
up about this I'd be happy to.

--Joe

--
Joe Stump
http://www.joestump.net



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