Re: kernel announcing ip address on wrong interface
On Fri, 03 Oct 2014, Sven Hartge wrote:
> It is, if all eth's are conneted to the same network. Google "weak host
> model".
>
> In Linux, the IPs don't "belong" to an interface but to the host at all.
> The kernel will happily announce (via ARP) any IP it "owns", even the
> ones on 'lo', on any interface. This behavior is configurable, but it is
> always better so first correct any network configuration errors or
> misconceptions.
Indeed. It is also annoying as all heck, as it is almost never what you
want nowadays. Oh well...
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/Documentation/networking/ip-sysctl.txt?h=linux-3.2.y
has the gory sysctl details to change ARP behaviour on the 3.2 kernel.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
Reply to: