Differences between the bridge mode and the NAT Mode

Source: Internet
Author: User

Bridged networking (Bridging Mode)
In this mode, the Virtual Operating System of VMware is like an independent host in the LAN, which can access any machine in the network. In the bridge mode, you need to manually configure the IP address and subnet mask for the virtual system, and also need to be in the same network segment as the host machine, so that the virtual system can communicate with the host machine. At the same time, After configuring the gateway and DNS address, you can access the Internet through the LAN gateway or router.

Network Address Translation (NAT Mode)
The Nat mode enables the virtual system to use the NAT (Network Address Translation) function to access the public network through the network of the host machine. That is to say, you can use the NAT mode to access the Internet in a virtual system. In Nat mode, the TCP/IP configuration information of the virtual system is provided by the DHCP server of the vmnet8 (NAT) Virtual Network and cannot be modified manually, therefore, the virtual system cannot communicate with other real hosts in the local area network. The biggest advantage of using the NAT mode is that it is very simple for a virtual system to access the Internet. You only need the host machine to access the Internet. You do not need to configure IP addresses, subnet masks, and gateways, however, the DNS address must be specified based on the actual situation. In addition to entering the DNS address in the NIC attribute, you can also click Edit in the NAT tab of the virtual network editor in the virtual machine.

If you only allow virtual machines to access the Internet in either of the two modes, you can use bridging as long as you have a valid address in the LAN. For example, your ADSL cat has a routing function, if it is in the Organization, it is necessary for the network administrator to give you a valid IP address (now the company is bound to Mac and IP addresses ).
Now the host and virtual machine are interconnected. If your ADSL has the routing function, disable DHCP for the virtual machine, select bridging, check whether the two machines are allocated IP addresses in the same network segment, and disable the firewall.

Differences between the bridge mode and the 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.