Solved

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

Posted on 2004-10-18
1
527 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.

757 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

21 Experts available now in Live!

Get 1:1 Help Now