?
Solved

secondary permanent address

Posted on 2003-03-21
1
Medium Priority
?
547 Views
Last Modified: 2008-02-20
how can i specify a permanent secondary address on linux 8.0 as i am having problems specifying it. I am able to specify a temporary one i.e when restarted it goes off.....
0
Comment
Question by:ajavid
[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 3

Accepted Solution

by:
hnminh earned 300 total points
ID: 8185383
you can do it manually by these steps:

- make a copy of /etc/sysconfig/network-scripts/ifcfg-eth0 in the same place and name it ifcfg-eth0:0. I.E. you will have 2 file ifcfg-eth0 and ifcfg-eth0:0 in /etc/sysconfig/network-srcipts
- Open the new created file change these field
----------------------
DEV=eth0:0
IPADDR=x.x.x.x
NETMASK=y.y.y.y
BOOTPROTO=static
ONBOOT=yes
----------------------
any other fileds if exist could be safely deleted.

Here I assume that eth0 is the interface where you want to add the secondary IP, eth0:0 is device for new IP. After making changes, restart network service for new configuration applied.

Hope it help!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month8 days, 15 hours left to enroll

764 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