Add Secondary IP Address to Centos

Just create a new interface file with a colon and a number.

/etc/sysconfig/network-scripts/ifcfg-eth0:1

DEVICE=eth0:1
BOOTPROTO=static
IPADDR=192.168.0.5
ONBOOT=yes

Was this answer helpful?

 Print this Article

Also Read

VNC ( Virtual Network Computing )

VNC is used to display an X windows session running on another computer. Unlike a remote X...

Resetting a lost MySQL root password

The MySQL root password allows full access to the MySQL database and allows for all actions to be...

CentOS Directory Server, Basic Install

Prerequisites This guide is written to assume that you have a minimal install of CentOS-5.x....

Create custom SSH login welcome message

If you like to change the default welcome message for SSH login for your VPS or dedicated Linux...

Securing OpenSSH

OpenSSH (or Secure SHell) has become a de facto standard for remote access replacing...