alias network interface (consolidating 3 interfaces on a server)

Posted on 2008-11-08
Last Modified: 2013-12-27
I inherited a Solaris 8 server from the previous administrator & this server has
3 active NIC interfaces with following IP addresses :

hostname.qfe0 :
hostname.qfe1 :

All of them has the same network mask      &
the same gateway

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/ file to remove/create/modify)

Suppose this should not be too difficult as all the IP addresses are in the same
Question by:sunhux
    LVL 68

    Accepted Solution

    LVL 3

    Assisted Solution

    it is very simple.  Add the hostnames in 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
    LVL 40

    Assisted Solution


    Author Comment

    Anyone foresee any possible issues that I may have overlooked,
    example any scripts/applications that may have hardcoded IP addr
    or interface names?
    LVL 40

    Assisted Solution

    do you have any monitoring tools / scripts on the system?

    Author Closing Comment

    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    760 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

    9 Experts available now in Live!

    Get 1:1 Help Now