LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Closed Thread
 
Search this Thread
Old 02-09-2008, 07:12 AM   #1
skhira
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Rep: Reputation: 0
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
 
Old 02-09-2008, 08:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping IP addresses to MAC addresses basilio Linux - Networking 17 09-12-2007 02:48 AM
Lan subnet and mac addresses firewall Ungluun Linux - Networking 1 12-20-2006 11:18 AM
2 nics getting base addresses confused skbranch3 Slackware 2 05-31-2006 03:42 PM
Binding multiple IP Addresses to same NIC Harlin Linux - Networking 4 10-26-2005 06:10 AM
Binding multiple IP addresses to a nic card Natalie Linux - Networking 9 08-12-2003 09:27 PM


All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration