In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you the use of VMware cloning of the centos7 virtual machine network card configuration can not find a problem, I hope you will learn something after reading this article, let's discuss it together!
Background
The newly cloned virtual machine ifconfig shows the configuration of the Nic as follows:
You can see that the name of the network card is ens33. Enter the network card configuration file directory. There is no ens33 network card configuration, only the default eno16777736 of centos7.
Take a look at the configuration.
Solution.
Note that the configuration name of the network card has been changed to eth0 to perform the following operations. There are three changes altogether. The first place is the network card name: / etc/sysconfig/network-scripts/ifcfg-eth0, the second place is in the configuration file: NAME=eth0, and the third place is also in the configuration file: DEVICE=eth0
At first, I used dhcp to dynamically allocate ip. In order to prevent changes to ip, I modified and added the following configuration
The value of HWADDR must always be the same as that of eth0, otherwise the startup of the network card will fail.
Modify / etc/sysconfig/grub to add net.ifnames=0 biosdevname=0
Restart the system reboot and it will take effect.
After reading this article, I believe you have a certain understanding of "what to do if you can't find a problem with the configuration of the centos7 virtual machine network card cloned by VMware". If you want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Whsle wholesale Cheap discount,Authentic Authentic Jordan 1 Shoes Discount Authentic Air Jordan Shoe
© 2024 shulou.com SLNews company. All rights reserved.