Re: kernel announcing ip address on wrong interface

2014-10-05 Thread Sven Hartge
Henrique de Moraes Holschuh wrote: > On Fri, 03 Oct 2014, Sven Hartge wrote: >> In my experience this "problem" mostly happens to people trying to >> cheaply load-balance connections by using two or more ethernet >> interfaces with different IPs on the same network. > If only it were just that.

Re: kernel announcing ip address on wrong interface

2014-10-03 Thread Henrique de Moraes Holschuh
On Fri, 03 Oct 2014, Sven Hartge wrote: > Henrique de Moraes Holschuh wrote: > >> It is, if all eth's are conneted to the same network. Google "weak > >> host model". > > > Indeed. It is also annoying as all heck, as it is almost never what > > you want nowadays. Oh well... > > Annoying? I don

Re: kernel announcing ip address on wrong interface

2014-10-03 Thread Sven Hartge
Henrique de Moraes Holschuh wrote: > 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

Re: kernel announcing ip address on wrong interface

2014-10-03 Thread Sven Hartge
Andreas Pflug wrote: >>> auto backbone >>> iface backbone inet static >>> address 192.168.0.1 >>> netmask 255.255.255.0 >>> bridge_ports bond0 >>> eth0 has a mac address of x.x.x.x.x.01, eth1/2 y.y.y.y.y.02 Now I >>> randomly observe on the firewall (freebsd based) the message >>> "kernel:arp:

Re: kernel announcing ip address on wrong interface

2014-10-03 Thread Andreas Pflug
Hi Sven, Am 03.10.14 um 16:13 schrieb Sven Hartge: > Andreas Pflug wrote: >> Using the 3.2 kernel, I have the strange situation that an ip address >> moves to an unconfigured interface. >> network/interfaces looks like this: >> auto eth0 >> iface eth0 inet manual >> up ifconfig eth0 promisc up

Re: kernel announcing ip address on wrong interface

2014-10-03 Thread Henrique de Moraes Holschuh
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 in

Re: kernel announcing ip address on wrong interface

2014-10-03 Thread Sven Hartge
Andreas Pflug wrote: > Using the 3.2 kernel, I have the strange situation that an ip address > moves to an unconfigured interface. > network/interfaces looks like this: > auto eth0 > iface eth0 inet manual > up ifconfig eth0 promisc up > auto eth1 > iface eth1 inet manual > up ifconfig eth1

kernel announcing ip address on wrong interface

2014-10-03 Thread Andreas Pflug
Using the 3.2 kernel, I have the strange situation that an ip address moves to an unconfigured interface. network/interfaces looks like this: auto eth0 iface eth0 inet manual up ifconfig eth0 promisc up auto eth1 iface eth1 inet manual up ifconfig eth1 promisc up auto eth2 iface eth2