In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Today, a centos machine of the virtual machine is cloned, and the network is blocked and ping can not be connected to the external network. Write down the resolution process here:
After the virtual machine is cloned, we will encounter the problem: the 1.MAC address is the same as 2.IP, and the 3.eth0 configuration file exists, but using ifconfig-a to view can only see eth2 4. Unable to connect to the external network, indicating that the domain name cannot be resolved: 1. To change the MAC address, follow these steps:
1) Open the virtual machine settings, locate the network adapter, and select the advanced options.
2) Click generate to change the mac address. And copy the backup, click OK.
3) enable the virtual machine. After logging in, open the configuration file of eth0, and the network card must be the same as the one just generated.
two。 Next, delete the 70-persistent-net.rules file under the device manager, which will be automatically generated after deletion and restart.
Rm-rf / etc/udev/rules.d/70-persistent-net.rules
3. Then restart the service.
Init 6 will be ready for use in the test network after startup.
Modify hostname
Start a newly cloned virtual machine such as A.hostname slave2 B.VIM / etc/hosts C.vim / etc/sysconfig/network/
Modify the ip and mac addresses of the cloned virtual machine
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
© 2024 shulou.com SLNews company. All rights reserved.