Deploy the server last night. There is a small network of virtual units in proxmox ve. If you encounter a problem with the VM Nic, remember
The virtual machine requires two bridge cards, one Internet and one Intranet (yes, we have many public IP addresses ). Then the added Nic, and then deleted the NIC, and added the NIC (it is a problem to add, delete, add, or delete the NIC.
1. the physical address of the NIC under centos is lost.
The physical NIC address (hwaddr) in the/etc/sysconfig/network-scripts/ifcfg-eth * configuration file of the centos virtual machine is lost. You can't find it when you restart it.
Solution:
Vim/etc/udev/rules. d/70-persistent-net.rules
It stores the NIC information recognized by centos and the binding of the System File ETH. Just follow the modification.
2. The virtual network card added by proxmox cannot be updated by centos, or the old network card-.-Is because I keep reboot in centos. This operation is not effective. You need to stop the VM from the proxmox page and then click Enable ~~
----- By DP