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

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

Requirement

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

  • Log in to the server.

  • Delete the Ethernet alias.

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