Host is XP, dual network card, one connected to the Internet, the other connected to the internal production network, by pulling back and forth the network cable, to switch between different networks (not allowed to connect two networks). The Internet-connected network card is Realtek Rtl8169,ip is the 192.168.1.88, Internet via a broadband router. Two virtual machines were built on the VMware Workstation8, one XP and one Linux. When a virtual machine uses NAT or host-only+ to share an Internet connection, it is able to surf the internet, but it does not use a bridging method. The test results are shown in the following table (if not fully displayed, please download the attachment and open it directly):
VMware Network |
Homestay Host |
Virtual machines |
|
|
Way |
Set up |
Set up |
|
|
Ping virtual machines |
Ip |
Subnet mask |
Gateway |
Dns |
|
|
Ping Host |
Ping 192.168.1.1 |
Ping www.baidu.com |
Bridge connection |
|
ip:192.168.1.88 Mask: 255.255.255.0 gateway: 192.168.1.1 dns:110.98.98.98 |
—————————— |
—————————— |
Wildcard |
192.168.1.11 |
255.255.255.0 |
192.168.1.1 |
192.168.1.1 |
—————————— |
—————————— |
Wildcard |
Not through |
Not through |
Host-only |
vmnet1:192.168.142.1 dhcp:192.168.142.128~254 |
PING 192.168.142.1 Pass |
—————————— |
Wildcard |
192.168.142.128 |
255.255.255.0 |
—————— |
192.168.142.1 |
Ping 192.168.142.1 Pass |
—————————— |
Not through |
Not through |
Not through |
VMNET1:192.168.0.1/24 turn on Internet tethering for internet disable DHCP |
Ping 192.168.0.1 Pass |
—————————— |
Wildcard |
192.168.0.11 |
255.255.255.0 |
192.168.0.1 |
110.98.98.98 |
Ping 192.168.0.1 Pass |
—————————— |
Wildcard |
Wildcard |
Wildcard |
Nat |
VMNET8:192.168.214.1/24 Gateway ip:192.168.214.2 dhcp:192.168.214.128~254 |
PING 192.168.214.1 Pass |
Ping 192.168.214.2 not pass |
Wildcard |
192.168.214.128 |
255.255.255.0 |
192.168.214.2 |
192.168.214.2 |
PING 192.168.214.1 Pass |
Ping 192.168.214.2 Pass |
Wildcard |
Wildcard |
Wildcard |
1, just beginning, suspect is the host double network card reason, the designated VMnet0 Bridge network card for Realtek RTL8169, or not.
2, the second suspicion is the cause of broadband road, so the host to the production network to test, is not. The reason for the broadband router can be ruled out.
3, carefully check the setting of the various settings, have not found the problem. In addition, in my home computer with the same settings, the virtual machine on the Internet is no problem, so the settings should be no errors.
4, serious analysis: When the virtual machine adopts the automatic acquisition of IP (Broadband router 192.168.1.1 provides DHCP service), can obtain the IP, and the broadband router can detect the IP of the virtual machine. In addition, the IP of the virtual machine directly pings from the host 192.168.88 can ping each other. These all show that the bridge network card is not a problem, the network is also through, but the virtual machine and the other hosts within the LAN (including Gateway 192.168.1.1) between the ping, let alone ping Baidu and other sites.
5, check the firewall settings, but also did not find the problem; simply shut down the host and the virtual machine's firewall, also does not solve the problem.
6, so from the Internet search for the solution to this problem. One of the articles mentioned that the bridge network card and the actual network card name differences, resulting in the inability to surf the internet. I also carefully checked the network settings in VMware, bridging the NIC Realtek RTL8169 back there are shareshield filter words, suddenly think is not installed the reason for sharing the aegis of it? A few years ago, CRC was always restricting access to multiple computers on a broadband account. In order to crack this limit, the shared Aegis is installed. Now, there is no limit, but the software has not been uninstalled. Think of it and immediately uninstall the shared Aegis. One more try and the problem is solved. I did not expect that all this is to share the scourge of God Shield!
VMware virtual machines do not have access to the Internet by bridging-they are the bane of the shared Aegis!