linux - 在以太网下使用xsehll 连接 wmware workstation 12 的问题。
黄舟
黄舟 2017-04-17 14:31:52
0
3
513

我的电脑连接的是以太网,我在虚拟机里面安装了一个ubuntu-server 14.04,我使用xshell 通过ssh 连接我的虚拟机(使用的是NAT模式),一直无法连接,不知道是什么原因,网上的方法都试过了,一直无法ping通,不知道有没有什么其他方法。

  1. 我的物理机的ip地址

Windows IP 配置


以太网适配器 本地连接 2:

   媒体状态  . . . . . . . . . . . . : 媒体已断开
   连接特定的 DNS 后缀 . . . . . . . : 

以太网适配器 本地连接:

   连接特定的 DNS 后缀 . . . . . . . : 
   本地链接 IPv6 地址. . . . . . . . : fe80::bc3e:e245:a221:ceb5%11
   IPv4 地址 . . . . . . . . . . . . : 172.16.34.57
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : 172.16.34.1

以太网适配器 VMware Network Adapter VMnet1:

   连接特定的 DNS 后缀 . . . . . . . : 
   本地链接 IPv6 地址. . . . . . . . : fe80::f502:70bd:d30f:6ec1%14
   IPv4 地址 . . . . . . . . . . . . : 192.168.29.1
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : 

以太网适配器 VMware Network Adapter VMnet8:

   连接特定的 DNS 后缀 . . . . . . . : 
   本地链接 IPv6 地址. . . . . . . . : fe80::5888:69a1:a0ab:56a%15
   IPv4 地址 . . . . . . . . . . . . : 192.168.134.1
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : 

隧道适配器 isatap.{6448EC3D-015F-40A5-A12B-AC67B77DA0A1}:

   媒体状态  . . . . . . . . . . . . : 媒体已断开
   连接特定的 DNS 后缀 . . . . . . . : 

隧道适配器 Teredo Tunneling Pseudo-Interface:

   媒体状态  . . . . . . . . . . . . : 媒体已断开
   连接特定的 DNS 后缀 . . . . . . . : 

隧道适配器 isatap.{0B27FBB9-49A6-441A-B894-82C1E2A6C932}:

   媒体状态  . . . . . . . . . . . . : 媒体已断开
   连接特定的 DNS 后缀 . . . . . . . : 

隧道适配器 isatap.{DFC622CD-BF41-4463-904A-43B5C39D5C01}:

   媒体状态  . . . . . . . . . . . . : 媒体已断开
   连接特定的 DNS 后缀 . . . . . . . : 

隧道适配器 isatap.{19E8FA2B-A2C8-4312-9789-E6E80222A88A}:

   媒体状态  . . . . . . . . . . . . : 媒体已断开
   连接特定的 DNS 后缀 . . . . . . . : 
  1. 在NAT模式下,我的Ubuntu的网卡信息(未修改过ip)

address 192.168.233.135
netmask 255.255.255.0
gateway 192.168.233.1

我要修改vmware的联网模式吗?网上给的大部分都是连接内网的,在以太网下面无效啊。

是不是我的vm8的 网段 和 虚拟机的不一样造成的?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(3)
伊谢尔伦

Virtual machines switch to bridging

刘奇
  1. If you use NAT, make sure of one thing

    1. The IP allocation in the configuration file corresponding to the network card in your Ubuntu is dhcp

    2. The physical host’s services VMware NAT Service and VMware DHCP Service are enabled

  2. Bridge connection is relatively simple

P.S. I don’t know if the firewall of the physical host needs to be turned off, because I have not turned on the firewall

伊谢尔伦

You can try, in the network settings, change the adapter configuration-->Ethernet-->Properties-->Sharing-->Check "Allow other network users to connect through this computer's Internet connection" .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!