1. Check the virtual machine is no IP address: IP addr input on the command line, as shown in FIG red frame, if no set is required.
2. Go to the directory sbin ifconfig confirm whether the installation: can be ordered [ls | grep 'if' point of view]
3. There is no need to install the net-tools, comprising the ifconfig command. You can use the command [sudo yum install net-tools] to install, the installation process asks appear are selected y.
The installation is complete, the IP address by the ifconfig view, attention is the ifconfig linux is, the windows material ipconfig