When adding a NIC, the profile of the CP NIC is generally manual, resulting in a hwaddr mismatch. Workaround: Delete the hwaddr line in the configuration file, and use the ifconfig eth0|grep hwaddr command to view the eth0 corresponding network card mac and write it to the corresponding configuration file. Restart the NIC service network restart.
Run the config command to display the ETH to correspond to the configuration file name and the name value.
The/etc/udev/rules.d/70-persistent-net.rules file is a network card file that is automatically generated by the system. There is information about the NIC name and MAC address. After adding the NIC and CP profile to empty the information in the 70-persistent-net.rules and restart the computer reboot (service network restart is not valid), the first backup CP 70- Persistent-net.rules 70-persistent-net.rules.bak.
This article is from the "Li Yijie" blog, make sure to keep this source http://lyjbog.blog.51cto.com/4317657/1662155
Linux NIC issues in VMS