免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: yunqing
打印 上一主题 下一主题

[VMware] vmware 网络配置实例二 windows xp host + linux guest [复制链接]

论坛徽章:
0
51 [报告]
发表于 2004-11-10 22:48 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

改用nat方式之后可以从guest linux系统里面上网
不过我就是想搞明白,为啥用host only的方式就不能上网呢?奇怪,不知道哪里设置得不对,我看好多人也碰到了一样的状况,如果斑竹能解决了对大家也很有帮助啊

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
52 [报告]
发表于 2004-11-10 23:51 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

原帖由 "ysgl" 发表:
改用nat方式之后可以从guest linux系统里面上网
不过我就是想搞明白,为啥用host only的方式就不能上网呢?奇怪,不知道哪里设置得不对,我看好多人也碰到了一样的状况,如果斑竹能解决了对大家也很有帮助啊


汗,我原来也试host-only,结果也不行,不知道哪里错了,后来NAT可以,我就没试那么多,能用就用了,需要再来试

论坛徽章:
0
53 [报告]
发表于 2004-11-11 08:20 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

host-only方式似乎需要在本地连接的高级属性里设置连接共享。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
54 [报告]
发表于 2004-11-11 08:45 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

[quote]原帖由 "想发芽的石头"]host-only方式似乎需要在本地连接的高级属性里设置连接共享。[/quote 发表:


是的,yunming在贴子里说得很详细了,不过我没再试验 了

论坛徽章:
0
55 [报告]
发表于 2004-11-11 09:05 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

我已经做了internet连接共享的,但是就是不行,从guest linux里面不能ping通vmnet1的网关,外网什么的就更不通了;但是从host winxp 里面是可以ping通guest linux里面的eth0的。

论坛徽章:
0
56 [报告]
发表于 2004-11-11 11:22 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

请贴出
xp:
ipconfig /a
route print
linux:
ifconfig -a
netstat -rn
的结果
如果xp打过sp2,请关闭防火墙(暂时)

论坛徽章:
0
57 [报告]
发表于 2004-11-11 14:15 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

以下是winxp下ipconfig/all的输出
>;ipconfig/all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : ysg
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : bgctv

Ethernet adapter VMware Network Adapter VMnet8:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet8
        Physical Address. . . . . . . . . : 00-50-56-C0-00-08
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.2.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
VMnet1
        Physical Address. . . . . . . . . : 00-50-56-C0-00-01
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.0.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

Ethernet adapter 3Com:

        Connection-specific DNS Suffix  . : bgctv
        Description . . . . . . . . . . . : 3Com EtherLink III LAN PC Card (3C58
9B/3C589C) (Ethernet)
        Physical Address. . . . . . . . . : 00-60-97-41-A7-81
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : x.x.17.71
        Subnet Mask . . . . . . . . . . . : x.x.240.0
        Default Gateway . . . . . . . . . : x.x.16.1
        DHCP Server . . . . . . . . . . . : x.x.1.12
        DNS Servers . . . . . . . . . . . : 211.99.129.210
                                            211.99.129.211
                                            202.99.8.1
        Lease Obtained. . . . . . . . . . : 2004年11月11日 8:50:19
        Lease Expires . . . . . . . . . . : 2004年11月24日 14:29:20

论坛徽章:
0
58 [报告]
发表于 2004-11-11 14:26 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

以下是winxp里面的ping和路由的显示
C:\>;ping 192.168.0.1

Pinging 192.168.0.1 with 32 bytes of data:

Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>;ping 192.168.0.100

Pinging 192.168.0.100 with 32 bytes of data:

Reply from 192.168.0.100: bytes=32 time=62ms TTL=64
Reply from 192.168.0.100: bytes=32 time<1ms TTL=64
Reply from 192.168.0.100: bytes=32 time=11ms TTL=64
Reply from 192.168.0.100: bytes=32 time=15ms TTL=64

Ping statistics for 192.168.0.100:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 62ms, Average = 22ms

C:\>;route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 50 56 c0 00 08 ...... VMware Virtual Ethernet Adapter for VMnet8
0x3 ...00 50 56 c0 00 01 ...... VMware Virtual Ethernet Adapter for VMnet1
0x10006 ...00 60 97 41 a7 81 ...... 3Com EtherLink III LAN PC Card (3C589B/3C589
C) (Ethernet)
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     x.x.16.1   x.x.17.71       30
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0      192.168.0.1     192.168.0.1       20
      192.168.0.1  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.255  255.255.255.255      192.168.0.1     192.168.0.1       20
      192.168.2.0    255.255.255.0      192.168.2.1     192.168.2.1       20
      192.168.2.1  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.2.255  255.255.255.255      192.168.2.1     192.168.2.1       20
  x.x.123.123  255.255.255.255     x.x.16.1   x.x.17.71       30
     x.x.16.0    255.255.240.0    x.x.17.71   x.x.17.71       30
    x.x.17.71  255.255.255.255        127.0.0.1       127.0.0.1       30
   x.x.17.255  255.255.255.255    x.x.17.71   x.x.17.71       30
        224.0.0.0        240.0.0.0      192.168.0.1     192.168.0.1       20
        224.0.0.0        240.0.0.0      192.168.2.1     192.168.2.1       20
        224.0.0.0        240.0.0.0    219.236.17.71   219.236.17.71       30
  255.255.255.255  255.255.255.255      192.168.0.1           10005       1
  255.255.255.255  255.255.255.255      192.168.0.1     192.168.0.1       1
  255.255.255.255  255.255.255.255      192.168.2.1     192.168.2.1       1
  255.255.255.255  255.255.255.255    x.x.17.71   x.x.17.71       1
Default Gateway:      x.x.16.1
===========================================================================
Persistent Routes:
  None

C:\>;

论坛徽章:
0
59 [报告]
发表于 2004-11-11 14:37 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

ifconfig  -a和netstat -an的输出

抱歉,连续贴了2次都没贴上去,连ie都非法了

xp的防火墙没有开启的

Network_02.JPG (41.64 KB, 下载次数: 91)

Network_02.JPG

Network_01.JPG (48.63 KB, 下载次数: 99)

Network_01.JPG

论坛徽章:
0
60 [报告]
发表于 2004-11-11 14:39 |只看该作者

vmware 网络配置实例二 windows xp host + linux guest

linux的呢?
xp的防火墙关了,可以ping通吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP