Linux VMware Workstation is only in host mode, vmwareworkstation
Only the host can implement intercommunication between the host and the virtual machine linux, and then use securecrt. Mutual File Transfer
1. Select host-only mode for the network adapter set by the virtual machine.
2. In the network adapter settings of the Host:
You can see three modes in the VMware Workstation Editor-Virtual Network editor,
VMware Network Adapter VMnet1 indicates host-only mode
VMware Network Adapter VMnet8 stands for nat Mode
VMware Workstation provides three modes for Virtual Machine linux. In addition to the above two modes, there is also a bridge mode.
Because the network adapter of the virtual machine is in host mode only, you must use VMnet1 as the NIC of the host.
Configure VMnet1 Based on the host-only mode in the virtual network Editor:
Ip address 192.168.154.2
Subnet Mask: 255.255.255.0
No gateway.
3. Configure the IP address of the NIC of the Virtual Machine linux
Nic configuration file:/etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO = static
IPADDR = 192.168.154.3
NETWORK = 192.168.154.0
BROADCAST = 192.168.154.255
NETMASK = 255.255.255.0
GAETWAY = 192.168.154.1
Run the following command:
Chkconfig NetworkManager off
Service NetworkManager stop
Service network restart