How does the Win7 system cancel the ping order?

Source: Internet
Author: User
Tags firewall

1, view the host IP

Open the attachment in the start program and find the command prompt open. Input command: ipconfig, you can see this computer IP is 192.168.0.111, gateway is 192.168.0.1

2. View the IP of the system in the virtual machine

Open the terminal in the Ubuntu system, enter the command: ifconfig, note: And the Windows system under the ipconfig command 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

At the command prompt, enter the command: Ping 192.168.0.101 and see that you have ping and receive the packet normally.

4, in the virtual machine system ping native IP

Enter the command in the terminal: Ping 192.168.0.111, wait for a long time also did not ping pass.

5, in the virtual machine system Ping Gateway

Because the ping does not pass, see whether the gateway can ping pass. If the gateway can ping, the problem is that the settings on this computer may prevent someone from pinging it. In the terminal input command: Ping 192.168.0.1, see the normal ping pass gateway.

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 into "Advanced Settings" and select "Inbound rules".

3. Locate the File and Printer Sharing (Echo request-icmpv4-in) option in the Getting Started rule

Look, there are two items that are not enabled. Right-click on both items and select Enable rule.

7, in the virtual machine system ping native IP

After the modification is complete, go back to the virtual machine system and enter the command in the terminal: Ping 192.168.0.111, you can see that ping is ok.

Note: The command to view IP in the Linux system is ifconfig, and the command to view IP in the Windows system is ipconfig.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.