Your Webhosting Questions
Answered by the Webhosting Experts

How do I add additional alias IP addresses in CentOS or Fedora?

The steps to add additional IP’s are:

Login into the server as the root user:

Change to /etc/sysconfig/network-scripts directory
cd /etc/sysconfig/network-scripts

Assuming that the network interface name is eth0

cp ifcfg-eth0 as ifcfg-eth0:1

Edit the ifcfg-eth0:1 file and change the DEVICE parameter to DEVICE=eth0:1

Change the other parameters in the file such as IPADDR to the new IP address.

After this restart the network service:
service network restart

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +