Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Virtual IP/IP Aliasing...

Posted on 2000-03-16
3
Medium Priority
?
285 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 200 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
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…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
Suggested Courses

580 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