<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-family: Verdana,宋体; font-size: 14px; padding-top: 0px"><span style="line-height: 16px; font-size: 13px">
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px"><strong style="color: rgb(188,7); font-weight: bold">三.<a style="color: rgb(188,7); font-weight: bold; text-decoration: none" class="fllink" href="http://whatis.ctocio.com.cn/searchwhatis/128/5948128.shtml" target="_bank">Host-Only模式
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px"> 在Host-Only模式下,虚拟网络是一个全封闭的网络,它唯一能够访问的就是主机。其实Host-Only网络和NAT网络很相似,不同的地方就是 Host-Only网络没有NAT服务,所以虚拟网络不能连接到Internet。主机和虚拟机之间的通信是通过VMware?<a style="color: rgb(188,7); font-weight: bold; text-decoration: none" class="fllink" href="http://whatis.ctocio.com.cn/searchwhatis/367/6093367.shtml" target="_bank">Network?Adepter VMnet1虚拟网卡来实现的。
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px">
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px" align="center">
<img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="VMware" src="https://www.52php.cn/res/2019/02-07/12/2ac88b1e497e76ff8862372d2027efe8.jpg" width="500" height="273">
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px" align="center"> Host-Only模式
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px"> 同NAT一样,VMware Network Adepter VMnet1虚拟网卡的IP地址也是VMware系统指定的,同时生成的虚拟DHCP服务器和虚拟网卡的IP地址位于同一网段,但和物理网卡的IP地址不在同一网段。
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px">
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px" align="center">
<img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="VMware" src="https://www.52php.cn/res/2019/02-07/12/9ab1054be18c5804f05257b988f299f0.jpg" width="500" height="143">
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px" align="center"> Host-Only虚拟网卡IP地址
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px">
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px" align="center">
<img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="VMware" src="https://www.52php.cn/res/2019/02-07/12/275d424446f6ad6fb7686d68a352a40b.jpg" width="500" height="144">
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px" align="center"> 物理网卡IP地址
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px"> Host-Only的宗旨就是建立一个与外界隔绝的内部网络,来提高内网的安全性。这个功能或许对普通用户来说没有多大意义,但大型服务商会常常利用这个功能。如果你想为VMnet1网段提供路由功能,那就需要使用RRAS,而不能使用XP或2000的ICS,因为ICS会把内网的IP地址改为 192.168.0.1,但虚拟机是不会给VMnet1虚拟网卡分配这个地址的,那么主机和虚拟机之间就不能通信了。
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px" align="left"> <strong style="color: rgb(188,7); font-weight: bold">综述
<p style="padding-bottom: 0px; line-height: 25px; margin: 0px 0px 16px; padding-left: 0px; padding-right: 0px; font-size: 14px; padding-top: 0px"> 在VMware的3中网络模式中,NAT模式是最简单的,基本不需要手动配置IP地址等相关参数。至于桥接模式则需要额外的IP地址,如果是在内网环境中还很容易,如果是ADSL宽带就比较麻烦了,ISP一般是不会大方的多提供一个公网IP的。