Removing a Public IPv4 Address from a Linux Server (CentOS 6)

To remove a public IPv4 address from a Linux server, proceed as follows:

Prerequisites:

You have unassigned the additional public IPv4 address in the Cloud Panel.

Step 1

Log in to the server.

Step 2

Delete the Ethernet alias.

rm /etc/sysconfig/network-scripts/ifcfg-eth0:0