Solved

Virtual IP/IP Aliasing...

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Replication has always been one of those technologies that people run scared from. The main reason is usually cost. When you think of replication, your mind drifts to solutions that replicate from one disk frame to another using block level technolo…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

705 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

21 Experts available now in Live!

Get 1:1 Help Now