alias network interface (consolidating 3 interfaces on a server)

I inherited a Solaris 8 server from the previous administrator & this server has
3 active NIC interfaces with following IP addresses :

hostname.qfe0 : 10.51.1.41
hostname.qfe1 : 10.51.1.42
hostname.hme0: 10.51.1.23

All of them has the same network mask 255.255.255.0      &
the same gateway 10.51.1.254.

This setup doesn't look right as there are 3 physical cables connected up
& all 3 NICs are active/Up.

I'll need to reduce them to one NIC but users/scripts should still be able to access
all 3 IP addresses.  I heard this can be achieved by defining alias.

How do I go about doing this?  Appreciate step by step instruction (eg, which
/etc/hostname.xxx file to remove/create/modify)

Suppose this should not be too difficult as all the IP addresses are in the same
subnet
sunhuxAsked:
Who is Participating?
 
woolmilkporcConnect With a Mentor Commented:
0
 
SaranyakkaliConnect With a Mentor Commented:
it is very simple.  Add the hostnames in hostname.xxx mention same in /etc/hostnames and if any changes in netmasks or default router change it.... Final steps bring down interfaces ifconfig xxx down re up the interfaces it pike up new ip and new name.,,
Ifconfig -a shows ip and host name for each interface
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
sunhuxAuthor Commented:
Anyone foresee any possible issues that I may have overlooked,
example any scripts/applications that may have hardcoded IP addr
or interface names?
0
 
omarfaridConnect With a Mentor Commented:
do you have any monitoring tools / scripts on the system?
0
 
sunhuxAuthor Commented:
Ok, thanks Omar, I'll take care of the CA Unicentre monitoring tool in case it triggered alarm.  As for scripts, I'm not sure .....  this system was set up by the administrator who is 3 generations earlier than me in 2001
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.