One, installs the vmwareworkstation and installs the Redhat virtual machine, here installs the procedure to omit, the network information is very many, the heroes are inferior to Baidu or the Google. A lot of information.
Second, open the local computer "network connection", you will find that 2 more network adapters: VMnet1 and VMnet8, the following we will be in the vmwareworkstation to remove the 2 network adapters.
Third, select "Edit"--"virtual network Editor", open the Virtual Network Card Editor dialog box, remove all the virtual networks inside, and then click on the "Apply" button to make the operation take effect.
Four, select the computer on the desktop, right-click the "Manage (G)" menu, open the "Computer Network" dialog box.
V. Select the Device Manager menu and right-click on "aaric-pc". Select Add Obsolete hardware (L), and then open the Join Hardware dialog box.
Six, the "Join Hardware" dialog box. Click "Next" button.
Seven, select "Install I manually select hardware from the list (Advanced) (M)", click "Next" button.
Eight, select "Network Adapter", click "Next" button.
Nine, manufacturers select "Microsoft", the network adapter select "Microsoftloopback Adapter", click "Next" button.
Click "Next" button. Install the "Microsoft Loopback Adapter" network adapter.
Xi. Open the Computer Management dialog box, in Device Manager, we can see the network adapter just joined.
12, in the "Network Connection" Panel, we can see just joined to the network adapter, here I changed the name to "virtual Machine Private Connection" (renaming is not required).
13. Right-click on "Virtual machine Private Connection" to select "Properties". Add a static IP address to the network adapter, where I set the IP to 192.168.54.1, the subnet mask is set to 255.255.255.0. For example, the following are my settings
14. Open the Virtual Network Editor dialog box in VMware Workstation, where we need to join a new network. Click on "Join Network (L) ..." button, select bridging mode and bridge to our new
Network adapter (Microsoft Loopback Adapter).
To switch to the CentOS virtual machine that we have installed, click "Edit Virtual machine settings" in the panel, open the "Virtual Machine Settings" dialog box, change the connection of the network adapter to "own definition", select the one we just established
Virtual Network (VMNET0).
I'm installing Redhat.
16. Enter Ifconfig under Linux, and you cannot see the IP at this time.
Next Run Vi/etc/sysconfig/network-scripts/ifcfg-eth0, open the file, found that the file is empty, this is because the previous steps to remove the file.
Enter the following information in this file:
Device=eth0
Onboot=yes
Bootproto=static
ipaddr=192.168.1.8
netmask=255.255.255.0
gateway=192.168.1.1
The ipaddr are set according to their own needs.
I set the IP for the virtual machine private network in front of the 54 segment. Here, my ipaddr setting is 192.168.54.100,gateway setting is 192.168.54.1
After Setup is complete. Save exit.
Enter Ifconfig again at this point and you will be able to see the IP address.
Enter setup, and you can see the information you just set up in "EDIT DEVICES".
Native IP Settings succeeded
For example, here's my configuration:
17. Turn off the Linux firewall
Service Iptables Stop
Chkconfig iptables off
18. Start the SSH service
Service sshd Start
19, in Windows. Opens a command line that appears for example the following information
C:\users\administrator>ping 192.168.54.100
Pinging 192.168.54.100 with 32 bytes of data:
Reply from 192.168.54.100: Byte =32 time <1ms ttl=64
Reply from 192.168.54.100: Byte =32 time <1ms ttl=64
Reply from 192.168.54.100: Byte =32 time =1ms ttl=64
Reply from 192.168.54.100: Byte =32 time <1ms ttl=64
Indicates successful connection
20, at this time through the Xshell again connected to the local Linux, will be successful.
Linux series-xshell Connecting a local VMware-installed Linux virtual machine