1. Basic principles of bridging
Bridging is the virtual machine and host in the local area network status as the same, the logic is as follows;
But it's actually done by: (the figure from http://blog.csdn.net/qingfengtsing/article/details/39928283)
2. Bridging Network Setup methods
It is important to note that the following three network adapters (NIC) appear after VMware installation
VMnet0: This is the virtual switch that VMware uses for virtual bridging networks; (may be hidden, only appears if you click Change settings in the Virtual Network editor interface)
VMnet1: This is the virtual switch used by VMware for virtual host-only networks;
VMnet8: This is the virtual switch that VMware uses for virtual NAT networks;
(1) So set the network adapter of the virtual machine to be set to VMnet0 (can be bridged mode or VMnet0 in custom mode)
(2) After setting the above parameters, but also to modify the editing of the virtual network editor, remember to VMnet0 Bridge to host the use of the physical NIC, if the host with a wired network, and even a wired LAN, if the host with a wireless network, even wireless card. Even wrong, the virtual machine is unable to surf the internet.
(3) in the virtual machine system CentOS Set the Ifcfg-eth0 parameters can be online
Specific how to set, you can refer to http://blog.chinaunix.net/uid-26495963-id-3230810.html
VMware Bridging Network Settings