LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Problems implementing "Lars' Method"

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Problems implementing "Lars' Method"
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Tue, 25 Nov 2008 09:30:13 +0000
On Mon, 2008-11-24 at 16:08 -0500, Eli Ben-Shoshan wrote:
> So after further investigation with tcpdump, I think I know what the problem 
> is.
> 
> When the realserver arps for the gateway's mac address, it does not get a 
> response. The reason for this is that the realserver's IP address is not on 
> the 
> same network as the gateway. The realserver's IP address is 192.168.74.81 and 
> the IP of the gateway is 128.227.74.126. Here is the relevant section of the 
> tcpdump:
> 
> 16:00:52.119149 arp who-has 128.227.74.126 tell 192.168.74.81
> 
> After talking to my network people, they tell me that this is explicitly not 
> allowed by their current configs. Has anyone run into this problem before?

Well... erm... change the gateway to be a device local to the
realserver.

I'm afraid this is a networking fundamental: the next-hop must be
reachable! In your case you're confusing "gateway" with "default route".
The realserver's default router to non-local networks must be reachable
from the realserver, and that router must itself then have a route to
"the internet" - 0.0.0.0/0 - which is itself reachable. And so on, and
so forth.

IP 101, I'm afraid.

Graeme



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