在安装好Linux虚拟机后首先配置你自己ip地址
用[root@baby ~]# ifconfig eth0 192.168.***.***
####在这里eth0表示你的网卡,ip地址如果自己没有配置自己的VMware Virtual Ethernet Adapter for VMnet8的虚拟网卡的话
用[root@baby ~]# ifconfig eth0 192.168.***.***配置一个就可以直接连接
但是如果你配置过自己的网络的话,更改ip时一定要跟你自己的VMware Virtual Ethernet Adapter for VMnet8网卡同一个网段
不然即是你的主机能够ping通虚拟机Linux也不能使用SecureCRT远程连接
会提示无法访问主机的标志
另外一种方法
利用Linux命令setup进入配置
进入Network conf iguration
选择第一个配置我们的网卡
选择eth0 。如果你有两个网卡的话,随机配置一个即可
在这里让他自动分配即可,在Use DHCP按空格键,如果出现 * 就可以了
然后用tab键来返回用方向键是没用作用的
最后在输入命令[root@baby ~]# ifup eth0
让他重新自动获取ip地址即可
如果此办法不通的话,请关闭自身的防火墙[root@baby ~]# service iptables stop命令关闭