As a result of work, you need to configure three IP addresses for a server with only two network ports. The system is linux.
Now we will sort out the process as follows. If you leave it for later use, you can also refer to it.
IP1: 10.110.97.68
IP2: 10.115.20.68
IP3: 10.116.20.68
10.115.000068 is configured on eth2 and 10.110.97.68 is configured on eth3.
Now you need to configure 10.116.20.68 to eth2.
First we copy the configuration file of eth2 and name it ifcfg-eth2: 1
[Root @ iucs network-scripts] # cp ifcfg-eth2 ifcfg-eth2: 1
Delete most of the content in the configuration file and keep the following content.
After setting the IP address and subnet mask, you can report an error file.
To verify availability, restart the server. If the configuration is correct, you can use the ifconfig command to view the NIC information.
If you can see this, the configuration is completed theoretically, and the rest is nothing more than setting routing and other information.