`

VMware/VirtualBox:host-only方式网络设置

    博客分类:
阅读更多
<!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->一、添加本地连接的"internet 连接共享"
 
网络连接 
--> 本地连接 --> 属性 --> “高级”选项卡 --> internet 连接共享 --> 勾选
家庭网络连接 
--> 选择“VMnet1”
 
此时,VMnet1的ip地址被设为:
192.168.0.1
 
二、设置VM linux的ip。
 
ip设为:从 
192.168.0.1 到 192.168.0.254 之间的某一值
submask设为:
255.255.255.0
gateway设为:
192.168.0.1
dns server设为:
192.168.0.1
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics