2016-11-10:win7 CentOS6.5 Network configuration in VMware virtual machines

Source: Internet
Author: User

In a Win7 environment, use bridging and NAT mode to configure VMware Virtual machine networks to enable host and virtual machines and virtual machines to access the Internet via host network cards.

1 Configuring the VMware Virtual Network Editor VMnet0 bridging mode

VMnet1 only Host Mode

VMnet8 bridging mode, where the subnet IP configures its own desired segment and clicks on "Nat settings" to set the gateway IP

When the above setup is complete, you see the following network adapter information and IP address information in the host Win7

In order for the virtual machine to access the Internet via the host network card, the local Connection Sharing is enabled

2 VMware Add NIC device

Add using NAT mode network card, pay attention to the MAC address of the network card, after the virtual machine network configuration, NAT mode network card gateway needs to set the same as VMNET8, namely 137 network segment.

When you configure a virtual machine network, the gateway settings for the bridge mode network adapter are consistent with the host network segment, which is the 12 segment, when you add a bridge-mode NIC.

3 Configuring the Virtual machine IP address

The virtual machine hardware NIC name is the standard for the automatically generated NIC name when the virtual machine is started, and the corresponding configuration file is added. Where the DNS address is consistent with the host DNS address.

device=Eth2bootproto=staticonboot=Yestype=ethernetipaddr=  192.168. 137.80 NETMASK=255.255. 255.0 GATEWAY=192.168. 137.1 DNS1=61.139. 2.69
device=Eth3bootproto=staticonboot=Yestype=ethernetipaddr=  192.168. 12.70 NETMASK=255.255. 255.0 GATEWAY=192.168. 12.1 DNS1=61.139. 2.69

Restart the Network service and view the virtual machine NIC information, noting that the MAC address corresponds correctly to the virtual network card MAC address.

View virtual Machine Routing configuration information

Test network connectivity

Host and virtual machine shared folders

Shared File Mount Path

/mnt/hgfs/centos_share/

2016-11-10:win7 CentOS6.5 Network configuration in VMware virtual machines

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.