Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0
I want to use simple configuration.
I want to bind IP1 with eth0 (MAC1) and IP2 with eth1 (MAC2),
I am RH Linux 4.0, with kernal 2.6
The issue in such a configuration is that, only one interface remains active at a time. AS Linux is assigning same MAC address to both IP addresses, i have verified it using arping.
Here eth0 and eth1 are connecting to different switches, IP1 and IP2 are in the same subnet.
I want ping results in such a way
using eth0 interface
ping IP1 should work
ping IP2 should not work
using eth1 interface
ping IP1 should not work
ping IP2 should work
and I should get correct MAC address for arping.
I have tried many things, but nothing works.
Please help me in this, if it is a known issue.
Thanks in advance,