Conversion of NAT mode and bridging mode in VMware

Source: Internet
Author: User
Tags change settings
1. The scene installs the virtual machine, the default configuration virtual network is the NAT mode, this mode virtual opportunity shares the host IP to connect the external network, only the host can access the virtual machine, the virtual machine can also access each other, the virtual machine is in a virtual subnet! Nat mode is not available if you want other members of your LAN to access this virtual machine. Need to be changed to "bridge mode", bridge mode is equivalent to virtual machine and host is a separate LAN IP of the physical machine, the other machine in the LAN can be accessed with the virtual machine. In fact, the so-called "NAT mode" and "Bridging mode" are not so mysterious! 2. Implementation process 1) Open CentOS2) Edit 3) virtual Network Editor 4) Change settings 5) Select VMnet86) change "Subnet IP" to host the same network segment (e.g. 172.16.0.0) 7) Click "DHCP Settings" to "Start IP" "End IP" Also change to subnet IP the same network segment, OK return 8) Click "Nat Settings" to "Gateway" Change Cheng host Local Area network gateway (for example: 172.16.250.250), OK return 9) Finalize close virtual Network editor 10) return CentOS11) Right click on your virtual machine, click Settings, change the network adapter to "bridge mode", OK off 12) switch to your virtual machine, Edit the NIC Vim/etc/sysconfig/network-scripts/ifcfg-ens33//Find your network Card Profile 13) Set IP, gateway, etc. to the IP segment and gateway 14 that you just configured) restart the NIC 15) with your virtual machine: Ping Www.baidu.com, Success! 16) How to switch back (same way)

Conversion of NAT mode and bridging mode in VMware

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.