|
|
发表于 2007-1-10 14:45:47
|
显示全部楼层
我刚刚搞好 , 根据google "vmware 网络配置实例二 windows xp host + linux guest"做的。vmware 6.0 beta,用host-only.
1、winxp host配置vmnet1 ,网络地址"192.168.0.1" (如果不与实际网络冲突最好不要动)。
2、vmware 中的网络设置“virtual network setting”,“auto bridge”等无关的去掉,确认vmnet1 的地址段为“”192.168.0.0“
3、gentoo中用静态上网,/etc/conf.d/net 设置参考安装手册,我的是“ config_eth0=("192.168.0.3 netmask 255.255.255.0") routes_eth0=("default gw 192.168.0.1") ”
注意加载模块modprobe pcnet32
ln -s net.lo net.eth0 /etc/init.d/net.eth0 start
然后,在winxp host 里ping 192.168.0.1 192.168.0.3 应该通。
在gentoo里ping 192.168.0.3 192.168.0.1 ,也应该通。
这时,看能不能上网。如果不能,修改/etc/resolv.conf,dns 改为 192.168.0.1(我也是瞎改的)。
搞了两天,我的能上网了。 |
|