查看: 2277|回复: 4
收起左侧

[分享] VirtualBox2.2.0不能上网的解决方法

 关闭 [复制链接]
温州城掌柜
发表于 2009-4-19 17:30:40 | 显示全部楼层 |阅读模式
本帖最后由 107 于 2010-12-21 14:45 编辑
I had the same problem yesterday, and I tested so many things!!
I heard that Sun fixed the problem but it will be patched only int the next version.  

Here is two way that I found to resolve the problem:

1. Use Bridged Network:
In the network options of the virtual card, you must change the card type for bridged one.
After, you click on the little screwdriver to setup the briged connection.
You click on the network card that you want to use and it should work.

Note: using briged connection make your virtual machine visible in your network!
2. Give a static address to your Guest:
I could say that the DHCP can't have a new ip address.
So the only way to be able to use NAT is to give it a good address to make it working!

You must run your windows XP guest and change your network configuration to a static address.
Here is the address that I tryed and it worked (Found in the ticket 2405):
IP Address: 10.0.2.15
Subnet Mask 255.255.255.0
Default Gateway: 10.0.2.2
DNS Server: 10.0.2.3
Note: I have tested this solution only 5 minutes... hope that the problem will not come again!

Hope that this post helped you all!

原因是DHCP不能正常工作,是一个bug;
有两种解决方法:
1是使用桥接模式;
2是NAT模式下,设定一个静态IP地址;
IP Address: 10.0.2.15
Subnet Mask 255.255.255.0
Default Gateway: 10.0.2.2
DNS Server: 10.0.2.3

俺用第二种方法,成功上网,[:27:]
有图有真相:
1.jpg
2.jpg
3.jpg

[ 本帖最后由 温州城掌柜 于 2009-4-19 18:04 编辑 ]
gho
发表于 2009-4-20 18:33:00 | 显示全部楼层
还是继续2.1.4
ARLENE
发表于 2009-4-20 18:35:16 | 显示全部楼层
上次在WIN7下不能上网,还以为是系统问题
PS:LINUX版很正常
1e3e
头像被屏蔽
发表于 2009-4-20 20:21:16 | 显示全部楼层
学习了呀
cbk
发表于 2009-4-20 21:04:35 | 显示全部楼层
问下,系统也需要设置 10.0.2.3不?
您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2025-5-21 06:54 , Processed in 0.138637 second(s), 20 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表