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: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Wed, 12 Nov 2008 13:13:32 +0000
On Wed, 2008-11-12 at 13:55 +0100, Pieter Temmerman wrote:
> 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?

No; several of the tools you may use to configure addresses on adapters
are "intelligent" and add entries to the routing tables themselves. This
saves you the headache of forgetting to do it.

Also, and this is the catch, netmasks on lo mean something a little
different to netmasks on other adapters... Always use 255.255.255.255,
as per the HOWTO:

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.ipvsadm.html#netmask_for_VIP

Graeme



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