The ping from the VM and the host fails. the computer is Windows 7. enter ipconfig on the command line. The data is as follows:
Windows IP configuration wireless LAN adapter wireless network connection 2: connection specific DNS suffix .......: Local IPv6 address ........: fe80: 3d17: b62a: fcef: 52f % 15 IPv4 address ............: 192.168.0.100 subnet mask ............: 255.255.255.0 Default Gateway .............: 192.168.0.1 Ethernet adapter Local connection 2: Media status ............: The media has been disconnected from the specified DNS suffix .......: Ethernet adapter VirtualBox Host-Only Network: connection-specific DNS suffix .......: Local IPv6 address ........: fe80: 416e: 3fa9: 8aac: ab5c % 21 automatic IPv4 address configuration .......: 169.254.171.92 subnet mask ............: 255.255.0.0 default gateway .............: Ethernet Adapter VMware Network Adapter VMnet1: connection-specific DNS suffix .......: Local IPv6 address ........: fe80: f4bd: 2631: 7aa1: 5cf5% 23 IPv4 address ............: 192.168.15.1 subnet mask ............: 255.255.255.0 Default Gateway .............: Tunnel adapter isatap. {D173F109-522F-4D59-BCB4-4C230975B9C7}: Media status ............: The media has been disconnected from the specified DNS suffix .......: Tunnel adapter Teredo Tunneling Pseudo-Interface: Media status ............: The media has been disconnected from the specified DNS suffix .......: Tunnel adapter isatap. {D0057A4F-D19D-4EF4-A6DC-F7F75E7100A6}: Media status ............: The media has been disconnected from the specified DNS suffix .......: Tunnel adapter isatap. {3870EFF9-2086-4F94-9E50-14281E1DC114}: Media status ............: The media has been disconnected from the specified DNS suffix .......: Tunnel adapter isatap. {5C1BC7D6-B8F2-4812-9466-A95CA82DE8AC}: Media status ............: The media has been disconnected from the specified DNS suffix .......:
So I set the ip address of the VM to the same network segment as the host.
DEVICE=eth0ONBOOT=yesBOOTPROTO=staticIPADDR=192.168.0.2NETMASK=255.255.255.0BROADCAST=192.168.0.255NETWORK=192.168.0.0GATEWAY=192.168.0.254
The network connection of the virtual machine is also set to a bridge. why is the ping failure? Hope you can solve this problem !!!!
Reply to discussion (solution)
This is a good solution !!!
Done. just turn off the unnecessary NIC driver.
How can this problem be solved?