设置 Vmware 中的 Ubuntu 为桥接模式
将Vmware中的Ubuntu设置为桥接模式的好处是,不是宿主机也可以访问Vmware中的Ubuntu,只要和宿主机在同一个网段即可。
Vmware设置
编辑 -->虚拟网络编辑器 :

选择列表中的第一个,然后更改设置 :

选择桥接模式 ,桥接到 选择电脑的物理网卡:

Ubuntu设置
Wired Settings :

点下图中被红框圈起来的图标:

选择IPv4 -->Manual ,注意,重点来了,Address 要和宿主机在同一个网段的 ,Netmask 和Gateway 与宿主机相同即可 ,关闭Automatic ,DNS 保持和Gateway 相同即可:

重启或者将网络关闭再打开即可。

版权声明: 本文为 InfoQ 作者【jiangling500】的原创文章。
原文链接:【http://xie.infoq.cn/article/8f66b8161ad95d3c63423dbe9】。文章转载请联系作者。
评论