1.虚拟机的中的linux系统设置成桥接模式
2.win中的网络适配器中VMware Network Adapter VMnet8 属性(TCP/IPv4)-----属性
IP地址设置成虚拟机linux中的IP地址即可