Communication between centos6.5 network configuration (bridging mode) and host in VMware virtual machine
1. Modify the network adapter
two。 Select the network card used for bridging
3. Set up the network
3.1 enter setup in the system terminal for graphical network configuration (this command is valid only for redhat series)
The next key about selection, enter key to determine
Move the cursor over the * of Use DHCP and press the spacebar to cancel the dynamic acquisition
Enter IP, subnet mask, default gateway
Save changes
Save and launch
Quit
4. Open the eth0 network card
Enter cd / etc/sysconfig/network-scripts in the terminal
Edit the ifcfg-eth0 file vi ifcfg-eth0
Set the value of ONBOOT to yes
5. Restart the network service
Ping host test network
6. Ip of centos in host ping virtual machine