打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
解决VirtualBox虚拟机无法Ping通主机的问题(取消Windows7的防ping设...
环境:

Guest: RHEL4U8 @ VirtualBox 3.1.4
HOST: Windows 7

问题描述:
HOST可以ping通Guest,反之不行。

问题分析:
1.出现此类问题, 凭经验, 应该是由防火墙引起的。
2.关闭Windows7 自带的防火墙, 果然正常了
3.Google之,查出问题是由“Windows 7 防火墙 默认防ping”的策略引起的

解决办法:
1. 直接关闭Windows 7 系统自带防火墙(极度不推荐
2. 添加自定义策略:
a. 在控制面板中打开“Windows Firewall” (Control Panel\All Control Panel Items\Windows Firewall), 选择“Advanced Settings”
b. 右击“Inbound Rules”,选择“New Rule”,选“Custom”,下一步,选“All Programs”, 下一步,Protocol选择“ICMPv4”,下一步,设置本地和远端受限IP(根据情况设置,我这里设置 remote IP address 为IP段: 选 These IP Address,然后点Add添加Guest虚拟机所在的IP段), 下一步,默认, 下一步,默认,最后,输入防火墙规则名称和注释。
c. OK


参考此文: <http://www.sysprobs.com/enable-ping-reply-windows-7>
版权归原作者所有,仅供学习记录之用
=================================================================================

How to Enable Ping Reply in Windows 7

Ping Reply in Windows 7

Indication: Your Windows 7 computer not responding for ping requests from other network devices.
‘Request Time Out’ message from Windows 7 Computer.
Windows 7 not responding for ICMP echo requests from other network devices.
All network sharings are working but ping is not working in Windows 7, so how to enable ping reply in Windows 7?

Reasons:  By default ICMP echo request, used for ping command is blocked in Windows 7 default firewall settings.

Solutions: in two methods you can solve this ping request reply problem in windows 7.

1) Disable the firewall completely in windows 7 which is not recommended.

2) Give exception for ICMP echo request to reply ping command in existing firewall rule, without disabling it in windows 7.

 

ICMP Rule in Windows 7

To create an exception rule for ICMP echo request in default firewall in windows 7, follow the steps.
These steps are similar to enable ping in Windows Vista
Also Check how to enable ping in Windows XP

1) Go to Windows Firewall in Control panel

You can see, Windows Firewall status is On. Click on Advanced settings in left side as mentioned above.

2) Select Inbound Rule, Right clink on it and select New Rule…

3) Select Custom (Custom Rule) at last and press Next.

4) Leave All programs and go to Next.

 

 5) Click on Protocol type and select ICMP4 as shown below. ICMP4 is the protocol used in ping command when your network is communicating with IPv4. 

 

 

6) Since we are going to apply this rule for any IP, means responds to any IP addresses coming with echo request, select ‘Any IP addresses’ in next screen. You can add specific IP addresses also, if you want your windows 7 computer to respond to them only for ICMP echo request (ping )

 

7) Allow the connection in next screen, press Next.

8) Keep the all three check boxes checked in the next screen, to apply this rule any type of network you connected.

9) Give a name to this rule. This name will be showing under Inbound Rules in Windows Firewall. In future you can delete the rule by this name.

 

Click Finish.

10) That’s it; these are easy steps to enable ping in windows 7 and the rule will be immediately applied and appeared in inbound rules. Now, Windows 7 computer will be responding to ICMP echo ping requests without disabling or stopping the windows firewall.

=================================================================================
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
为了安全打开windows防火墙所有ping和访问都限制,如何单独打开ping功能呢
用高级设置法预防Ping
ping的高级用法
网络设备基本调试
Ping与Loopback
C++中实现ping功能3
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服