Why Does the NIC Names Change After I Start a Linux ECS?
Scenarios
After an ECS running CentOS 6 created using a private image starts, the first NIC is named as eth0, rather than eth1.
This solution provided in this section involves restarting the ECS. Restarting the ECS will interrupt services running on it. Exercise caution when performing this operation.
Possible Cause
The /etc/udev/rules.d/70-persistent-net.rules file still records the mappings between NICs and MAC addresses in the private image. You need to disable the rules.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot