Linux VMware Workstation is only in host mode, vmwareworkstation

Source: Internet
Author: User

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.