LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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


Reply
  Search this Thread
Old 03-04-2010, 01:19 AM   #1
sharpsanjay
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Multiple IP interface creation with down status


Hi,
I have to implement hardware redundancy.I have 2 linux machine for this and each have similar configuration/hardware. Lets say two machine Linux1 and Linux2. Currently Linux1 have one NIC and it has 4 IP address bind on it. Now I have to down the Linux1 and up Linux2 with same Ip addresses.
Could it possible to configure all the Ip (same)address on both Linux1 and Linux2 and Linux1 have eth:x status UP while Linux2 have eth:y status down.
I am trying it but on Linux2 machine I cant able to create multiple Ip interfaces with down status. Could you please suggest me regarding this.
Thanks a lot.
 
Old 03-04-2010, 06:06 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 24,129

Rep: Reputation: 7110Reputation: 7110Reputation: 7110Reputation: 7110Reputation: 7110Reputation: 7110Reputation: 7110Reputation: 7110Reputation: 7110Reputation: 7110Reputation: 7110
Quote:
Originally Posted by sharpsanjay View Post
Hi,
I have to implement hardware redundancy.I have 2 linux machine for this and each have similar configuration/hardware. Lets say two machine Linux1 and Linux2. Currently Linux1 have one NIC and it has 4 IP address bind on it. Now I have to down the Linux1 and up Linux2 with same Ip addresses.
Could it possible to configure all the Ip (same)address on both Linux1 and Linux2 and Linux1 have eth:x status UP while Linux2 have eth:y status down.
I am trying it but on Linux2 machine I cant able to create multiple Ip interfaces with down status. Could you please suggest me regarding this.
Thanks a lot.
Sounds like a homework assignment.

What version/distro of Linux are you using? What kind of hardware? What are you using for failover between the boxes? What services are running that you need to have continue?

There are things that make no sense in this configuration:
  1. One NIC, with 4 IP addresses? What's the point? You have a single point of failure, so if that one NIC fails, any addresses go with it.
  2. Same configured on another box? Again, what's the point? Same single point of failure.

If you're going to make it redundant, what are you using to fail over between the two? Whatever you're using could easily be modified to create the interfaces, give them addresses, and even change the MAC address info, so you won't get ARP table problems. On some distros, there are interface configuration files that you can edit, so they can be present, but have whatever properties you want. Since you don't say the distro, hard to tell you where to look, but they'll be under /etc.
 
Old 03-04-2010, 11:09 PM   #3
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Rep: Reputation: 15
Lightbulb

If you are using OS RHEL or CentOS then you need to implement RHEL cluster suite. In this cluster suit you need to assign VIPs(Virtual IPs) for solving this situation for more info about RHEL cluster suit have a look in this link.

http://www.redhat.com/docs/en-US/Red...iew/index.html

Hope this will solve your problem.

Regards
Charanjit Singh
 
Old 03-04-2010, 11:38 PM   #4
sharpsanjay
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
its prototyping to simulate some real time operation of tele communication.
The need of such configuration is to make the redundant unit.so that in case of up gradation of BOX1, box2 can take charge either manually or automatically(by health monitoring) and vice varsa.
y i used multiple IP on same physical port is due to differentiate the nature of data.
I am using red-hat for simulation but finally I have to implement it on some MIPS processor.
 
  


Reply


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
How NET_TX_SOFTIRQ select network interface when multiple interface exits Mr.J Linux - Kernel 0 06-02-2009 11:17 AM
interface status suresh_rupineni Linux - Kernel 3 08-14-2006 09:28 AM
Network Interface Status ejtbrown Programming 5 08-04-2006 01:12 AM
interface connectivity status suresh_rupineni Linux - Software 3 07-26-2006 12:00 AM
User Interface Creation Tools Chryzmo Linux - Software 4 04-18-2004 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:17 PM.

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
Open Source Consulting | Domain Registration