Removing a Public IPv4 Address from a Linux Server (Ubuntu)

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

Prerequisites:

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

Step 1

Log in to the server.

Step 2

Delete the corresponding entries from /etc/network/interfaces.

Step 3

Restart the network service.

/etc/init.d/networking restart