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
|