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/01 Report--
This article introduces the relevant knowledge of "VMware cannot connect to the network after installing CentOS6.5". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
VMware is a virtual machine that supports a variety of popular systems. We can install other systems in the VMware virtual machine to meet personal needs, but after installing CentOS6.5 for VMware, we cannot connect to the network. What is the reason for this? The following editor will introduce to you the solution that CentOS6.5 can not connect to the network in VMware.
Main reasons:
The eth0 file is configured with an incorrect address.
The correct configuration method is as follows:
1. Make sure the virtual network card (VMware Network Adapter VMnet8) is turned on, and then type on the command line of Windows
Enter "ipconfig" and find the ipv4 address of VMware Network Adapter VMnet8 for example: 192.168.78.1)
two。 Check whether the network configuration of CentOS in the virtual machine is NAT
3. Modify / etc/sysconfig/network-scprits/eth0 file
The IP value of the BROADCAST must be consistent with the ip in the VMNET8 and the last bit must be 255
The IP value of the IPADDR should be consistent with the ip in the VMNET8 and the last bit must be an arbitrary value of 1-255.
The IP value of GETWAY should be the same as that of ip in VMNET8 and the last bit is 2.
Eg:
My native ip is 192.168.78.1, so the correct configuration is:
BROADCAST=192.168.78.255
IPADDR=192.168.78.1
GETWAY=192.168.78.2
4. After configuration, enter the command "service network restart" to restart the network service.
5. Use the "ping" command to see if you can connect to the Internet.
This is the end of the content of "what to do if VMware cannot connect to the network after installing CentOS6.5". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.