Solved

Virtual IP/IP Aliasing...

Posted on 2000-03-16
3
277 Views
Last Modified: 2013-11-15
Can I assign 2 IP addresses to one interface? We are moving some systems around, and one box is now taking on the responsibility of what was previously 2 boxes. I want all the PCs on the network trying to hit the old IP address to hit the new box, although the new box has a new IP... that sounds confusing. Here's an example:

Machine A = 192.168.1.1
Machine B = 192.168.1.40

Machine B is now out of service. Machine A has taken over it's duties. People hit this machine by IP address. In the interim, we'd like anyone going to 1.1 OR 1.40 to hit Machine A, 192.168.1.1

Is this possible? Under linuxconf (Using RedHat 6.1 btw) I saw a section for IP Aliasing, and I added the new address to it, but I cannot ping/telnet to/etc the new 'aliased' address. Any ideas?

0
Comment
Question by:edskee
  • 2
3 Comments
 

Accepted Solution

by:
owld earned 50 total points
ID: 2626550
Yes , sure.
Just do it :

#cd /etc/sysconfig/network-scripts
#> ifcfg.eth0:0
# vi ifcfg.erh0:0

DEVICE=eth0:0
BROADCAST=192.168.1.255
IPADDR=192.168.1.40
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes




0
 

Expert Comment

by:owld
ID: 2626556
Egh, some errors =)

the line
#vi ifcfg.eRh0:0
must be
#vi ifcfg.eth0:0
0
 
LVL 2

Author Comment

by:edskee
ID: 2629039
Thanks, it did exactly what I wanted it to!
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We planned to use NetApp's SnapManager for Exchange (SME) to make three snapshots a day for quick recovery. Additional we planned to use Symantec NetBackup7 to backup to tape media for disaster recovery. We followed the best practice guide from NetA…
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question