关于VMWARE中,PING不通网关,但可以PING通物理机(桥接模式)

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
hbaolong
帖子: 44
注册时间: 2007-07-08 12:02

关于VMWARE中,PING不通网关,但可以PING通物理机(桥接模式)

#1

帖子 hbaolong » 2007-12-19 11:43

以下的我的现象:
我的NB是T60,双网卡:一个有线,一个无线。
物理机是UBUNTU 8.04,虚拟机是WINDOWS XP.
两个网卡:有线是eth0 无线是eth1,网络是DHCP
虚拟机也启用了两个网卡,都是桥接模式。

当我使用有线时,VMWARE很正常,XP能够获得IP,并正常 上网。
但当我使用无线时,则,XP不能获得IP。当我强制设置一个IP(和物理机是同一个网段)时,XP可以PING通我的物理机,
但不能PING通网关。


谢谢。
zhxujun
帖子: 36
注册时间: 2007-11-22 20:01

#2

帖子 zhxujun » 2008-01-05 11:56

vmware workstation 对无线网卡的桥接问题,找了一天才找到解决方案:
http://ubuntuforums.org/showthread.php?t=574427

works for me...
anyway.. here is the interesting part:
(1) Download Hauke-m's patched vmnet.tar file from here:

http://www.hauke-m.de/fileadmin/vmware/vmnet.tar

(2) Go to /usr/lib/vmware/modules/source and rename the original vmnet.tar to vmnetOLD.tar or something like that.

(3) Copy Hauke-m's patched vmnet.tar to /usr/lib/vmware/modules/source/.

(4) Run vmware-config.pl.

That should do it.
------------------------------------------------------------------------------------------

P.S. 通过后发现虚拟机guest os运行变得巨慢,不用急:
viewtopic.php?t=62195&sid=495a871d9c34d ... 546b2c4c97

代码: 全选

代码:
cat /sys/module/processor/parameters/max_cstate

我的笔记本里这个值是8,解决方法很简单,只要一行命令:
代码:
echo 1 > /sys/module/processor/parameters/max_cstate
[/code]

PS:最好加在/etc/rc.local中。
附件
vmnet(2).tar
vmnet.tar
ubuntu8.04 2.6.24-20-generic
vmware-workstation 6.03 build-80004
(520 KiB) 已下载 94 次
回复