Problem Description: after multiple NICs are added to the centos VM in vm11, the added Nic cannot be used normally. The solution is as follows: 1. you must add a Nic when the instance is shut down. You cannot set the Nic you want to add when the VM is running. delete the NIC and try again. & Nbs
Problem Description: after multiple NICs are added to the centos VM in vm11, the added Nic cannot be used normally.
The solution is as follows:
1. you must add a Nic when the instance is shut down. You cannot set the Nic you want to add when the VM is running. delete the NIC and try again.
2. view and record the uuid of the new Nic after the instance is started
# Nmcli conn
Note that the nic name here is different from the result of using ifconfig or ip add.
3. copy and edit the Nic configuration file:
# Cd/etc/sysconfig/network-scripts/
# Cp ifcfg-eno16777736 ifcfg-eno33554984
# Vim ifcfg-eno33554984.
UUID = 4d04259c-3ae0-49ac-a440-152803673a77
DEVICE =
NAME =
4. restart the service to take effect.
# Systemctl restart network