Solved

Add another ip address to an network interface and keep the setting after reboot

Posted on 2004-10-18
1
532 Views
Last Modified: 2013-12-27
Hi,

We setup the another ip address to access the same server:

ge0 --interface for original ip
ge0:1 --interface for additional ip

we have /etc/hosts and /etc/hostname.ge0 for the the original ip; but every time after system reboot, we lost the second address and have to add it again. I found out we don't have a file named /etc/hostname.ge0:1 (this ip is listed in /etc/hosts), is this what we need to do now to create a file named hostname.ge0:1. Which one is the correct file name: hostname.ge0:1 or hostname:ge0:1? Thanks
0
Comment
Question by:ebi168
1 Comment
 
LVL 4

Accepted Solution

by:
Otetelisanu earned 250 total points
ID: 12341268
edit/create a file /etc/hostname.ge0:1 with only a hostname, and add this hostname with ip address in hosts file, and it will work after reboot too
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

828 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