VMware networks using NAT mode

Source: Internet
Author: User

Company's network, to install a Linux virtual machine locally, but only to the host one IP, then how to implement the network access of the Linux virtual machine?

Use NAT mode: This is the virtual switch that VMware uses for virtual NAT networks.

1. Set the network connection mode

2. Open the Virtual network editor

3. Define the network segment

4. Setting up the Gateway

5. Enter the host configuration network

[Email protected] ~]# Cat/etc/sysconfig/network-scripts/ifcfg-eth0 device=eth0type=ethernetonboot=yesnm_ Controlled=yesbootproto=staticipaddr=192.168.71.2netmask=255.255.255.0gateway=192.168.71.1ipv6init=nouserctl= No

6, host VMware network Adapter VMnet8 NIC configuration

7. Linux Virtual Machine Network check

Ping 192.168.71.1 General for next step

Ping host (host IP) General OK, you can access the network through the host.

If the host uses a proxy to surf the Internet, the Linux virtual machine should also configure the proxy.

Http_proxy= "http://192.168.220.2:88" https_proxy= "http://192.168.220.2:88"

8. Host access to Linux virtual machine

Ping the 192.168.71.2 on the host, the general rule is normal.

Then ssh the remote connection test.

9. Nat settings can also be port-mapped

VMware networks using NAT mode

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.