How do I manually add a second IP address to my CentOS installation?

If you have purchased a second ip address for your Centos installation and need to add the new static ip address, follow these simple steps:

Create the following file:


And inside this file add the following contents, be sure to replace with your new ip address:


Once completed, activate this and restart networking with the following commands:

# ifup eth0:1
# service network restart


  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

Where can I find the MySQL root password for the Webuzo Stack?

The default MySQL root password for the Webuzo Stack/Softaculous is found in this...

PHP and Apache Settings with Virtualmin

The PHP configuration can be edited via Webmin here:Webmin->Others->PHP configuration...

How do I enable different Apache modules with Webuzo?

Some modules are disabled by default in the Apache config which is provided by Webuzo .  You can...

How Do I Install a GUI with CentOS 6?

If CentOS has already been installed without a graphical interface, you can install this with the...

How do I add a second IP address within Virtualmin?

Once our support staff has allocated a secondary IP address to your virtual server, you can add...