Overview: Nat link is equivalent to one or more virtual institutions to build a local area network (LAN IP is only the last one), the physical machine as a router (LAN IP is assigned by the router), the essence is to implement a LAN and router link.
Bridge is the case of a router, the virtual machine as a physical machine, the two independent to link the router (both the IP is different, are assigned by the router).
PS: I bridge the virtual machine and the physical machine without the router, the result can only be the virtual machine and the physical machine interoperability, the physical machine can link the external network, but the virtual machine is not available.
First, set up extranet Connection Sharing
Second, follow the steps set to complete, view VMnet8 IP and subnet mask
Third, set the virtual network connection mode
Open: Vmare Software----Edit the virtual network Editor--Press label settings, IP address the first three bits are the same, the next one in the 0-254 range, the subnet mask is unchanged;
Iv. setting up virtual machine link mode
Virtual machine--set--Network adapter-->nat mode
V. Setting the virtual machine IP address
Http://jingyan.baidu.com/article/86fae346d096093c49121a30.html
It has been verified that the link above is correct, just as you should be aware that the IP, subnet mask, gateway, and DNS server settings are correct.
VM Software Virtual machine Ubuntu NAT link link extranet (Background: Physical machine: Win7, extranet: cmcc-edu)