ipconfig

来源:互联网 发布:爱剪辑无法连接网络 编辑:程序博客网 时间:2024/05/01 18:42
C:\Documents and Settings\Administrator>ipconfig

Windows IP Configuration

Ethernet adapter VMware Network Adapter VMnet8:


        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 
        Subnet Mask . . . . . . . . . . . : 
        IP Address. . . . . . . . . . . . : 
        Default Gateway . . . . . . . . . :


Ethernet adapter VMware Network Adapter VMnet1:


        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 
        Subnet Mask . . . . . . . . . . . : 
        IP Address. . . . . . . . . . . . :
        Default Gateway . . . . . . . . . :


Ethernet adapter 无线网络连接:


        Media State . . . . . . . . . . . : Media disconnected


Ethernet adapter 本地连接:


        Connection-specific DNS Suffix  . :
        Autoconfiguration IP Address. . . : 
        Subnet Mask . . . . . . . . . . . : 
        IP Address. . . . . . . . . . . . : 
        Default Gateway . . . . . . . . . :


PPP adapter Dr.COM:


        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 
        Subnet Mask . . . . . . . . . . . : 

        Default Gateway . . . . . . . . . : 




Tunnel adapter Teredo Tunneling Pseudo-Interface:


        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 
        Default Gateway . . . . . . . . . :


Tunnel adapter Automatic Tunneling Pseudo-Interface:


        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 
        Default Gateway . . . . . . . . . :


Tunnel adapter Automatic Tunneling Pseudo-Interface:


        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . :
        Default Gateway . . . . . . . . . :


Tunnel adapter Automatic Tunneling Pseudo-Interface:


        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 
        Default Gateway . . . . . . . . . :


Tunnel adapter Automatic Tunneling Pseudo-Interface:


        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 

        Default Gateway . . . . . . . . . :

【VM】Ethernet adapter VMware Network Adapter (2011-11-29 19:28:52)转载

先来看看ipconfig本机的结果:

Ethernet adapter VMware Network Adapter VMnet8:
        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.28.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:192.168.28.1
        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.44.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :
Ethernet adapter 本地连接:
        Media State . . . . . . . . . . . : Media disconnected
Ethernet adapter 无线网络连接:
        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.1.94
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1


可以看到:目前没有本地连接,有一个无线网络连接,以及两个同虚拟机有关的连接。
查询VMware相关知识,得知:

VMware 的几个虚拟设备:
VMnet0:这是VMware 用于虚拟桥接网络下的虚拟交换机;
VMnet1:这是VMware 用于虚拟Host-Only 网络下的虚拟交换机;
VMnet8:这是VMware 用于虚拟NAT 网络下的虚拟交换机;
VMware Network Adapter VMnet1:这是Host 用于与Host-Only 虚拟网络进行通信的虚拟网卡;
VMware Network Adapter VMnet8:这是Host 用于与NAT 虚拟网络进行通信的虚拟网卡;

上篇中rmi服务能够连接到VMnet8的ip地址192.168.28.1,即Host 用于与NAT虚拟网络进行通信的虚拟网卡地址。
虚拟机的三种网络连接方式(bridge, NAT, host-only)很多年前就学过了,依然不是很懂。在网上查到关于NAT的一些解释:Host 上的VMware Network Adapter VMnet8 虚拟网卡在这里扮演了一个什么角色呢?它仅仅是为Host 和NAT 虚拟网络提供了一个通信接口。
大致是rmi将服务挂在了host上了?
原创粉丝点击