In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how VM12 virtual machines use bridging mode but do not connect to the Internet. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
There is a problem when writing computer network jobs: the IP, subnet mask and default gateway of the virtual machine are set to be the same as the host, but the dead or alive ping is not connected to the external network and the internal network.
After messing around all night, I finally know what the problem is.
Just change the setting for VMnet0 in VM's virtual network editor:
1. Go to VMware Editor-> Virtual Network Editor.
two。 Select to change the settings.
3. Change the network card bridged by VMnet0 (or other type of network adapter in bridging mode) from the default "automatic" to the network card connected to the Internet (see figure).
4. Since I connect to the network through WIFI, I choose the WLAN interface (high-pass network card), and those who use the network cable choose the corresponding interface for local connection (if it is not clear which interface can go through: control Panel-> Network and Internet-> Network and sharing Center-> change the adapter settings. To see which interface is connected to the network)
In a word, the "automatic" of VM is not automatic at all, and we still need to manually configure the corresponding interface of the virtual bridge. My notebook is connected to WLAN, so I choose the appropriate adapter (this machine is a Qualcomm high-pass network card, the reader adapts).
Then you can turn on the ping (of course, the ping party has to turn off the firewall first. )
Thank you for reading! This is the end of the article on "how the VM12 virtual machine uses the bridge mode but does not connect to the Internet". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.