LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Alias on lo blocks everything

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Alias on lo blocks everything
From: Pieter Temmerman <ptemmerman.ext@xxxxxxxxx>
Date: Wed, 12 Nov 2008 13:55:08 +0100
Hi Graeme,

I think that is a plausible explanation.
I'm sorry for my ignorance, but does this mean that the linux kernel
first looks whether a requested IP address is in the same subnet as the
localhost, before passing it to the routing table?

On Wed, 2008-11-12 at 12:29 +0000, Graeme Fowler wrote:
> On Wed, 2008-11-12 at 10:41 +0100, Pieter Temmerman wrote:
> > In every tutorial I have read on VLS, it stated that in order to receive
> > traffic on the VIP, the real servers should have the VIP assigned to the
> > lo:0 alias interface.
> > 
> > When I do this, that particular server is unreachable and is either able
> > to reach other servers in the network. When I remove the lo:0 alias,
> > everything is back to normal again.
> 
> Make sure you add the alias with a /32 netmask (255.255.255.255) or that
> host will suddenly believe the whole of the LAN it resides upon is bound
> to the loopback adapter.
> 
> Graeme
> 
> 
> _______________________________________________
> 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>