LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS-DR problem.

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS-DR problem.
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Fri, 20 Feb 2009 08:40:22 +0000
On Fri, 2009-02-20 at 12:05 +0530, Meghanand Acharekar wrote:
> I am having following configuration of LVS Cluster.
<snip>
> Trying 216.185.60.11...
> telnet: Unable to connect to remote host: No route to host
> 
> but I am able to ping 216.185.60.1

It would help enormously if you didn't mix and match IP addressing
schemes in your post - you say all devices have public addresses, then
use RFC1918 space, and then switch to public at the end. That's
confusing.

All that said, the way you've configured the VIP on your realservers is
wrong.

> ifconfig eth1 192.168.2.1 broadcast 192.168.2.255 netmask 255.255.0.0

Should be:

ifconfig lo:0 192.168.2.1 broadcast 192.168.2.1 netmask 255.255.255.255

You should, in theory, always use a /32 netmask for the VIP *and* put it
on a loopback device alias (or dummy, or something like that) so the
realserver doesn't add a route to a netblock that it thinks it owns.

Graeme


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