Modify the configuration file, you now just add the hardware on the virtual machine, but the system does not have a NIC configuration file. Modified file:
/etc/sysconfig/network-scripts/ifcfg-interface-name
The configuration file Infcfg-interface-name contains most of the details required to initialize the interface. Which Interface-name will be based on the type of network card and sorting, and generally its name is eth0, eth1, Eth2, Ppp0, and so on, where the ETH represents the Ethernet type network card, 0 for the first network card, 1 for the second network card, and so on. PPP0 represents the first Point-to-Point Protocol network interface.
is that you first in the virtual machine to add a good network card, and then go to Linux to modify the above mentioned etc network card configuration file. You can see there is a eth0, you copy a change to eth1, and then use VI to open the inside of the IP address and other information modified after the save on it.