VirtualBox cannot ping Windows7 (host), Ubuntu (guest)

本文介绍了解决Ubuntu虚拟机与Windows主机间无法互相Ping通的问题。通过更改Ubuntu虚拟机网络设置,将适配器从NAT模式改为桥接模式,使Ubuntu能够获取到主网络地址,从而实现Ubuntu与Windows之间的网络互通。

Question:I have successfully installed a Ubuntu 11 OS on VirtualBox with Windows 7 as host.

The Ubuntu guest is able to navigate on the Internet but I'm not able to ping the guest from the host and vice-versa.

I need this working because I have to test a client/server application.

Any ideas how to fix it?


Answer:

1.Shut my guest down;

2.Go to the Guest's network settings and in the Adapter settings change the Attached to: NAT toAttached to: Bridged Adaptor.

3.Start your guest

At present times, guest should pick up an address from your main network.

微笑


评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值