Solved

Virtual IP/IP Aliasing...

Posted on 2000-03-16
3
275 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Problem We are doing a daily copy of data in file system in Linux manually and I want to automate the same . We need many features in this automation:    1. We want to be able to exit in case of errors    2. We want the copy to happen via …
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now