Solved

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

Posted on 2004-10-18
1
535 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

707 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