Search

Search:

Sometimes you need to add more than one IP to a NIC (i.e. Network Interface Controller), this situation occurs when you need to support two or more separate networks with one server. In this article, we are going to add an extra IP to one NIC in CentOS 7.
At first, we need to know the NIC name and to find it out, login as root user and insert the following command:
ip a
Here's an example of the output:
As you see in the output, the NIC name used for this demonstration is eno16777984 and the IP is 185.94.191.114. To change the NIC IP or to add more IPs, we should open the...