When I ping the ip of the machine in the Linux system of the virtual machine, I found that the ping is unreachable, and the machine can ping the ip in the virtual machine. It should be for security reasons, Win7 is disabled by default in the firewall.
1. View host ip
Open “Start”"attachment" in the program, find “command prompt”open. Enter the command: ipconfig, you can see that the ip of the machine is 192.168.0.111, the gateway is 192.168.0.1
2, check the ip
of the system in the virtual machine in the ubuntu system Open the terminal, enter the command: ifconfig, note: the ipconfig command under windows system is a letter. You can see that the ip address is: 192.168.0.101
3. Ping the ip in the virtual machine system in this machine
Enter the command at the command prompt: ping 192.168.0.101 , see that the ping has been pinged, and the packet is received normally.
4. Ping the ip of the machine in the virtual machine system
Enter the command in the terminal: ping 192.168.0.111, and wait for a long time without pinging.
5. Ping the gateway in the virtual machine system
Because the ping fails, check if the gateway can ping. If the gateway can ping, the problem is that the settings on this machine may prevent others from pinging it. Enter the command at the terminal: ping 192.168.0.1, and you can see that the gateway can be pinged normally.
6. Modify the firewall settings in this machine (win7)
1). Open the Control Panel and click on the “System and Security” option. Then open “Windows Firewall”.
2). Click to enter “Advanced Settings", select “Inbound Rules”.
3). Find the "File and Printer Sharing (Echo Request - ICMPv4-In)" option in the Getting Started Rules.
See two items. Both are not enabled. Right click on the two items and select “Enable Rules”.
7. Ping the ip of the machine in the virtual machine system
After the modification is completed, return to the virtual machine system and enter the command in the terminal: ping 192.168 .0.111, you can see that it can be pinged normally.
Note: The command to view ip in linux system is ifconfig, and the command to view ip in windows system is ipconfig.
Related recommendation:
Resolve Win7 can not lock the program to the taskbar or attach to the start menu
win7 computer can not find the system administrator Administrator account solution
in the hard disk of win7 system computer, we will see c disk, D disk, E disk, F disk, sometimes it c
In life, there are more and more software on the desktop of the computer. It is more and more diffic
If your system is WindowsXP, then download Microsoft Yahoo, and if you find that some of the pages
July 25 news, after the foreign media reporter exposed Microsofts official Win10 system U disk spy p
Win10 restores all files in the recycle bin to solve the problem of accidentally deleting files.
How does Win10 open the window animation slow motion effect?
What if Windows Anytime upgrade cannot create a restore point?
Upgrade win10 RTM official version c disk space is not enough to solve
How to query the version number of Win8 system? Win8 system quick view version number method
Making Windows 10 system U disk installation disk to install Win10 system
How does Win10 create a temporary WiFi hotspot? A few commands to help you get it
Win7 microphone no sound how to set
Can't upgrade Win10 official version TH2 how to do? Win10 th2 installation error solution summary
Win7/8.1 seamless straight Win10 Build 9926 tutorial
Win10 first anniversary update 14332 Microsoft official ISO image download
Win10 system installed MacBookPro no sound solution
Win8 Windows Firewall Setting Tips Keep away from third-party fighter protection software
Add Jianling Assistant Tencent Game Platform 1.2.5 official version update
Introduction to Linux Process Knowledge
How to cancel the restart prompt in Windows7?
Some common data backup methods
Windows server 2008 Remote Desktop Connection Modification - Unlimited Connection
Teach you how to do disk cleaning