Solved

Virtual IP/IP Aliasing...

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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

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.
Microsoft will be releasing the Windows 10 Creators Update in just a matter of weeks. Are you prepared? Follow these steps to ensure everything goes smoothly and you don't lose valuable data on your PC.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

840 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