I am setting up a SUSE 11 box that has two NICs:
eth0 - 192.168.10.150/24 - 00.0C.29.DC.10.CA (MAC) eth1 - 192.168.10.151/24 - 00.0C.29.DC.10.DE (MAC)
I need both in the same subnet since they will ne connected to another device (storage) point to point. But I found something while doing the installation; doing ARPs from a workstation I found the behavior below
[root@workstation ~]# arp -n Address HWtype HWaddress Flags Mask Iface 192.168.10.151 ether 00:0C:29:DC:10:CA C eth0 192.168.10.150 ether 00:0C:29:DC:10:CA C eth0
as you can see it's like eth0
gets all the requests. In fact if I disconnect the cable from eth1
IP .151
will be still pingable; which is not what I want. And if I disconnect the cable from eth0
none of the IPs .150 - .151
are pingable, when .151
should still be accessable.
Why is this happening? I need eth0
to bind only to .150
and eth1
to bind only to .151
. It seems like eth0 owns the IPs.
This is not working:
net.ipv4.conf.all.arp_ignore=1
net.ipv4.conf.all.arp_announce=2
neither is this
net.ipv4.conf.default.arp_filter=1
net.ipv4.conf.all.arp_filter=1
Any suggestions?