VM Linux is not available online

Source: Internet
Author: User

Virtual machine Linux Nat way online graphic explanation

Virtual Machine Linux under the NAT Internet mode is not the same as Windows, the Windows system as long as the direct selection of NAT Internet access, no additional configuration, and Linux to use the NAT way to the Internet need to make additional settings. The following graphics and text tutorials, I think it is more refined, the idea is very clear, I hope that the new contact with Linux friends have helped.


Click the Virtual Machine Menu: Edit---Edit the virtual network and select the Nat tab.

View local IP Address method: Start----run--cmd input: Ipconfig/all

VMware offers: bridging, Host only, and NAT three modes of networking. I personally think that the NAT method is simpler, with him to share the host's IP, suitable for the kind of each host only allow one IP. The specific configuration is as follows:

1. The VMware Network connection chooses the NAT mode.
2. See the Vmnet8,nat gateway configured as 192.168 in the NAT entry in the VMware Network configuration. X. 2.
3, in Windows, see any network connection, you should find in addition to the original network card, there are more Vmnet1 and Vmnet8. Vmnet1 is the interface of Hostonly, and VMNET8 is the network interface of the NAT that we are going to use.
4, on the Windows host with ipconfig view VMnet8 IP address, is generally 192.168. X. 1. At this time VMNET8 configuration should be automatic acquisition of IP, now to static IP, and this IP directly into the VMNET8, no gateway.
6, under Linux to configure the network card IP and VMnet8 a network segment of the IP (192.168. X. z/255.255.255.0)
7. Under Linux, the gateway is configured as the IP192.168 that was just viewed. X. 2.
8. DNS and Windows host are the same under Linux.
9. Run Command service network Restart under Linux to restart the Linux Web service.
10, Ping 192.168.x.1 under Linux, after the success of Windows Ping 192.168.x.z confirmed that the host and virtual machines have been able to access each other, now also enable virtual machine sharing host IP network.

VMware under Redhat Linux 5 using NAT shared host IP Internet access

1. Install VMware Workstation.

2, install the guest system, here I installed red Hat Linux5, the installation process to ensure that the network connection selected is the NAT mode, of course modifications can be made after the installation is complete.

Vmnet8. Vmnet1 is the interface of Hostonly, and VMNET8 is the network interface of the NAT that we are going to use.

3, to Windows XP, to see all the network connection, you should find in addition to the original network card, there are more Vmnet1 and

4, in the win host with ipconfig view VMnet8 IP address, is generally 192.168.x.1/255.255.255.0, at this time the VMnet8 settings should be automatically acquired IP, now changed to static IP, and this IP directly filled in VMnet8, Do not set a gateway.

5, at the same time in the VM network settings in the NAT view VMnet8, generally 192.168.x.2/255.255.255.0 this address is Vmnet8,nat gateway.

6, now under the Linux network card IP set to and VMnet8 a network segment IP (192.168.x.z/255.255.255.0)

7, the gateway is set to just look at the ip192.168.x.2 can.

8, DNS and your host hosts the same can be.

9. After the setup is complete, restart the Linux network service.


Linux commands
Netconfig Setting IP

Ifconfig view

Reboot restart

Services Network restart (restart network)

----------------------------------------------------

The next should be on Linux, you can surf the internet!

 

VM Linux is not available online

Related Article

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.