vmware中cent os6.5使用桥接模式连接网络

 

 

 

使用环境:

vmware 11

cent os 6.5

使用桥接模式步骤:

1、选择桥接模式

vmware中cent os6.5使用桥接模式连接网络

 

 

2、在虚拟网络编辑器中修改模式

vmware中cent os6.5使用桥接模式连接网络

 vmware中cent os6.5使用桥接模式连接网络

vmware中cent os6.5使用桥接模式连接网络

这里的设备选择哪个可以在宿主机(win10系统)中查看到

打开vmware中cent os6.5使用桥接模式连接网络

vmware中cent os6.5使用桥接模式连接网络

双击vmware中cent os6.5使用桥接模式连接网络此图标

 

点击详细信息

vmware中cent os6.5使用桥接模式连接网络

vmware中cent os6.5使用桥接模式连接网络

3、查看宿主机的ip地址和网关

vmware中cent os6.5使用桥接模式连接网络

4、进入cent os系统修改网卡配置文件

vim /etc/sysconfig/network-scripts/ifcfg-eth0

vmware中cent os6.5使用桥接模式连接网络

 

5、

在网络配置文件中添加网关地址。

  vi  /etc/sysconfig/network 

vmware中cent os6.5使用桥接模式连接网络

 

6、重启网络服务

 service network  restart

vmware中cent os6.5使用桥接模式连接网络

 

重启成功

 

7、测试

(1)在cent os中ping宿主机

vmware中cent os6.5使用桥接模式连接网络

ping成功

(2)在宿主机中ping   cent os的ip地址

vmware中cent os6.5使用桥接模式连接网络

ping成功

 

那么就大功告成了。。。。。。。。。。。哈哈