LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 (http://www.linuxquestions.org/questions/linux-networking-3/binding-2-nics-mac-addresses-to-2-ip-addresses-in-same-subnet-redhat-el4-0-a-619871/)

skhira 02-09-2008 06:12 AM

Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0
 
Hi,

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,
Sandeep

acid_kewpie 02-09-2008 07:17 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 08:57 PM.